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

Dbp-1067-optional-rollout-prevention #92

Merged
merged 34 commits into from
Dec 27, 2024

Conversation

maxi418
Copy link
Contributor

@maxi418 maxi418 commented Nov 28, 2024

Description

Adds an optional deployment blocker to the pipeline for branches that have an open pull request. The blocker is implemented via the label prevent_auto_deployment. To stop automatic deployments the label has to be added to the pull request.

Links to Tickets or other PRs

Notes

Approval for review

  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

@maxi418 maxi418 added the prevent_auto_deployment Setting this label prevents automatic deployments of the dev pipeline label Nov 28, 2024
@maxi418 maxi418 self-assigned this Nov 28, 2024
@maxi418 maxi418 closed this Nov 28, 2024
@maxi418 maxi418 reopened this Nov 29, 2024
@maxi418 maxi418 closed this Nov 29, 2024
@maxi418 maxi418 reopened this Nov 29, 2024
@maxi418 maxi418 removed the prevent_auto_deployment Setting this label prevents automatic deployments of the dev pipeline label Nov 29, 2024
@maxi418 maxi418 added the prevent_auto_deployment Setting this label prevents automatic deployments of the dev pipeline label Nov 29, 2024
@maxi418 maxi418 removed the prevent_auto_deployment Setting this label prevents automatic deployments of the dev pipeline label Nov 29, 2024
@maxi418 maxi418 closed this Nov 29, 2024
@maxi418 maxi418 reopened this Nov 29, 2024
@maxi418 maxi418 requested a review from a team November 29, 2024 15:15
@maxi418 maxi418 marked this pull request as ready for review November 29, 2024 15:15
@maxi418 maxi418 added the prevent_auto_deployment Setting this label prevents automatic deployments of the dev pipeline label Dec 19, 2024
@maxi418 maxi418 removed the prevent_auto_deployment Setting this label prevents automatic deployments of the dev pipeline label Dec 19, 2024
@maxi418 maxi418 requested review from simoncolincap, aimee-889 and a team December 19, 2024 12:55
@maxi418 maxi418 merged commit b62e91d into main Dec 27, 2024
26 checks passed
@maxi418 maxi418 deleted the DBP-1067-optional-rollout-prevention branch December 27, 2024 09:42
HKayed pushed a commit that referenced this pull request Jan 14, 2025
* Test getting PR labels

* remove pr event condition

* test env var

* rename env var

* add github authentication

* use github_token

* prevent failing without existing PR

* edit env var

* has pr condition

* remove dot

* test clearance

* correct var name

* test push

* debug output

* test output

* test output

* new name

* test output

* correct variable for output

* remove debugging steps

* correct condition

* test new condition

* test

* test

* new condition

* remove quotation marks

* test condition

* test output

* new condition

* rename to deployment

* remove test output

* update default for database_recreation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants