Upgrade GOLANG_VERSION to 1.17 (#1741)

* Upgrade GOLANG_VERSION to 1.17

Fixes ##1740

* feat: upgrade to go1.17

Co-authored-by: shangji.liu <shangji.liu@qingteng.cn>
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
This commit is contained in:
jason-liew
2021-12-03 13:56:05 +08:00
committed by GitHub
parent fd54babfae
commit 535c26b0e0
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
- name: setup-go
uses: actions/setup-go@v2
with:
go-version: 1.14
go-version: 1.17
- name: capture current date
id: date
run: echo "::set-output name=date::$(date -u '+%Y-%m-%d-%H:%M:%S-%Z')"
+1 -1
View File
@@ -1,4 +1,4 @@
ARG GOLANG_VERSION=1.14
ARG GOLANG_VERSION=1.17
FROM golang:$GOLANG_VERSION
RUN echo $GOLANG_VERSION
+1 -1
View File
@@ -2,7 +2,7 @@ VERSION = "unset"
DATE=$(shell date -u +%Y-%m-%d-%H:%M:%S-%Z)
ifndef GOLANG_VERSION
override GOLANG_VERSION = 1.14
override GOLANG_VERSION = 1.17
endif
.PHONY: build
+1 -1
View File
@@ -10,7 +10,7 @@ environment:
GOPROXY: https://proxy.golang.org
SKIP_UNTIL_113: true
stack: go 1.14
stack: go 1.17
test_script:
- go version
+1 -1
View File
@@ -5,7 +5,7 @@
# You can override the Go version used to build the image.
# See project Makefile if using make.
# See docker --build-arg if building directly.
ARG GOLANG_VERSION=1.14
ARG GOLANG_VERSION=1.17
ARG ALPINE_VERSION=3.14.2
FROM golang:${GOLANG_VERSION}-alpine AS builder
+3 -3
View File
@@ -5,7 +5,7 @@ services:
context: .
dockerfile: cmd/proxy/Dockerfile
args:
GOLANG_VERSION: 1.14
GOLANG_VERSION: 1.17
environment:
- ATHENS_MONGO_STORAGE_URL=mongodb://mongo:27017
- TIMEOUT=20 # in case the mongo dependency takes longer to start up
@@ -20,7 +20,7 @@ services:
context: .
dockerfile: Dockerfile.test
args:
GOLANG_VERSION: 1.14
GOLANG_VERSION: 1.17
command: ["./scripts/test_unit.sh"]
environment:
- GO_ENV=test
@@ -36,7 +36,7 @@ services:
context: .
dockerfile: Dockerfile.test
args:
GOLANG_VERSION: 1.14
GOLANG_VERSION: 1.17
command: ["./scripts/test_e2e.sh"]
azurite:
image: arafato/azurite:2.6.5
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.14-stretch
FROM golang:1.17-stretch
WORKDIR /tmp