chore(build): upgrade Go to 1.22.7 (#6108)

* chore: upgrade Ubuntu image due the EOL
pull/6110/head
Jakub Bednář 2024-09-20 14:05:55 +02:00 committed by GitHub
parent 85041e4216
commit 00e71abf55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 13 additions and 13 deletions

View File

@ -72,10 +72,10 @@ workflows:
jobs:
build:
environment:
DOCKER_TAG: chronograf-20240710
DOCKER_TAG: chronograf-20240919
GO111MODULE: "ON"
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2204:current
steps:
- checkout
- run: |
@ -96,10 +96,10 @@ jobs:
deploy-nightly:
environment:
DOCKER_TAG: chronograf-20240710
DOCKER_TAG: chronograf-20240919
GO111MODULE: "ON"
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2204:current
steps:
- attach_workspace:
at: /home/circleci
@ -125,10 +125,10 @@ jobs:
deploy-pre-release:
environment:
DOCKER_TAG: chronograf-20240710
DOCKER_TAG: chronograf-20240919
GO111MODULE: "ON"
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2204:current
steps:
- attach_workspace:
at: /home/circleci
@ -160,10 +160,10 @@ jobs:
deploy-release:
environment:
DOCKER_TAG: chronograf-20240710
DOCKER_TAG: chronograf-20240919
GO111MODULE: "ON"
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2204:current
steps:
- attach_workspace:
at: /home/circleci

View File

@ -26,7 +26,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.21.12'
go-version: '1.22.7'
- uses: actions/setup-node@v2
with:

View File

@ -34,7 +34,7 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
# Install go
ENV GOPATH /root/go
ENV GO_VERSION 1.21.12
ENV GO_VERSION 1.22.7
ENV GO_ARCH amd64
ENV GO111MODULES ON
RUN wget https://golang.org/dl/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \

View File

@ -14,7 +14,7 @@ test -z $SSH_KEY_PATH && SSH_KEY_PATH="$HOME/.ssh/id_rsa"
echo "Using SSH key located at: $SSH_KEY_PATH"
# Default docker tag if not specified
test -z "$DOCKER_TAG" && DOCKER_TAG="chronograf-20240710"
test -z "$DOCKER_TAG" && DOCKER_TAG="chronograf-20240919"
docker run \
-e AWS_ACCESS_KEY_ID \

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/influxdata/chronograf
go 1.21
go 1.22
require (
cloud.google.com/go/bigtable v1.10.0 // indirect

View File

@ -239,7 +239,7 @@ func Test_ProtoboardsID(t *testing.T) {
wants: wants{
statusCode: http.StatusOK,
contentType: "application/json",
body: `{"id":"1","meta":{"name":"","version":"","dashboardVersion":""},"data":{"cells":null},"links":{"self":"/chronograf/v1/protoboards/1"}}`,
body: `{"id":"1","meta":{"name":"","version":"","measurements":null,"dashboardVersion":""},"data":{"cells":null,"templates":null},"links":{"self":"/chronograf/v1/protoboards/1"}}`,
},
args: args{
id: "1",