Skip to content

Commit

Permalink
chore(build): upgrade Go to 1.22.7 (#6108)
Browse files Browse the repository at this point in the history
* chore: upgrade Ubuntu image due the EOL
  • Loading branch information
bednar authored Sep 20, 2024
1 parent 85041e4 commit 00e71ab
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chronograf-cypress-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion etc/Dockerfile_build
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
2 changes: 1 addition & 1 deletion etc/scripts/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
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/influxdata/chronograf

go 1.21
go 1.22

require (
cloud.google.com/go/bigtable v1.10.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion server/protoboards_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 00e71ab

Please sign in to comment.