Skip to content

Log rox-ci-image digest in stackrox prow steps#77727

Merged
openshift-merge-bot[bot] merged 4 commits into
openshift:mainfrom
stackrox:davdhacs/log-rox-ci-image-digest
Apr 22, 2026
Merged

Log rox-ci-image digest in stackrox prow steps#77727
openshift-merge-bot[bot] merged 4 commits into
openshift:mainfrom
stackrox:davdhacs/log-rox-ci-image-digest

Conversation

@davdhacs

@davdhacs davdhacs commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Log the rox-ci-image image information in the "begin" stackrox step
  • Uses kubectl get pod to query the container's metadata

Needed for traceability when using floating tags like stable or latest

New output including /i-am-rox-ci-image content:

INFO: rox-ci-image:
quay-proxy.ci.openshift.org/openshift/ci:stackrox_apollo-ci_stackrox-ui-test-latest
Created: 2026-04-17T14:55:23Z
Labels: {"io.buildah.version":"1.33.14","org.label-schema.build-date":"20260413","org.label-schema.license":"GPLv2","org.label-schema.name":"CentOS Stream 9 Base Image","org.label-schema.schema-version":"1.0","org.label-schema.vendor":"CentOS"}
INFO: /i-am-rox-ci-image:
rox-ci-image-version=0.5.10
rox-ci-image-revision=954c9c4356c2594e94bc28cf3217e44aa2bb21d9
aws=aws-cli/2.7.17 Python/3.9.11 Linux/6.17.0-1010-azure exe/x86_64.centos.9 prompt/off
bats=Bats 1.10.0
...
INFO: Fri Apr 17 20:28:26 UTC 2026: Start of CI handling

https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_release/77727/rehearse-77727-pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests/2045232982628765696/artifacts/gke-qa-e2e-tests/stackrox-stackrox-begin/build-log.txt

🤖 Assisted with Claude Code

@openshift-ci openshift-ci Bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 13, 2026
@coderabbitai

coderabbitai Bot commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Adds a non-failing startup diagnostic block to a CI shell script that prints probe markers, attempts to echo imagestreamtag fields for pipeline:root and the contents of /i-am-rox-ci-image, then proceeds to the existing .openshift-ci/begin.sh conditional without changing control flow.

Changes

Cohort / File(s) Summary
Startup probe
ci-operator/step-registry/stackrox/stackrox/begin/stackrox-stackrox-begin-commands.sh
Prepends a best-effort diagnostic probe that prints probe markers, runs kubectl get imagestreamtag pipeline:root to echo specific imagestreamtag fields, and attempts to cat /i-am-rox-ci-image. All probe commands use `

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 10
✅ Passed checks (10 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Log rox-ci-image digest in stackrox prow steps' clearly describes the main change: adding logging/output of the rox-ci-image digest in stackrox CI prow steps. This directly matches the PR objective to log the build root image digest.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Stable And Deterministic Test Names ✅ Passed The custom check validates Ginkgo test framework test names in Go source files. This PR modifies only a bash shell script used for CI/CD pipeline diagnostics, which contains no Ginkgo test definitions.
Test Structure And Quality ✅ Passed The custom check for Ginkgo test code quality is not applicable as the PR only modifies a shell script with no Go test code.
Microshift Test Compatibility ✅ Passed PR modifies CI shell scripts for diagnostic logging, not adding new Ginkgo e2e tests.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR only modifies a bash shell script for CI diagnostic logging and does not add new Ginkgo e2e tests, making the SNO Test Compatibility check not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies only CI diagnostic shell scripts with logging additions. No deployment manifests, operator code, scheduling constraints, affinity rules, topology spread constraints, or topology-dependent configurations are modified.
Ote Binary Stdout Contract ✅ Passed The OTE Binary Stdout Contract check is not applicable to CI step registry scripts, which execute as independent CI pipeline tools outside the openshift-tests binary context.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR modifies only a CI/CD step shell script, not Ginkgo e2e tests. Check designed for e2e test code is not applicable.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@ci-operator/step-registry/stackrox/stackrox/begin/stackrox-stackrox-begin-commands.sh`:
- Around line 5-7: The kubectl lookup can return an empty string with exit code
0, so replace the inline fallback chain using "kubectl get pod \"$HOSTNAME\" -o
jsonpath='{.status.containerStatuses[0].imageID}' || grep '^imageid='
/run/.containerenv || echo \"unknown\"" with a robust sequence that captures the
kubectl output into a variable (e.g., image=$(kubectl get pod ... 2>/dev/null ||
true)), if [ -z "$image" ] then try the grep fallback (image=$(grep '^imageid='
/run/.containerenv 2>/dev/null || true)); if still empty set image="unknown";
finally printf that variable. Apply the same change to the other identical
blocks that use the same kubectl jsonpath + grep fallback.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: b1921e90-5392-480b-8d64-ec85e11fb85a

