Skip to content

kube-agents: the RC eval job reads the candidate's images from the candidate repository - #2816

Merged
google-oss-prow[bot] merged 1 commit into
GoogleCloudPlatform:masterfrom
lapis2002:kube-agents/rc-eval-candidate-registry
Dec 1, 2026
Merged

google-oss-prow[bot] merged 1 commit into
GoogleCloudPlatform:masterfrom
lapis2002:kube-agents/rc-eval-candidate-registry

Conversation

@lapis2002

Copy link
Copy Markdown
Contributor

Sets REGISTRY_PREFIX on post-kube-agents-eval-rc to the candidate image repository in Artifact Registry, so the job looks for the nominated commit's images there and installs from there. Unset, the candidate's scripts use ghcr.io/gke-labs/kube-agents.

Part of gke-labs/kube-agents#7201, which moves where a commit's images are published and switches each reader on its own.

What the job relies on, checked today:

One comment in the job's header is updated with it: the promotion pipeline verifies the images in the registry it reads, which is not this one yet, so the resolve step can still fail for a commit whose images never reached the candidate repository. That fails the run ahead of its summary, and the nomination gets no verdict.

Not run: a Prow job cannot be exercised before merge, and go test ./prow/tests/... needs modules this machine does not have cached. The YAML parses and the job's script passes bash -n. The first evalcand_* nomination after merge is the run; revert is removing the line.

Reviewed before opening by three passes in contexts that did not write the change (a general read, an adversarial pass and a documentation-drift pass, with a re-run on the fixes). They found no fault in the export and four inaccurate statements in the comments, all corrected. Left as they are: the header's references to nightly-pipeline.yml, a name the pipeline no longer has, and the EVAL_MODE_NEXT comment; both predate this change.

Generated with the help of Claude (Fable 5.2).

@lapis2002

Copy link
Copy Markdown
Contributor Author

/hold

Holding until autopush in gke-labs/kube-agents has deployed one commit from the candidate repository: the readers are switched one at a time, and autopush goes first. I will cancel the hold then.

@google-oss-prow

Copy link
Copy Markdown
Contributor

Hi @lapis2002. Thanks for your PR.

I'm waiting for a GoogleCloudPlatform member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@lapis2002

Copy link
Copy Markdown
Contributor Author

/hold cancel

@google-oss-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bradhoekstra, lapis2002

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow
google-oss-prow Bot merged commit 49f438c into GoogleCloudPlatform:master Dec 1, 2026
11 checks passed
@google-oss-prow

Copy link
Copy Markdown
Contributor

@lapis2002: Updated the job-config configmap in namespace default at cluster default using the following files:

  • key kube-agents-postsubmits.yaml using file prow/prowjobs/gke-labs/kube-agents/kube-agents-postsubmits.yaml
Details

In response to this:

Sets REGISTRY_PREFIX on post-kube-agents-eval-rc to the candidate image repository in Artifact Registry, so the job looks for the nominated commit's images there and installs from there. Unset, the candidate's scripts use ghcr.io/gke-labs/kube-agents.

Part of gke-labs/kube-agents#7201, which moves where a commit's images are published and switches each reader on its own.

What the job relies on, checked today:

One comment in the job's header is updated with it: the promotion pipeline verifies the images in the registry it reads, which is not this one yet, so the resolve step can still fail for a commit whose images never reached the candidate repository. That fails the run ahead of its summary, and the nomination gets no verdict.

Not run: a Prow job cannot be exercised before merge, and go test ./prow/tests/... needs modules this machine does not have cached. The YAML parses and the job's script passes bash -n. The first evalcand_* nomination after merge is the run; revert is removing the line.

Reviewed before opening by three passes in contexts that did not write the change (a general read, an adversarial pass and a documentation-drift pass, with a re-run on the fixes). They found no fault in the export and four inaccurate statements in the comments, all corrected. Left as they are: the header's references to nightly-pipeline.yml, a name the pipeline no longer has, and the EVAL_MODE_NEXT comment; both predate this change.

Generated with the help of Claude (Fable 5.2).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants