Skip to content

Update ubi9 and go toolset#2545

Merged
simonbaird merged 2 commits into
conforma:mainfrom
simonbaird:ubi9-and-go-toolset-update
May 20, 2025
Merged

Update ubi9 and go toolset#2545
simonbaird merged 2 commits into
conforma:mainfrom
simonbaird:ubi9-and-go-toolset-update

Conversation

@simonbaird

Copy link
Copy Markdown
Member

Same as #2543 and #2544, but now in main branch.

Includes a switch to :latest tag for the base image, and a switch of go-toolset image. See commit messages for more details.

Ref: EC-1282

Now that the version we want is available, let's use it. See also
go.mod, which contains `go 1.23.6`.

Similar commits were created already in the v0.5 and v0.6 branches.
See PRs conforma#2543 and conforma#2544 .

Not really related to, but done while working on...

Ref: https://issues.redhat.com/browse/EC-1282
The reasoning behind switching to the :latest tag, is that
ubi-minimal is single stream, so as soon as :9.6 is pushed, there
are no more updates to :9.5. Using :latest means that we'll
(hopefully) continue to get automated digest bump PRs from
MintMaker/Renovate.

In the unlikely event that something breaks, we'll expect our CI to
catch it.

Digest copy/pasted from:
  https://catalog.redhat.com/software/containers/ubi9/ubi-minimal/615bd9b4075b022acc111bf5?container-tabs=gti

Note that we need it to be the image index digest, not the digest of the
individual image. This should match the digest:
  skopeo inspect --raw --no-tags docker://registry.access.redhat.com/ubi9/ubi-minimal:latest | sha256sum

I ran `hack/update-rpm-lock.sh` but it produced no updates to the
lock file, (unlike the v0.5 version, since we install git-core and
its dependencies there but not there).

Because this brings in the latest rpms (for libtasn1, gnutls and
krb5-libs) in the base image it should remove the vulnerabilities
listed in...

Ref: https://issues.redhat.com/browse/EC-1282
@codecov

codecov Bot commented May 20, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.93%. Comparing base (081b9da) to head (9f433b2).
Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2545   +/-   ##
=======================================
  Coverage   68.93%   68.93%           
=======================================
  Files         101      101           
  Lines        8534     8534           
=======================================
  Hits         5883     5883           
  Misses       2651     2651           
Flag Coverage Δ
generative 68.93% <ø> (ø)
integration 68.93% <ø> (ø)
unit 68.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@simonbaird

Copy link
Copy Markdown
Member Author

Same change was reviewed already elsewhere. Let's merge.

@simonbaird simonbaird merged commit 6a91e9a into conforma:main May 20, 2025
13 checks passed
@simonbaird simonbaird deleted the ubi9-and-go-toolset-update branch May 20, 2025 20:22
@simonbaird

Copy link
Copy Markdown
Member Author

Somehow this didn't trigger an on-push Konflux build. 🤔

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.

1 participant