Skip to content

Add console-downloads image build to openshift/console CI config#79355

Open
jhadvig wants to merge 1 commit into
openshift:mainfrom
jhadvig:CONSOLE-5293
Open

Add console-downloads image build to openshift/console CI config#79355
jhadvig wants to merge 1 commit into
openshift:mainfrom
jhadvig:CONSOLE-5293

Conversation

@jhadvig
Copy link
Copy Markdown
Member

@jhadvig jhadvig commented May 15, 2026

Summary

  • Adds a console-downloads image build from Dockerfile.downloads in the openshift/console repo
  • The image will be promoted to the release payload alongside the existing console image
  • This replaces the cli-artifacts image currently used by the console-operator for serving CLI binaries
  • Updated configs: main, release-4.23, release-5.0, release-5.1

Jira: https://issues.redhat.com/browse/CONSOLE-5293

Test plan

  • CI presubmit builds the console-downloads image successfully
  • After merge, postsubmit promotes the image to the release imagestreams

🤖 Generated with Claude Code

Summary

This PR extends the OpenShift CI configuration for the openshift/console repository to build and promote a new container image called console-downloads from Dockerfile.downloads. The image will be published to the release payload alongside the existing console image, serving as a replacement for the cli-artifacts image that was previously used by the console-operator to distribute CLI binaries.

Changes

The PR updates four CI configuration files for the console repository across multiple release branches:

  • openshift-console-main.yaml
  • openshift-console-release-4.23.yaml
  • openshift-console-release-5.0.yaml
  • openshift-console-release-5.1.yaml

Each file receives an identical 2-line addition to the images.items list, registering the new console-downloads image build.

Related Work

This change aligns with Jira issue CONSOLE-5293 and updates the CI infrastructure for the console component to support the new artifact delivery mechanism.

Depends on openshift/console#16455

Build the console-downloads image from Dockerfile.downloads in the
openshift/console repo and promote it to the release payload. This
replaces the cli-artifacts image currently used by the console-operator
for serving CLI binaries.

Updated configs: main, release-4.23, release-5.0, release-5.1

CONSOLE-5293

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

coderabbitai Bot commented May 15, 2026

Walkthrough

This PR adds a new console-downloads image build entry to four OpenShift console CI operator configuration files (main, release-4.23, release-5.0, and release-5.1). Each file now includes a mapping from Dockerfile.downloads to the console-downloads image target in the images.items list.

Changes

Console-downloads image build support

Layer / File(s) Summary
Add console-downloads image build across all release configurations
ci-operator/config/openshift/console/openshift-console-main.yaml, ci-operator/config/openshift/console/openshift-console-release-4.23.yaml, ci-operator/config/openshift/console/openshift-console-release-5.0.yaml, ci-operator/config/openshift/console/openshift-console-release-5.1.yaml
Each CI operator configuration adds a new images.items entry mapping Dockerfile.downloads to the console-downloads image target, enabling builds of the downloads component across all console release branches and main.

🎯 1 (Trivial) | ⏱️ ~3 minutes


rehearsals-ack

🚥 Pre-merge checks | ✅ 12
✅ Passed checks (12 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding a new console-downloads image build configuration to the OpenShift Console CI setup across multiple release branches.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed PR modifies only CI operator YAML configuration files, not Go test code. No Ginkgo tests are present, so the check for stable test names is not applicable.
Test Structure And Quality ✅ Passed PR contains only YAML CI configuration changes, not Ginkgo test code. Check for test quality is not applicable to configuration-only modifications.
Microshift Test Compatibility ✅ Passed This PR contains only CI configuration YAML changes, not test code. No Ginkgo e2e tests were added, so the MicroShift compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed No new Ginkgo e2e tests are added in this PR. The changes are purely CI/CD configuration updates to add a console-downloads image build to 4 YAML config files. The check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed Changes are to CI build configs, not deployment manifests or controllers. No scheduling constraints, affinity rules, or topology-dependent settings introduced.
Ote Binary Stdout Contract ✅ Passed PR only modifies YAML CI configuration files. No executable code, main functions, logging statements, or stdout-generating code present. OTE stdout check not applicable.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR modifies only YAML CI configuration files to add console-downloads image build entries. No Ginkgo e2e tests or Go code are present, so this check 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

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 15, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhadvig

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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 15, 2026
@openshift-ci openshift-ci Bot requested review from rhamilto and spadgett May 15, 2026 18:07
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@jhadvig: 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-openshift-console-release-4.23-analyze openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-4.23-backend openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-4.23-e2e-gcp-console openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-4.23-frontend openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-4.23-images openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.1-analyze openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.1-backend openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.1-e2e-gcp-console openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.1-frontend openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.1-images openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.0-analyze openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.0-backend openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.0-e2e-gcp-console openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.0-frontend openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-release-5.0-images openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-main-analyze openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-main-backend openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-main-e2e-gcp-console openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-main-frontend openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-main-images openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-main-okd-scos-e2e-aws-ovn openshift/console presubmit Ci-operator config changed
pull-ci-openshift-console-main-okd-scos-images openshift/console presubmit Ci-operator config changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

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.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 15, 2026

@jhadvig: all tests passed!

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant