Add docker image caching; split build job into build, test, check format jobs; add docs job #6

Merged
jturnerusa merged 8 commits from feature/split-ci-into-more-jobs into master 2025-12-12 23:19:40 -06:00

8 Commits

Author SHA1 Message Date
c82152a365 ci: add docs job
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 15s
Gentoo Utils / docs (push) Successful in 14s
Gentoo Utils / build (push) Successful in 19s
Gentoo Utils / check-format (push) Successful in 39s
Gentoo Utils / test (push) Successful in 26s
2025-12-12 23:18:06 -06:00
f16545e65b ci: add check-format job 2025-12-12 23:05:56 -06:00
e83ca9aab2 ci: add test job
Right now this just rebuilds everything the build job built. In a future
PR I will either cache the build dir from the build job or I will upload
the build dir as an artifact.
2025-12-12 23:05:56 -06:00
0d1f38f795 ci: update build job to only build 2025-12-12 23:05:56 -06:00
a290528679 ci: build-oci-image: cache .git dir in build-oci-image
ci: build-oci-image: fix logic for detecting changes to .docker in build-oci-image

ci: build-oci-image: use registry url variable, not hardcoded url

ci: build-oci-image: change changes_detected var to build image

ci: build-oci-image: output an image tag for other jobs to use

ci: build-oci-image: cache the docker image build

This wont always speed things up, but occasionally it will speed things
up by a lot
2025-12-12 23:05:53 -06:00
8a483e6d6c ci: set default shell to login shell
This way /etc/profile is sourced in our gentoo jobs
2025-12-12 23:05:05 -06:00
59c060df54 ci: build-oci-image: create entrypoint script and put env sources in it 2025-12-12 23:04:57 -06:00
91389abcb9 ci: simplify pipeline logic 2025-12-12 23:04:34 -06:00