Repository navigation
ci: include the libdatadog-build one-pipeline template for config registry jobs - #409
Conversation
The copied config-registry jobs now run the scripts baked into the libdatadog-build 1.15.0 packaging image instead of downloading two of them from a content-addressed URL. That URL is no longer published, and the 1.15.0 validation script imports sibling modules that a two-file download would miss. Also adds the new optional variables from the 1.15.0 template and drops MULTIPLE_RELEASE_LINES and BACKFILLED, which the scripts no longer read.
Replace the copied config registry jobs with an include of the versioned libdatadog-build one-pipeline template, the same way dd-trace-go does. The template version now lives only in .gitlab/one-pipeline.locked.yml, which the libdatadog-build one-pipeline campaign rewrites on each release. SKIP_SHARED_PIPELINE keeps the packaging, publishing and system-test jobs out of the pipeline. Two template jobs don't check it, so they are turned off here: deploy_to_reliability_env and notify-pipeline-failure. The image, runner tag, and rules now come from the template. The stages the template jobs use replace the config-validation stage. LOCAL_REPO_NAME is dropped because the scripts don't read it.
deploy_to_reliability_env would trigger the reliability environment and notify-pipeline-failure would post release-failure alerts, so both stay off. The template's no-op finished job still runs in every pipeline, as it does in dd-trace-go.
BenchmarksBenchmark execution time: 2026-11-19 21:21:12 Comparing candidate commit abaa5bc in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 0 unstable metrics.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
More details
GitLab reported successful pipeline and configuration-validation statuses for the reviewed head. Independent verification of release and scheduled pipeline behavior remains limited because the pinned remote template was inaccessible.
🤖 Bits Code Review · Commit abaa5bc
Overview
Includes libdatadog-build's one-pipeline template (1.16.0) for the config registry jobs, instead of keeping a copy of them.
.gitlab/one-pipeline.locked.ymlpins the template version. It's the only place the version lives, in the same format the libdatadog-build campaign updates..gitlab/config-registry.yml. The two jobs in.gitlab-ci.ymlnowextends:the template's and set onlyLOCAL_JSON_PATHandLANGUAGE_NAME: cpp.SKIP_SHARED_PIPELINE(as dd-trace-go does), adds the template's stages, and turns offdeploy_to_reliability_envandnotify-pipeline-failure, the two template jobs that would otherwise run here.Motivation
The copied jobs needed a manual update on every libdatadog-build release. Now a version bump is one line, and the campaign makes it automatically once dd-trace-cpp is on its list (DataDog/libdatadog-build#305).
1.16.0 is needed because earlier versions
pip installin the validate job, and our runners can't reach PyPI.Additional Notes
needs, and the sync job is added only on release tags.v2.4.1plans no writes; the registry already matches.References
Jira ticket:
Contributor Checklist