Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: run instance-manager workflow on PR for feature branches #160

Merged
merged 3 commits into from
Jul 17, 2023

Conversation

radnov
Copy link
Contributor

@radnov radnov commented Jul 11, 2023

This PR enables running the updated Build, test and deploy workflow on PRs and only deploy when the deploy label is present (either initially added when creating the PR or after the PR was already created), as well as adds a new Delete environment that deletes a deployed environment when the PR is closed/merged. Note that the behaviour of the "Build, test and deploy" workflow remains the same for pushes to master, as well as creating new tags.

See dhis2-sre/im-manager#318 for more details.

@radnov radnov force-pushed the feature/DEVOPS-262 branch 2 times, most recently from 37ae860 to 06d786c Compare July 11, 2023 11:25
@radnov radnov force-pushed the feature/DEVOPS-262 branch 3 times, most recently from 568b582 to 6bf2455 Compare July 13, 2023 06:57
@radnov radnov added the deploy Used to toggle deploying PR branches to the "feature" env. label Jul 13, 2023
@radnov radnov added deploy Used to toggle deploying PR branches to the "feature" env. and removed deploy Used to toggle deploying PR branches to the "feature" env. labels Jul 14, 2023
@radnov radnov merged commit 31c0c2c into master Jul 17, 2023
2 checks passed
@radnov radnov deleted the feature/DEVOPS-262 branch July 17, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Used to toggle deploying PR branches to the "feature" env.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants