mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
Update builds for Go 1.14 (#1558)
* Update .drone.yml for Go 1.14 * Update appveyor.yml for Go 1.14 * Update Dockerfile.test for Go 1.14 * Update Dockerfile for Go 1.14 * Update scripts/build-image/Dockerfile
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: download-dependencies
|
- name: download-dependencies
|
||||||
image: golang:1.13
|
image: golang:1.14
|
||||||
commands:
|
commands:
|
||||||
# wait for services to be ready.
|
# wait for services to be ready.
|
||||||
- cd scripts/liveness_probe
|
- cd scripts/liveness_probe
|
||||||
@@ -20,7 +20,7 @@ steps:
|
|||||||
path: /go
|
path: /go
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.13
|
image: golang:1.14
|
||||||
commands:
|
commands:
|
||||||
|
|
||||||
# build
|
# build
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
ARG GOLANG_VERSION=1.12
|
ARG GOLANG_VERSION=1.14
|
||||||
FROM golang:$GOLANG_VERSION
|
FROM golang:$GOLANG_VERSION
|
||||||
|
|
||||||
RUN echo $GOLANG_VERSION
|
RUN echo $GOLANG_VERSION
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ environment:
|
|||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
SKIP_UNTIL_113: true
|
SKIP_UNTIL_113: true
|
||||||
|
|
||||||
stack: go 1.13
|
stack: go 1.14
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- go test ./...
|
- go test ./...
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
# You can override the Go version used to build the image.
|
# You can override the Go version used to build the image.
|
||||||
# See project Makefile if using make.
|
# See project Makefile if using make.
|
||||||
# See docker --build-arg if building directly.
|
# See docker --build-arg if building directly.
|
||||||
ARG GOLANG_VERSION=1.13
|
ARG GOLANG_VERSION=1.14
|
||||||
FROM golang:${GOLANG_VERSION}-alpine AS builder
|
FROM golang:${GOLANG_VERSION}-alpine AS builder
|
||||||
|
|
||||||
WORKDIR $GOPATH/src/github.com/gomods/athens
|
WORKDIR $GOPATH/src/github.com/gomods/athens
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.12-stretch
|
FROM golang:1.14-stretch
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user