Skip to content

Conversation

@kolyshkin
Copy link
Contributor

@kolyshkin kolyshkin commented Nov 11, 2025

This is a backport of #4997 (and #4850) to release-1.2, plus a bump of GO_VERSION in Dockefile to a supported version.

Related to #4969 / alternative to #4987.

Fails CI without bumping Go version in Dockerfile to a supported release:

Go version used in Dockerfile: 1.23
Checking if Go 1.23 is supported ... false

CI is green with the Go version bump:

Go version used in Dockerfile: 1.24
Checking if Go 1.24 is supported ... true
Checking if Go 1.24 is tested against ... true

dependabot bot and others added 2 commits November 10, 2025 23:51
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit cfb22c9)
Signed-off-by: Kir Kolyshkin <[email protected]>
For some reason, some jobs in .github/workflows/validate.yml
have "fetch-depth: 0" argument to actions/checkout, meaning
"all history for all branches and tags". Obviously this is
not needed here.

Signed-off-by: Kir Kolyshkin <[email protected]>
(cherry picked from commit e0b0017)
Signed-off-by: Kir Kolyshkin <[email protected]>
@kolyshkin kolyshkin changed the base branch from main to release-1.2 November 11, 2025 07:53
@kolyshkin kolyshkin closed this Nov 11, 2025
@kolyshkin kolyshkin reopened this Nov 11, 2025
@kolyshkin
Copy link
Contributor Author

Failed CI as expected:

Go version used in Dockerfile: 1.23
Checking if Go 1.23 is supported ... false

Now adding a commit to bump Go to 1.23 in Dockerfile.

@kolyshkin
Copy link
Contributor Author

Succeeds after Go version bump in Dockerfile:

Go version used in Dockerfile: 1.24
Checking if Go 1.24 is supported ... true
Checking if Go 1.24 is tested against ... true

@kolyshkin kolyshkin added this to the 1.2.9 milestone Nov 11, 2025
@kolyshkin kolyshkin marked this pull request as ready for review November 11, 2025 08:02
@kolyshkin kolyshkin changed the title [1.2] check go version in Dockerfile [1.2] check/bump go version in Dockerfile Nov 11, 2025
@kolyshkin kolyshkin added the backport/1.2-pr A backport PR to release-1.2 label Nov 11, 2025
This is to ensure that Go version in Dockerfile (which is used to build
release binaries) is:
 - currently supported;
 - used in CI tests.

Signed-off-by: Kir Kolyshkin <[email protected]>
(cherry picked from commit df4acc8)
Signed-off-by: Kir Kolyshkin <[email protected]>
Since Go 1.23 is no longer supported, we should not use it.
Go 1.23 is still supported and is probably the best bet for
the release-1.2 branch.

Signed-off-by: Kir Kolyshkin <[email protected]>
@kolyshkin kolyshkin marked this pull request as draft November 12, 2025 04:25
@cyphar cyphar marked this pull request as ready for review November 12, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.2-pr A backport PR to release-1.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants