Clean up leftover Fedora/Rocky Linux references and complete Debian Bookworm base image transition
CI: Clean up leftover Fedora/Rocky Linux references and complete Debian Bookworm base image transition
What
This MR performs cleanup of leftover external image references and completes the transition to new pre-built base images from the GCP registry, specifically:
- Removes leftover Fedora and Rocky Linux base image references from the CI pipeline configuration
- Completes the transition from vanilla Debian Bookworm images to the new pre-built Bookworm base images
Why
This cleanup is part of the broader effort to migrate all CI jobs to use the new pre-built base images from the GCP registry.
How
The changes include:
- Removal of Fedora and Rocky Linux references from the
external_imagesconfiguration - Transition from vanilla
debian:bookwormimages to new pre-built${GCP_PROTECTED_REGISTRY}/tezos/tezos/debian:bookwormbase images - Updates to affected CI pipeline files that use Debian Bookworm images
- Cleanup of CI generation code that creates these pipeline configurations
Context
This MR continues the base image optimization work that has been ongoing across multiple MRs:
- MR !19198 (merged): Introduced new base OCI images infrastructure across all supported distributions
- MR !18947 (merged): Implemented base image optimization for Debian/Ubuntu packaging pipelines with Datadog observability
- MR !19258 (merged): Extended optimization to RPM packaging pipelines (Fedora versions 39, 41, 42 and Rocky Linux)
This cleanup MR completes the migration by:
- Finalizing the Debian Bookworm transition to use the new optimized base images
- Removing old external image references for Fedora/Rocky Linux that are no longer needed
- Ensuring all distributions now use the pre-built base image strategy with consistent tooling and observability
Testing
The changes should be verified by ensuring that:
- CI pipelines continue to work with the new Bookworm base images from GCP registry
- All Debian Bookworm jobs properly use the optimized base images instead of vanilla images
- No jobs are broken by the removal of external Fedora/Rocky Linux image references
- The base image jobs continue to function correctly
-> Scheduled pipeline: https://gitlab.com/tezos/tezos/-/pipelines/2053455191
Edited by Pietro Abate