-
Notifications
You must be signed in to change notification settings - Fork 37
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
Remediate and assess CircleCI config #943
Comments
I can take a look here — it looks like the deployment docker image 18fgsa/cloud-foundry-cli hasn’t been published for 2 years, which might be leading to our intermittent failures. |
This is the cloudfoundry plugin being used for the instance recycling: https://github.com/rogeruiz/cf-recycle-plugin And here's what a failure, time-out after ~5 hours, looks like in CircleCI: https://circleci.com/gh/18F/tock/5391 |
Confirmed the hunch — intermittent failures are due to conflicting Conflicting jobs happen often because the Short-term fix: merge master into Long-term fix: prevent concurrent running jobs from conflicting with each other. I’ll do a bit of poking about here, but will time box it. |
I’ve merged master to
Going to consider this issue complete after tomorrow morning’s restart completes without error (assuming it does). |
🎉 No more conflicting job runs! |
Starting down the process of upgrading the CF CLI to see if it fixes the issue, but
There is an equivalent and more recently maintained plugin, cf-rolling-restart, which works with the newer CLI as well as the older one. I’ll open a PR to switch over to this plugin to see if we have better results, and hold off upgrading the CF CLI for now in the spirit of only changing one thing at a time. |
@adunkman I should have marked this "done", not "to-do", right? |
I believe it is complete! |
It's been awhile since we've revisited our circleCI setup for releases, testing, and recycling of the production instance.
Let's take a look at
config.yml
to address two known issue and see if there are opportunities to simplify, modernize, or otherwise improve our usage of circleCI.Known issues
recycle_production
job is executing on branches other thanmaster
recycle_production
job intermittently failsWe'll know we're done when
config.yml
has been reviewed and updated if necessaryThe text was updated successfully, but these errors were encountered: