Overhaul our github actions for better dep updates & testing#8814
Draft
aarongable wants to merge 1 commit into
Draft
Overhaul our github actions for better dep updates & testing#8814aarongable wants to merge 1 commit into
aarongable wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is based on the recommendations at https://words.filippo.io/dependabot/
Create a new github action which runs on a daily cron. It checks out Boulder, then updates all of our dependencies (go, DOCKERFILE, and docker-compose), then actually runs the tests. If this fails, then it indicates to us that one of our dependencies has introduced a breaking change, and we need to investigate. GitHub's action notification mechanism will let us know. This requires a new script which can parse our docker-compose file, look for newer versions of our images, and write them back to the file. This script was written by an LLM.
Move the govulncheck action out of CI and into this scheduled cron workflow. It's very annoying when govulncheck blocks unrelated PRs, so moving it out of the CI workflow makes sense. And our "all CI jobs must pass" job wasn't depending on the result of govulncheck anyway.
With those new actions established, simplify our dependabot config. Now it will only ever open PRs to update certain go dependencies that we know we always want to take the latest version of: those we maintain ourselves, plus the PSL and ZLint. At the same time, reorganize the dependabot config to have consistent ordering and formatting between the three major stanzas.
While we're here, make other minor fixes to our various workflows, such as standardizing stanza order, fixing bad indentation, updating the name we use for hotfix release branches, etc.