Base image build process - #7270
Open
nccatoni wants to merge 17 commits into
Open
Conversation
Contributor
|
|
nccatoni
force-pushed
the
nccatoni/base-image-build
branch
2 times, most recently
from
July 6, 2026 16:25
e2c8ca6 to
611f535
Compare
|
nccatoni
force-pushed
the
nccatoni/base-image-build
branch
2 times, most recently
from
July 7, 2026 11:52
dc70509 to
b8f1ceb
Compare
nccatoni
force-pushed
the
nccatoni/base-image-build
branch
from
July 30, 2026 10:14
d3cc9d8 to
1902e53
Compare
nccatoni
force-pushed
the
nccatoni/base-image-build
branch
from
July 30, 2026 12:06
1902e53 to
578a92d
Compare
nccatoni
force-pushed
the
nccatoni/base-image-build
branch
from
July 30, 2026 13:44
f90836f to
5d90e00
Compare
nccatoni
marked this pull request as ready for review
July 31, 2026 13:34
nccatoni
requested review from
Kyle-Verhoog,
christophe-papazian and
dubloom
and removed request for
a team
July 31, 2026 13:34
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5ac604fe36
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Content-Addressed Base Images via GitLab CI
Summary
Automate weblog base image publishing with content-addressed tags, replacing the manual label-driven workflow (
build-*-base-imagesPR labels + manual version bumps + human push coordination).What Changed
build_base_imagesGitLab CI job runs on every push: derives dependencies fromCOPYinstructions in each*.base.Dockerfile, computes a 12-char content hash, and pushesdatadog/system-tests:<name>.base-<hash>if the tag doesn't exist. Idempotent — never overwrites.utils/build/docker/base-images.lock.json) maps stable aliases (system_tests_base_nodejs_express4) → immutable tags. Consumer Dockerfiles useFROM <alias>, resolved via BuildKit--build-contextat build time.wait_for_base_image.py) for the locked tag instead.build-*-base-imageslabels,_build_weblog_base_imagesworkflow input, manual-vNtag management.New Workflow
python utils/scripts/build_base_images.py --update-lock+python utils/scripts/update_mirror_images.pyWorkflow
🚀 Once your PR is reviewed and the CI green, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
tests/ormanifests/is modified ? I have the approval from R&P teambuild-XXX-imagelabel is present