Skip to content

Commit f0c5aab

Browse files
authored
Upgrade Go to 1.17.5 for integration tests + Dockerfiles (#4602)
* Upgrade Go to 1.17.5 for integration tests Signed-off-by: Arve Knudsen <[email protected]> * Upgrade to Go 1.17 in Dockerfiles Signed-off-by: Arve Knudsen <[email protected]>
1 parent 8011bfe commit f0c5aab

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

.github/workflows/test-build-deploy.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,9 @@ jobs:
9696
runs-on: ubuntu-20.04
9797
steps:
9898
- name: Upgrade golang
99-
run: |
100-
cd /tmp
101-
wget https://dl.google.com/go/go1.16.6.linux-amd64.tar.gz
102-
tar -zxvf go1.16.6.linux-amd64.tar.gz
103-
sudo rm -fr /usr/local/go
104-
sudo mv /tmp/go /usr/local/go
105-
cd -
99+
uses: actions/setup-go@v2
100+
with:
101+
go-version: 1.17.5
106102
- name: Checkout Repo
107103
uses: actions/checkout@v2
108104
- name: Install Docker Client

build-image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16.6-buster
1+
FROM golang:1.17.5-buster
22
ARG goproxyValue
33
ENV GOPROXY=${goproxyValue}
44
RUN apt-get update && apt-get install -y curl python-requests python-yaml file jq unzip protobuf-compiler libprotobuf-dev && \

development/tsdb-blocks-storage-s3-gossip/dev.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16
1+
FROM golang:1.17
22
ENV CGO_ENABLED=0
33
RUN go get github.com/go-delve/delve/cmd/dlv
44

development/tsdb-blocks-storage-s3/dev.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16
1+
FROM golang:1.17
22
ENV CGO_ENABLED=0
33
RUN go get github.com/go-delve/delve/cmd/dlv
44

0 commit comments

Comments
 (0)