Skip to content

Commit

Permalink
Upgrade to Go 1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrolds committed Feb 18, 2025
1 parent fa9bccc commit fd8101b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions changelog/v0.38.0/go-124.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
changelog:
- type: BREAKING_CHANGE
description: >
Bump dependencies to support Go 1.24
issueLink: https://github.com/solo-io/solo-projects/issues/7609
resolvesIssue: false
6 changes: 3 additions & 3 deletions cloudbuild-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ steps:
path: /root/.ssh
id: 'untar-mod-cache'

- name: 'golang:1.23.0'
- name: 'golang:1.24'
args: ['go', 'mod', 'download', 'all']
volumes: *vol
id: 'download'

- name: 'golang:1.23.0'
- name: 'golang:1.24'
args: ['go', 'mod', 'tidy']
volumes: *vol
id: 'tidy'

- name: 'golang:1.23.0'
- name: 'golang:1.24'
entrypoint: 'bash'
volumes: *vol
args: ['-c', ' cd /go/pkg && tar -zvcf solo-kit-mod.tar.gz mod']
Expand Down
8 changes: 4 additions & 4 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
dir: &dir '/workspace/solo-kit'

# prepare-workspace to set up the project so it can be built and tested
- name: 'gcr.io/$PROJECT_ID/prepare-go-workspace:0.11.1'
- name: 'gcr.io/$PROJECT_ID/prepare-go-workspace:0.12.0'
args:
- "--repo-name"
- "$REPO_NAME"
Expand All @@ -20,14 +20,14 @@ steps:
id: 'prepare-workspace'

# download massive container in parallel
- name: 'gcr.io/$PROJECT_ID/e2e-go-mod-ginkgo:0.11.1'
- name: 'gcr.io/$PROJECT_ID/e2e-go-mod-ginkgo:0.12.0'
entrypoint: 'bash'
dir: *dir
args: ['-c', 'ls']
waitFor: ['-']

# Installs go executables required by codegen tests
- name: 'gcr.io/$PROJECT_ID/go-mod-make:0.11.1'
- name: 'gcr.io/$PROJECT_ID/go-mod-make:0.12.0'
args: ['update-all']
waitFor: ['prepare-workspace']
id: 'update-deps'
Expand Down Expand Up @@ -55,7 +55,7 @@ steps:
# e2e-go-mod-ginkgo is produced from https://github.com/solo-io/cloud-builders/tree/master/e2e-go-mod-ginkgo
# sets up redis, consul, kubectl, go with required environment variables
# need to use the provided entrypoint
- name: 'gcr.io/$PROJECT_ID/e2e-go-mod-ginkgo:0.11.1'
- name: 'gcr.io/$PROJECT_ID/e2e-go-mod-ginkgo:0.12.0'
dir: *dir
entrypoint: 'make'
args:
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/solo-io/solo-kit

go 1.23.3
go 1.24

require (
cuelang.org/go v0.3.2
Expand Down

0 comments on commit fd8101b

Please sign in to comment.