Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions deploy/konflux/cli/rpms.in.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@
# UBI content is public, so repos are inlined here rather than read from the
# base image; rpm-lockfile-prototype resolves versions from the CDN and cannot
# read /etc/yum.repos.d from inside the base image.
# Conforma allows only arch-qualified repo IDs (known_rpm_repositories.yml).
# Do not copy section names from the UBI image's ubi.repo: ubi-9-baseos-rpms
# omits the architecture and fails rpm_repos.ids_known. $basearch is expanded
# per package URL in the lockfile. CodeReady Builder is
# codeready-builder-for-ubi-9-$basearch-rpms.
contentOrigin:
repos:
- repoid: ubi-9-baseos-rpms
- repoid: ubi-9-for-$basearch-baseos-rpms
baseurl: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/baseos/os/
- repoid: ubi-9-appstream-rpms
- repoid: ubi-9-for-$basearch-appstream-rpms
baseurl: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/appstream/os/
packages:
# Build stage: build tools
Expand Down
634 changes: 317 additions & 317 deletions deploy/konflux/cli/rpms.lock.yaml

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions deploy/konflux/gateway/rpms.in.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@
# UBI content is public, so repos are inlined here rather than copied from the
# image; rpm-lockfile-prototype resolves versions from the CDN and cannot read
# /etc/yum.repos.d from inside the base image.
# Conforma allows only arch-qualified repo IDs (known_rpm_repositories.yml).
# Do not copy section names from the UBI image's ubi.repo: ubi-9-baseos-rpms
# omits the architecture and fails rpm_repos.ids_known. $basearch is expanded
# per package URL in the lockfile. CodeReady Builder is
# codeready-builder-for-ubi-9-$basearch-rpms.
contentOrigin:
repos:
- repoid: ubi-9-baseos-rpms
- repoid: ubi-9-for-$basearch-baseos-rpms
baseurl: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/baseos/os/
- repoid: ubi-9-appstream-rpms
- repoid: ubi-9-for-$basearch-appstream-rpms
baseurl: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/appstream/os/
packages:
# Build stage: Rust toolchain is prefetched from static.rust-lang.org (see
Expand Down
820 changes: 410 additions & 410 deletions deploy/konflux/gateway/rpms.lock.yaml

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions deploy/konflux/sandbox/rpms.in.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,20 @@
# UBI content is public, so repos are inlined here rather than copied from the
# image; rpm-lockfile-prototype resolves versions from the CDN and cannot read
# /etc/yum.repos.d from inside the base image.
# Conforma allows only arch-qualified repo IDs (known_rpm_repositories.yml).
# Do not copy section names from the UBI image's ubi.repo: ubi-9-baseos-rpms
# omits the architecture and fails rpm_repos.ids_known. $basearch is expanded
# per package URL in the lockfile. CodeReady Builder is
# codeready-builder-for-ubi-9-$basearch-rpms.
contentOrigin:
repos:
- repoid: ubi-9-baseos-rpms
- repoid: ubi-9-for-$basearch-baseos-rpms
baseurl: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/baseos/os/
- repoid: ubi-9-appstream-rpms
- repoid: ubi-9-for-$basearch-appstream-rpms
baseurl: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/appstream/os/
# glibc-static (for `-C target-feature=+crt-static`) ships in CodeReady
# Builder, whose content is public on the UBI CDN.
Comment on lines 31 to 32

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The CRB repo right below this didn't get renamed, and it's the one that matters most: it's the only source for glibc-static and libxcrypt-static, so the static sandbox build depends on it.

ubi-9-codeready-builder-rpms isn't in the Conforma list. Following the same pattern as the others (ubi-9-for-$basearch-codeready-builder-rpms) won't pass either, because CRB is named the other way around. The known IDs are codeready-builder-for-ubi-9-x86_64-rpms and codeready-builder-for-ubi-9-aarch64-rpms, so line 28 should be:

    - repoid: codeready-builder-for-ubi-9-$basearch-rpms

rpms.lock.yaml needs the same fix at lines 925 and 932 (aarch64) and 1846 and 1853 (x86_64). Those still say ubi-9-codeready-builder-rpms, and Hermeto prefetches from the lockfile, so fixing only this file won't help until MintMaker regenerates it.

Probably worth checking rhoai-3.6 too, since the description says the same change went there.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Sandbox CodeReady Builder is now codeready-builder-for-ubi-9-$basearch-rpms in rpms.in.yaml. The lockfile records codeready-builder-for-ubi-9-aarch64-rpms (glibc-static, libxcrypt-static) and codeready-builder-for-ubi-9-x86_64-rpms next to those package URLs. The same change is on red-hat-data-services#7.

Also added the repo-ID comment above contentOrigin, prefixed the commit with CARRY:, and removed the Co-authored-by trailer. I have not rebased onto #61 or #62. mise run pre-commit is still unchecked because mise is not installed here.

- repoid: ubi-9-codeready-builder-rpms
- repoid: codeready-builder-for-ubi-9-$basearch-rpms
baseurl: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/codeready-builder/os/
packages:
# Build stage: static glibc + build tools
Expand Down
568 changes: 284 additions & 284 deletions deploy/konflux/sandbox/rpms.lock.yaml

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions deploy/konflux/supervisor/rpms.in.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@
# UBI content is public, so repos are inlined here rather than copied from the
# image; rpm-lockfile-prototype resolves versions from the CDN and cannot read
# /etc/yum.repos.d from inside the base image.
# Conforma allows only arch-qualified repo IDs (known_rpm_repositories.yml).
# Do not copy section names from the UBI image's ubi.repo: ubi-9-baseos-rpms
# omits the architecture and fails rpm_repos.ids_known. $basearch is expanded
# per package URL in the lockfile. CodeReady Builder is
# codeready-builder-for-ubi-9-$basearch-rpms.
contentOrigin:
repos:
- repoid: ubi-9-baseos-rpms
- repoid: ubi-9-for-$basearch-baseos-rpms
baseurl: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/baseos/os/
- repoid: ubi-9-appstream-rpms
- repoid: ubi-9-for-$basearch-appstream-rpms
baseurl: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/appstream/os/
packages:
# Build stage: build tools
Expand Down
584 changes: 292 additions & 292 deletions deploy/konflux/supervisor/rpms.lock.yaml

Large diffs are not rendered by default.

Loading