Skip to content

ci: configure max concurrent GHA jobs #4134

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

Merged

Conversation

calebcartwright
Copy link
Member

No description provided.

# There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
# In order to prevent overusing too much of that 60 limit, we throttle the
# number of rustfmt jobs that will run concurrently.
max-parallel: 4
Copy link
Member Author

Choose a reason for hiding this comment

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

all told these config changes should limit us to a max of 7 concurrent jobs (per trigger) which should be fine for our purposes. I wish that GitHub supported this config as a repository setting instead of it being scoped to each individual matrix, but perhaps one day...

@calebcartwright
Copy link
Member Author

The failure on the error-chain integration job is spurious (plus there's no code changes in this PR anyway):

+ git clone --depth=1 https://github.com/rust-lang-nursery/error-chain.git
Cloning into 'error-chain'...
fatal: unable to access 'https://github.com/rust-lang-nursery/error-chain.git/': Could not resolve host: github.com
##[error]Process completed with exit code 128.

@calebcartwright calebcartwright merged commit 2c4ec8f into rust-lang:master Apr 21, 2020
@calebcartwright calebcartwright deleted the update-cargo-aliases branch April 21, 2020 23:35
@topecongiro
Copy link
Contributor

Thanks!

@karyon
Copy link
Contributor

karyon commented Oct 25, 2021

backported in #4436

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

Successfully merging this pull request may close these issues.

3 participants