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

Ensure concurrency control for canary and release workflows #3243

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

kichristensen
Copy link
Contributor

@kichristensen kichristensen commented Nov 2, 2024

What does this change

Since Git tags and GitHub releases are created automatically, concurrent releases are not supported. This PR ensures that canary releases and stable releases do not run simultaneously. If another release is triggered during an ongoing release, it will wait for the current release to complete.

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you change porter.yaml or a storage document record? Update the corresponding schema file.
  • If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇‍♀️

- Added concurrency configuration to `porter-canary.yml` to prevent multiple canary releases from running simultaneously.
- Added concurrency configuration to `porter-release.yml` to prevent multiple releases from running simultaneously.

Signed-off-by: Kim Christensen <kimworking@gmail.com>
@kichristensen kichristensen marked this pull request as ready for review November 2, 2024 22:11
@schristoff schristoff merged commit 22170ca into getporter:main Nov 13, 2024
40 checks passed
@kichristensen kichristensen deleted the releaseConcurrency branch November 15, 2024 23:11
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.

2 participants