spiegel_podman/hack/ci
Kir Kolyshkin 26e30e5f6d
Publish swagger.yaml from GitHub Actions on push to main and tags
Add a 'Publish swagger' workflow that builds pkg/api/swagger.yaml and
uploads it to the libpod-master-releases GCS bucket (swagger-latest.yaml
for main, swagger-<tag>.yaml for tags), reusing the same gcsupld container
as Cirrus with GCPJSON/GCPNAME supplied via repository secrets. Per-PR
uploads to libpod-pr-releases are dropped, as nothing consumes them.

The gcsupld image tag is hardcoded (copied from .cirrus.yml IMAGE_SUFFIX)
rather than read at runtime, since Cirrus CI is to be decommissioned soon.

Remove the now-migrated swagger_task from .cirrus.yml (and its success_task
dependency) and the _run_swagger handler from hack/ci/runner.sh, and update
docs/README.md to point at the new workflow. While at it, fix the link in
docs/README.md to hack/ci/README.md#docs-task, which had been dangling ever
since that file was removed in 2020 by commit 2c9084e224.

Note: requires GCPJSON and GCPNAME to be configured as GitHub repository
secrets before the upload step can succeed.

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