Skip to content

Update ubi9 and go toolset (v05)#2543

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

Update ubi9 and go toolset (v05)#2543
simonbaird merged 2 commits into
conforma:release-v0.5from
simonbaird:ubi9-and-go-toolset-update-v05

Conversation

@simonbaird

Copy link
Copy Markdown
Member

Includes an rpm lock file update, and 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

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

Also, update the rpm lock file so we use the newer rpms when
prefetch and hermetically building. Done by running
`hack/update-rpm-lock.sh`

Because this brings in the latest rpms, both in the base image and
in the lock file, it should resolve...

Ref: https://issues.redhat.com/browse/EC-1282
Now that the version we want is available, let's use it. See also
go.mod, which contains `go 1.23.6`.

I decided to do this while looking at previous commit (in
release-v0.5 branch).

It might need to be added to the v0.6 branch and the main branch. I
will have a look shortly.

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

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.11%. Comparing base (14a9d77) to head (c120580).
Report is 3 commits behind head on release-v0.5.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##           release-v0.5    #2543   +/-   ##
=============================================
  Coverage         72.11%   72.11%           
=============================================
  Files                88       88           
  Lines              7347     7347           
=============================================
  Hits               5298     5298           
  Misses             2049     2049           
Flag Coverage Δ
generative 72.11% <ø> (ø)
integration 72.11% <ø> (ø)
unit 72.11% <ø> (ø)

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 simonbaird merged commit 888d788 into conforma:release-v0.5 May 20, 2025
8 checks passed
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
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