📥 Commits

Reviewing files that changed from the base of the PR and between e97824a and f53d34a.

📒 Files selected for processing (3)
  • ci-operator/step-registry/stackrox/stackrox/begin/stackrox-stackrox-begin-commands.sh
  • ci-operator/step-registry/stackrox/stackrox/e2e-test/stackrox-stackrox-e2e-test-commands.sh
  • ci-operator/step-registry/stackrox/stackrox/end/stackrox-stackrox-end-commands.sh

@davdhacs

Copy link
Copy Markdown
Contributor Author

/cc @tommartensen

@tommartensen

Copy link
Copy Markdown
Contributor

Do you have a rehearse job where I can see that kubectl get pod ... works?

@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-nongroovy-e2e-tests pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@davdhacs

Copy link
Copy Markdown
Contributor Author

Do you have a rehearse job where I can see that kubectl get pod ... works?

Ty! What I had before was naive in expecting only one pod. We have a "sidecar" that original query found first. And once I fixed that I found that the image digest listed is the upper-step manifest. This new version grabs the name so we know which "flavor" like "stackrox-ui-tes" and it asks Quay for what group of images included the manifest digest (It lists all of them, so we just take the first and cut out the version part of the tag: the first one may not match the flavor that is running, but they all have the same "version" in the tag).

INFO: rox-ci-image: quay-proxy.ci.openshift.org/openshift/ci:stackrox_apollo-ci_stackrox-ui-test-stable
INFO: rox-ci-image: version 0.5.7-17-g489be724cf

https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_release/77727/rehearse-77727-pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests/2044657571821785088/artifacts/gke-qa-e2e-tests/stackrox-stackrox-begin/build-log.txt

@davdhacs
davdhacs marked this pull request as draft April 16, 2026 12:26
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 16, 2026
@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@davdhacs
davdhacs force-pushed the davdhacs/log-rox-ci-image-digest branch from 439a16c to f7c3619 Compare April 16, 2026 13:13
@davdhacs

Copy link
Copy Markdown
Contributor Author

The quay query was not consistent. It turned out that when a new (0.5.8) tag was pushed, the query then found that instead of the tag(s) matching the manifest digest which I thought was unique to the 0.5.7 set of images.
I'm looking more for anything that could help correlate. It may be that we can rely on the in-image version tracking.

@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

Only log Created date and Labels from dockerImageMetadata.
Avoid logging the full Config (which includes Env) to prevent
accidental secret exposure.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@davdhacs
davdhacs marked this pull request as ready for review April 17, 2026 22:35
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 17, 2026
@openshift-ci
openshift-ci Bot requested review from rhybrillou and sg-rh April 17, 2026 22:36
@davdhacs

Copy link
Copy Markdown
Contributor Author

/cc @tommartensen
Thanks for asking that! This finishes with the most information we can get (from inside the test pod) and the cat of the file.

The -latest tag was used temporarily to test /i-am-rox-ci-image
content. Reverting to -stable for the final PR.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@davdhacs: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-stackrox-acs-fleet-manager-main-e2e stackrox/acs-fleet-manager presubmit Registry content changed
pull-ci-stackrox-stackrox-master-aks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-4.10-aks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-4.9-aks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-4.8-aks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-x.y-aks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-aro-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-4.10-aro-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-4.9-aro-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-4.8-aro-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-x.y-aro-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-eks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-4.10-eks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-4.9-eks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-4.8-eks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-release-x.y-eks-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ibmcloudz-4-14-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ibmcloudz-4-15-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ibmcloudz-4-16-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ibmcloudz-4-17-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-21-crun-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-scanner-v4-install-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-operator-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-sensor-integration-tests stackrox/stackrox presubmit Registry content changed

