chore: bump to go1.20

pull/6026/head
Jeffrey Smith II 2023-02-28 12:31:44 -05:00
parent 6261caad74
commit 9433b97f5d
4 changed files with 12 additions and 13 deletions

View File

@ -37,7 +37,7 @@ workflows:
jobs:
build:
environment:
DOCKER_TAG: chronograf-20220721
DOCKER_TAG: chronograf-20230228
GO111MODULE: "ON"
machine:
image: ubuntu-2004:202201-02
@ -61,7 +61,7 @@ jobs:
deploy-nightly:
environment:
DOCKER_TAG: chronograf-20220721
DOCKER_TAG: chronograf-20230228
GO111MODULE: "ON"
machine:
image: ubuntu-2004:202201-02
@ -90,7 +90,7 @@ jobs:
deploy-pre-release:
environment:
DOCKER_TAG: chronograf-20220721
DOCKER_TAG: chronograf-20230228
GO111MODULE: "ON"
machine:
image: ubuntu-2004:202201-02
@ -121,7 +121,7 @@ jobs:
deploy-release:
environment:
DOCKER_TAG: chronograf-20220721
DOCKER_TAG: chronograf-20230228
GO111MODULE: "ON"
machine:
image: ubuntu-2004:202201-02

View File

@ -26,7 +26,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.18.4'
go-version: '1.20.1'
- uses: actions/setup-node@v2
with:
@ -121,4 +121,3 @@ jobs:
ui/cypress/videos/*.mp4
ui/cypress/screenshots/
ui/cypress/results/results-*.xml

View File

@ -1,4 +1,4 @@
FROM alpine:3.12
FROM alpine:3.17
ENV PROTOBOARDS_PATH /usr/share/chronograf/protoboards
ENV CANNED_PATH /usr/share/chronograf/canned

View File

@ -22,9 +22,9 @@ RUN gem install fpm
# Install node
ENV NODE_VERSION v16.14.2
RUN wget -q https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.gz; \
mkdir /usr/local/node; \
tar -xvf node-${NODE_VERSION}-linux-x64.tar.gz -C /usr/local/node --strip-components=1; \
rm -f node-${NODE_VERSION}-linux-x64.tar.gz
mkdir /usr/local/node; \
tar -xvf node-${NODE_VERSION}-linux-x64.tar.gz -C /usr/local/node --strip-components=1; \
rm -f node-${NODE_VERSION}-linux-x64.tar.gz
ENV PATH=/usr/local/node/bin:$PATH
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
@ -33,12 +33,12 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
# Install go
ENV GOPATH /root/go
ENV GO_VERSION 1.18.4
ENV GO_VERSION 1.20.1
ENV GO_ARCH amd64
ENV GO111MODULES ON
RUN wget https://golang.org/dl/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \
rm /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \
rm /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz
ENV PATH /usr/local/go/bin:$PATH
ENV PROJECT_DIR $GOPATH/src/github.com/influxdata/chronograf