I was trying to write a little bit more clever config.yml script. Basically my idea is to
- Run script to check how many running builds are in progress (using Circle API)
- If there are none - bump parallelism to maximum value
- If there is at least one - leave default value
Do you think it’s possible? I was trying to update file after checkout command - but at this point Circle already reserve containers.
Maybe somehow use Git hooks?