-
Notifications
You must be signed in to change notification settings - Fork 50
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
Reduce GitLab CI pipeline depth #577
Commits on Apr 11, 2024
-
test: rename configure-generators to generate-gitlab-ci
We will use this script to generate the whole CI config.
Configuration menu - View commit details
-
Copy full SHA for adc2384 - Browse repository at this point
Copy the full SHA adc2384View commit details -
test/generate-gitlab-ci: add top-level stages to base config
Add the init, verify, and finish jobs to the base config, so that we can generate the top-level gitlab-ci config with all the stages we need.
Configuration menu - View commit details
-
Copy full SHA for 14000e9 - Browse repository at this point
Copy the full SHA 14000e9View commit details -
test/generate-gitlab-ci: make config stable
Sort the image configurations so that the generator is stable.
Configuration menu - View commit details
-
Copy full SHA for 95edcab - Browse repository at this point
Copy the full SHA 95edcabView commit details -
gitlab: replace gitlab-ci.yml with the generated one
Check in the generated gitlab-ci.yml so it becomes the top-level CI config.
Configuration menu - View commit details
-
Copy full SHA for a98b5eb - Browse repository at this point
Copy the full SHA a98b5ebView commit details -
tools/prepare-source: generate .gitlab-ci.yml
Generate .gitlab-ci.yml when running prepare-source. This will make sure we catch any changes to image configurations (distros, arches, image types) that aren't reflected in the CI config.
Configuration menu - View commit details
-
Copy full SHA for c2b154e - Browse repository at this point
Copy the full SHA c2b154eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b260f1d - Browse repository at this point
Copy the full SHA b260f1dView commit details -
github: run all checks on ubuntu-latest
The source prep script now runs a python script that import imgtestlib, which uses newer python3 features (match). Run on ubuntu-latest so we have a newer python version and update all runners to match.
Configuration menu - View commit details
-
Copy full SHA for fc4c601 - Browse repository at this point
Copy the full SHA fc4c601View commit details -
github: check source prep before running gitlab CI
The source preparation script now generates the gitalb-ci.yml and checks that it's up to date with new image configurations. Don't run gitlab CI tests if the source prep check doesn't succeed since it might end up testing the wrong thing (distros that have been removed, for example). Also, we need build dependencies to run the script now since it compiles and runs the list-images command. Signed-off-by: Achilleas Koutsou <achilleas@koutsou.net>
Configuration menu - View commit details
-
Copy full SHA for ec3de25 - Browse repository at this point
Copy the full SHA ec3de25View commit details