spiegel_podman/hack/ci
Kir Kolyshkin 11111fc9d0
Migrate 'build each commit' check from Cirrus to GHA
Add a 'Build each commit' step to the validate-source job. It builds the
PR fork point to record baseline binary sizes, then rebuilds and size-checks
each commit via 'git rebase -x', confirming every commit compiles on its own
and that no binary grows beyond the enforced limit.

Move hack/make-and-check-size to hack/ci/make-and-check-size.sh and replace
its Cirrus-specific GitHub GraphQL label query with a BLOAT_APPROVED env var
that the workflow derives from the 'bloat_approved' PR label.

Drop the now-migrated 'Build Each Commit' matrix entry from .cirrus.yml and
the corresponding *Each* case from hack/ci/runner.sh.

NOTE due to chicken-and-egg problem with make-and-check-size we need to
make a copy of it before working with git.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 1da154117c)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-04 20:04:26 +02:00
..
99-do-not-use-google-subnets.conflist Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
CIModes.md Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
cirrus_yaml_test.py Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
get-local-registry-script Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
lib.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
lib.sh.t Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
logcollector.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
logformatter Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
logformatter.t Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
mac_cleanup.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
mac_env.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
mac_runner.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
mac_setup.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
make-and-check-size.sh Migrate 'build each commit' check from Cirrus to GHA 2026-06-04 20:04:26 +02:00
postbuild.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
pr-removes-fixed-skips Migrate validate-source from Cirrus to GitHub Actions 2026-06-04 20:04:25 +02:00
pr-removes-fixed-skips.t Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
pr-should-include-tests Migrate validate-source from Cirrus to GitHub Actions 2026-06-04 20:04:25 +02:00
pr-should-include-tests.t Migrate validate-source from Cirrus to GitHub Actions 2026-06-04 20:04:25 +02:00
prebuild.sh Migrate validate-source from Cirrus to GitHub Actions 2026-06-04 20:04:25 +02:00
runner.sh Migrate 'build each commit' check from Cirrus to GHA 2026-06-04 20:04:26 +02:00
setup_environment.sh Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
swagger_stack_trace.png Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
timestamp.awk Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-collect-wsl-logs-start.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-collect-wsl-logs-stop.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-installer-main.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-lib.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-podman-machine-main.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-podman-machine-test.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-sess-launch.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00
win-unit-main.ps1 Rename contrib/cirrus to hack/ci 2026-06-04 20:04:25 +02:00