Skip to content

Disallow implicit deployment environment selection#241

Merged
OpsBotPrime merged 3 commits intomasterfrom
riscky/deploy-always-env
Oct 26, 2023
Merged

Disallow implicit deployment environment selection#241
OpsBotPrime merged 3 commits intomasterfrom
riscky/deploy-always-env

Conversation

@Riscky
Copy link
Copy Markdown

@Riscky Riscky commented Oct 25, 2023

This disallows merge and deploy without specifying an environment, if multiple deployment environments are configured.
For repositories with no or a single configured deployment environment, nothing changes.
I added tests for this behavior.

@Riscky Riscky requested a review from robbert-vdh October 25, 2023 13:40
Copy link
Copy Markdown
Member

@robbert-vdh robbert-vdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I have a small style suggestion and it would be nice to have just one more test for merge and deploy on friday (since that test got removed now).

Comment thread src/Logic.hs Outdated
Comment thread tests/Spec.hs
@Riscky Riscky requested a review from robbert-vdh October 26, 2023 12:11
Copy link
Copy Markdown
Member

@robbert-vdh robbert-vdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Could you also add an entry to the changelog? (I know it's very easy to 😅)

@Riscky Riscky force-pushed the riscky/deploy-always-env branch from c353fe2 to 50b8ee6 Compare October 26, 2023 12:24
@Riscky
Copy link
Copy Markdown
Author

Riscky commented Oct 26, 2023

@OpsBotPrime merge

@OpsBotPrime
Copy link
Copy Markdown

Pull request approved for merge by @Riscky, rebasing now.

Approved-by: Riscky
Auto-deploy: false
@OpsBotPrime
Copy link
Copy Markdown

Rebased as 3ebb989, waiting for CI …

@OpsBotPrime
Copy link
Copy Markdown

CI job 🟡 started.

@OpsBotPrime OpsBotPrime merged commit 3ebb989 into master Oct 26, 2023
@OpsBotPrime OpsBotPrime deleted the riscky/deploy-always-env branch October 26, 2023 12:34
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