Skip to content

[RHOAIENG-66501] add package version metadata into env vars#26129

Merged
ckhordiasma merged 5 commits into
rhoai-3.5from
RHOAIENG-66501
Jul 15, 2026
Merged

[RHOAIENG-66501] add package version metadata into env vars#26129
ckhordiasma merged 5 commits into
rhoai-3.5from
RHOAIENG-66501

Conversation

@ckhordiasma

@ckhordiasma ckhordiasma commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

RHOAIENG-66501

Summary

  • Switch bundle processor container image to olm-runner (defined in devops-images#130), which includes cosign and skopeo
  • Enable SBOM metadata extraction: log into container registries, add metadata-config.yaml, and pass -mc flag to the bundle processor so vllm upstream versions are injected as env vars in the operator CSV

To properly test and validate this change, this PR also includes the following improvements:

  • Add rhoai_version workflow_dispatch input to decouple version from branch name, enabling workflow testing from non-release branches
  • Add dry_run checkbox to push results to a dummy branch (BRANCH-dry-run-bundle / BRANCH-dry-run-nightly-bundle) instead of the actual release branch
  • Add workflow run URL to automated commit messages for traceability

Depends on: red-hat-data-services/RHOAI-Konflux-Automation#37

Test results

Both workflows tested via workflow_dispatch with rhoai_version=rhoai-3.5 and dry_run=true:

SBOM-injected env vars in the generated CSV:

RELATED_IMAGE_RHAII_VLLM_CUDA_IMAGE_UPSTREAM_VERSION = "0.18.0+rhaiv.0"
RELATED_IMAGE_RHAII_VLLM_ROCM_IMAGE_UPSTREAM_VERSION = "0.18.0+rhaiv.0"
RELATED_IMAGE_RHAII_VLLM_SPYRE_IMAGE_UPSTREAM_VERSION = "0.18.0+rhaiv.1"
RELATED_IMAGE_RHAII_VLLM_CPU_IMAGE_UPSTREAM_VERSION = "0.18.0+rhaiv.0"
RELATED_IMAGE_RHAII_VLLM_GAUDI_IMAGE_UPSTREAM_VERSION = "0.17.1+rhaiv.0"

@ckhordiasma ckhordiasma changed the title switch image to olm-runner, which includes cosign [RHOAIENG-66501] add package version metadata into env vars Jul 10, 2026
@ckhordiasma
ckhordiasma force-pushed the RHOAIENG-66501 branch 3 times, most recently from 8e65485 to 3d52dd8 Compare July 10, 2026 20:13
@ckhordiasma
ckhordiasma requested a review from riprasad July 10, 2026 20:14
@ckhordiasma
ckhordiasma marked this pull request as draft July 13, 2026 11:04
@ckhordiasma
ckhordiasma force-pushed the RHOAIENG-66501 branch 3 times, most recently from 127034e to 9cd24d7 Compare July 14, 2026 21:56
ckhordiasma and others added 4 commits July 14, 2026 18:05
Add workflow_dispatch input to both bundle workflows so RHOAI version
can be provided explicitly. When omitted, it's derived from the branch
name (must match rhoai-X.Y or rhoai-X.Y-ea.Z). This allows running the
workflows from non-release branches for testing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When dry_run is checked, results are pushed to BRANCH-dry-run instead
of the actual branch, allowing safe testing without modifying release
branches.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add registry auth (registry.redhat.io, registry.stage.redhat.io,
quay.io/aipcc) and pass -mc flag to bundle processor so it extracts
package versions from image SBOMs. Add metadata-config.yaml targeting
vllm package across all VLLM image variants.

Depends on: red-hat-data-services/RHOAI-Konflux-Automation#37

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ckhordiasma
ckhordiasma marked this pull request as ready for review July 14, 2026 22:20
@ckhordiasma
ckhordiasma merged commit 16b2f23 into rhoai-3.5 Jul 15, 2026
2 checks passed
@ckhordiasma
ckhordiasma deleted the RHOAIENG-66501 branch July 15, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants