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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CRC environment",
"image": "registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.19",
"image": "registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20",

"customizations": {
"vscode": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/choco-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os:
- windows-2022
go:
- '1.23'
- '1.24'
steps:
- name: Check out repository code
uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- macOS-13
- macOS-14
go:
- '1.23'
- '1.24'
steps:
# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Setup tmate session
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-check-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os:
- windows-2022
go:
- '1.23'
- '1.24'
steps:
- name: Check out repository code
uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- ubuntu-latest
- ubuntu-22.04
go:
- '1.23'
- '1.24'
steps:
- name: Check out repository code
uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os:
- ubuntu-latest
go:
- '1.23'
- '1.24'
steps:
- name: Check out repository code
uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qe-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
go:
- '1.23'
- '1.24'
os: ['linux', 'windows', 'darwin']
arch: ['amd64', 'arm64']
exclude:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-okd-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
go:
- '1.23'
- '1.24'
env:
SHELL: /bin/bash
KUBECONFIG: '/Users/runner/.kube/config'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
verify-devcontainer:
runs-on: ubuntu-24.04
container:
image: registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.19
image: registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20
options: --cpus 4
steps:
- name: Run `git clone`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
os: ['windows-2022']
go: ['1.23']
go: ['1.24']
steps:
- name: Check out repository code
uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os:
- windows-2022
go:
- '1.23'
- '1.24'
steps:
- name: Check out repository code
uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RELEASE_DIR ?= release

GOOS ?= $(shell go env GOOS)
GOARCH ?= $(shell go env GOARCH)
GOVERSION = 1.23
GOVERSION = 1.24

HOST_BUILD_DIR=$(BUILD_DIR)/$(GOOS)-$(GOARCH)
GOPATH ?= $(shell go env GOPATH)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/crc-org/crc/v2

go 1.23.0
go 1.24.0

require (
github.com/AlecAivazis/survey/v2 v2.3.7
Expand Down
2 changes: 1 addition & 1 deletion images/build-e2e/Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.19 AS builder
FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20 AS builder

USER root

Expand Down
2 changes: 1 addition & 1 deletion images/build-integration/Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.19 AS builder
FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20 AS builder

USER root

Expand Down
4 changes: 2 additions & 2 deletions images/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.19 AS builder
FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20 AS builder
MAINTAINER CRC <[email protected]>

WORKDIR /opt/src
COPY . .
RUN make cross

FROM registry.access.redhat.com/ubi9/ubi
COPY --from=builder /opt/src/out/ /opt/
COPY --from=builder /opt/src/out/ /opt/
2 changes: 1 addition & 1 deletion images/openshift-ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This Dockerfile is used by openshift CI
# It builds an image containing crc and nss-wrapper for remote deployments, as well as the google cloud-sdk for nested GCE environments.

FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.19 AS builder
FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20 AS builder
WORKDIR /go/src/github.com/crc-org/crc
COPY . .
RUN make release
Expand Down
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/crc-org/crc/tools

go 1.23.1
go 1.24.1

require (
github.com/cfergeau/gomod2rpmdeps v0.0.0-20210223144124-2042c4850ca8
Expand Down
8 changes: 4 additions & 4 deletions update-go-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ go mod edit -go "${golang_base_version}.0"
go mod edit -go "${golang_base_version}.1" tools/go.mod

sed -i "s,^GOVERSION = 1.[0-9]\+,GOVERSION = ${golang_base_version}," Makefile
sed -i "s,^\(FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-\)1.[0-9]\+,\1${golang_base_version}," images/*/Dockerfile
sed -i "s,^\(FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-\)1.[0-9]\+,\1${golang_base_version}," images/*/Containerfile
sed -i "s,\(registry.ci.openshift.org/openshift/release:rhel-8-release-golang-\)1.[0-9]\+,\1${golang_base_version}," .devcontainer/devcontainer.json
sed -i "s,^\(FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-\)1.[0-9]\+,\1${golang_base_version}," images/*/Dockerfile
sed -i "s,^\(FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-\)1.[0-9]\+,\1${golang_base_version}," images/*/Containerfile
sed -i "s,\(registry.ci.openshift.org/openshift/release:rhel-9-release-golang-\)1.[0-9]\+,\1${golang_base_version}," .devcontainer/devcontainer.json
for f in .github/workflows/*.yml; do
if [ $(yq eval '.jobs.build.strategy.matrix | has("go")' "$f") == "true" ]; then
yq eval --inplace ".jobs.build.strategy.matrix.go[0] = ${golang_base_version} | .jobs.build.strategy.matrix.go[0] style=\"single\"" "$f";
Expand All @@ -25,4 +25,4 @@ for f in .github/workflows/*.yml; do
fi
done
# Use sed for verify-devcontainer because image is from registry.ci.openshift
sed -i "s,\(registry.ci.openshift.org/openshift/release:rhel-8-release-golang-\)1.[0-9]\+,\1${golang_base_version}," .github/workflows/verify-devcontainer.yml
sed -i "s,\(registry.ci.openshift.org/openshift/release:rhel-9-release-golang-\)1.[0-9]\+,\1${golang_base_version}," .github/workflows/verify-devcontainer.yml
Loading