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

faster CI, that runs on main (meaning we can enforce branches are up to date) #91

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

cafkafk
Copy link
Member

@cafkafk cafkafk commented Oct 5, 2024

This adds faster CI leveraging the GitHub actions cache via DetSys magic nix cache. It also improves conditions for running CI checks, making checks run on the main branch allowing us to setup branch protection rules to ensure PRs are up to date before being merge.

This will prevent situations like #87 from happening where CI checks have been added but the base branch is so old that it does not contain them yet.

@cafkafk cafkafk changed the title faster CI, check outdated branches faster CI Oct 5, 2024
Signed-off-by: Christina Sørensen <[email protected]>
@cafkafk cafkafk marked this pull request as ready for review October 5, 2024 05:46
@cafkafk cafkafk mentioned this pull request Oct 5, 2024
@cafkafk cafkafk changed the title faster CI faster CI that runs on main (meaning we can enforce branches are up to date) Oct 5, 2024
@cafkafk cafkafk changed the title faster CI that runs on main (meaning we can enforce branches are up to date) faster CI, that runs on main (meaning we can enforce branches are up to date) Oct 5, 2024
Signed-off-by: Christina Sørensen <[email protected]>
@cafkafk
Copy link
Member Author

cafkafk commented Oct 6, 2024

vm-tests seems to fail by opening too many files, making vault loop until it times out getting certs. May be because of the magic nix cache taking up some of those file descriptors, or maybe this is behavior that has been seen before? #90 mentions vault being flakey here, is that related?

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.

1 participant