A total of 317 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@davdhacs

Copy link
Copy Markdown
Contributor Author

/unhold

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 17, 2026
@tommartensen

Copy link
Copy Markdown
Contributor

/lgtm

@tommartensen tommartensen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 22, 2026
@openshift-ci

openshift-ci Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davdhacs, tommartensen

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

1 similar comment
@openshift-ci

openshift-ci Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davdhacs, tommartensen

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

@davdhacs

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Apr 22, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 3b8306f into openshift:main Apr 22, 2026
9 of 10 checks passed
Prucek pushed a commit to Prucek/release that referenced this pull request Apr 29, 2026
* debug: log rox-ci-image info via internal registry API

Query the internal registry directly with the SA token to get the
full image config (labels, env, etc). Also temporarily switch to
-latest tag to test /i-am-rox-ci-image content.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: log rox-ci-image source tag and metadata in begin step

Print the imagestreamtag source reference and full dockerImageMetadata
(includes labels, env, created date when available). Also cat
/i-am-rox-ci-image for version info baked into the image.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: narrow rox-ci-image logging to safe fields only

Only log Created date and Labels from dockerImageMetadata.
Avoid logging the full Config (which includes Env) to prevent
accidental secret exposure.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* revert: switch build_root back to stackrox-ui-test-stable

The -latest tag was used temporarily to test /i-am-rox-ci-image
content. Reverting to -stable for the final PR.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
BATMAN-JD pushed a commit to BATMAN-JD/release that referenced this pull request May 1, 2026
* debug: log rox-ci-image info via internal registry API

Query the internal registry directly with the SA token to get the
full image config (labels, env, etc). Also temporarily switch to
-latest tag to test /i-am-rox-ci-image content.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: log rox-ci-image source tag and metadata in begin step

Print the imagestreamtag source reference and full dockerImageMetadata
(includes labels, env, created date when available). Also cat
/i-am-rox-ci-image for version info baked into the image.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: narrow rox-ci-image logging to safe fields only

Only log Created date and Labels from dockerImageMetadata.
Avoid logging the full Config (which includes Env) to prevent
accidental secret exposure.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* revert: switch build_root back to stackrox-ui-test-stable

The -latest tag was used temporarily to test /i-am-rox-ci-image
content. Reverting to -stable for the final PR.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fjglira pushed a commit to fjglira/release that referenced this pull request Jun 3, 2026
* debug: log rox-ci-image info via internal registry API

Query the internal registry directly with the SA token to get the
full image config (labels, env, etc). Also temporarily switch to
-latest tag to test /i-am-rox-ci-image content.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: log rox-ci-image source tag and metadata in begin step

Print the imagestreamtag source reference and full dockerImageMetadata
(includes labels, env, created date when available). Also cat
/i-am-rox-ci-image for version info baked into the image.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: narrow rox-ci-image logging to safe fields only

Only log Created date and Labels from dockerImageMetadata.
Avoid logging the full Config (which includes Env) to prevent
accidental secret exposure.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* revert: switch build_root back to stackrox-ui-test-stable

The -latest tag was used temporarily to test /i-am-rox-ci-image
content. Reverting to -stable for the final PR.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
andrej1991 pushed a commit to andrej1991/release that referenced this pull request Jul 6, 2026
* debug: log rox-ci-image info via internal registry API

Query the internal registry directly with the SA token to get the
full image config (labels, env, etc). Also temporarily switch to
-latest tag to test /i-am-rox-ci-image content.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: log rox-ci-image source tag and metadata in begin step

Print the imagestreamtag source reference and full dockerImageMetadata
(includes labels, env, created date when available). Also cat
/i-am-rox-ci-image for version info baked into the image.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: narrow rox-ci-image logging to safe fields only

Only log Created date and Labels from dockerImageMetadata.
Avoid logging the full Config (which includes Env) to prevent
accidental secret exposure.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* revert: switch build_root back to stackrox-ui-test-stable

The -latest tag was used temporarily to test /i-am-rox-ci-image
content. Reverting to -stable for the final PR.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants