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

Add concurrent group for init #703

Merged
merged 2 commits into from
Mar 19, 2024
Merged

Add concurrent group for init #703

merged 2 commits into from
Mar 19, 2024

Conversation

Sbozzolo
Copy link
Member

Ensures that only one init job is run at the same time across pipelines.

With this, only one of this jobs can be running at the same time (across
pipelines)
@Sbozzolo Sbozzolo requested a review from LenkaNovak March 19, 2024 16:06
@LenkaNovak
Copy link
Collaborator

Looks good, but how do I know it's working? 🤔

@Sbozzolo
Copy link
Member Author

Just start two pipelines at the same time (e.g., from the web interface). You should see that one will be waiting for an agent until the other one has finished (the init step)

Copy link
Collaborator

@LenkaNovak LenkaNovak left a comment

Choose a reason for hiding this comment

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

Sounds good, tried and tested. Thank you, @Sbozzolo !

@Sbozzolo
Copy link
Member Author

Thanks for testing!

@Sbozzolo Sbozzolo enabled auto-merge March 19, 2024 18:42
@Sbozzolo Sbozzolo merged commit 6d692f0 into main Mar 19, 2024
7 checks passed
@juliasloan25 juliasloan25 deleted the gb/concurrent_group branch March 19, 2024 23:01
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