Skip to content

Update ubi9 and go toolset (v06)#2544

Merged
simonbaird merged 2 commits into
conforma:release-v0.6from
simonbaird:ubi9-and-go-toolset-update-v06
May 20, 2025
Merged

Update ubi9 and go toolset (v06)#2544
simonbaird merged 2 commits into
conforma:release-v0.6from
simonbaird:ubi9-and-go-toolset-update-v06

Conversation

@simonbaird

Copy link
Copy Markdown
Member

Similar to #2543 but without the changes to the rpm lock file (since we don't install git in this 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`.

This was cherry-picked from a commit I created a short time ago in
in the release-v0.5 branch.

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 72.90%. Comparing base (4ab06c0) to head (5626f56).
Report is 3 commits behind head on release-v0.6.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##           release-v0.6    #2544   +/-   ##
=============================================
  Coverage         72.90%   72.90%           
=============================================
  Files                89       89           
  Lines              7711     7711           
=============================================
  Hits               5622     5622           
  Misses             2089     2089           
Flag Coverage Δ
generative 72.90% <ø> (ø)
integration 72.90% <ø> (ø)
unit 72.90% <ø> (ø)

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 added a commit to simonbaird/conforma-cli that referenced this pull request May 20, 2025
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
@simonbaird

Copy link
Copy Markdown
Member Author

Same thing as #2543 so no need for re-review.

@simonbaird simonbaird merged commit 266ddb7 into conforma:release-v0.6 May 20, 2025
7 checks passed
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