ci: publish docker image for system tests#4013
Conversation
|
c7decf8 to
5894a60
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c7decf82b6
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
"publish docker image for system tests" |
I just recently learned that https://github.com/DataDog/public-images exists, could this do the syncing of the image for us? |
|
@realFlowControl I didn't know |
…blish jobs - Remove after_script revocation from the token job: GitLab uploads artifacts after after_script, so the token was being revoked before the downstream job could use it. The 1-hour artifact expiry is sufficient, matching the pattern in "generate github token". - Add GITHUB_TOKEN: "[MASKED]" to prevent the token value from appearing in CI logs. - Add comment documenting that the jobs intentionally run on every branch (for ad-hoc system test runs against in-progress branches). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Benchmarks [ tracer ]Benchmark execution time: 2026-06-30 13:06:19 Comparing candidate commit 495dcd1 in PR branch Found 0 performance improvements and 2 performance regressions! Performance is the same for 192 metrics, 0 unstable metrics.
|
b7b488c to
f87131d
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 495dcd14b8
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
bwoebi
left a comment
There was a problem hiding this comment.
So, I don't mind this. I just don't know whether there is any problem in having that gigabyte sized dockerfile produced with every commit.
This will quickly occupy terabytes.
Do we have to pay for that? Must we clean up old images eventually? Or is this already handled?
@bwoebi Those are very good questions. I investigated and I made a few improvements to adjust the scope of this PR:
|
|
Hey @MilanGarnier, just a heads up: I merged #4002 and you might see conflicts in your PR |
| @@ -0,0 +1,31 @@ | |||
| name: "Delete Docker image on PR close" | |||
There was a problem hiding this comment.
If you tie this to PRs, you probably also should restrict publishing docker images to branches having an associated PR as well.
There was a problem hiding this comment.
I added a test in the publish job, the job will exit with a warning if it runs on a branch without an associated PR
Maybe an exit 0 in that case can be desired, but I guess a warning makes it clearer that running the system tests on a feature branch will require an open PR and not only having the remote branch exist.
Description
Adds a CI job at
dd-trace-php/.gitlab/generate-package.phpwhich pushes the build to github's container registry (similarly to what already exists for prod builds). This is necessary to enableLIBRARY_TARGET_BRANCHto work for the PHP target inutils/scripts/load-binary.sh. (mimicking what already exists for dd-trace-dotnet)The endgoal is to have DataDog/system-tests#7209 picking up the right branch
Reviewer checklist