Skip to content

Commit

Permalink
Dockerfile, drone: Go 1.13rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Aug 23, 2019
1 parent 7499667 commit f105e5b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.12.9-alpine AS build
FROM golang:1.13rc1-alpine AS build

ARG GOPROXY=https://proxy.golang.org
ARG GOPROXY=https://proxy.golang.org,https://gocenter.io,direct

ENV CGO_ENABLED 0
WORKDIR /code
Expand Down
2 changes: 1 addition & 1 deletion drone/ci.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// the first version is used to build the binary that gets shipped to Docker Hub.
local go_versions = ['1.12.9', '1.11.13', '1.13beta1'];
local go_versions = ['1.13rc1', '1.12.9', '1.11.13'];

local goproxy = 'https://proxy.golang.org';

Expand Down
38 changes: 19 additions & 19 deletions drone/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# DO NOT MODIFY - AUTO GENERATED

kind: pipeline
name: go-1.12.9
name: go-1.13rc1

platform:
os: linux
Expand All @@ -14,7 +14,7 @@ workspace:

steps:
- name: mod-download
image: golang:1.12.9
image: golang:1.13rc1
commands:
- go mod download
environment:
Expand All @@ -23,12 +23,12 @@ steps:
- clone

- name: coverage
image: golang:1.12.9
image: golang:1.13rc1
commands:
- apt update
- apt install -y redis-server
- "redis-server &>/dev/null &"
- "timeout 10 sh -c \"while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done\""
- redis-server &>/dev/null &
- timeout 10 sh -c "while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done"
- make gocoverage
depends_on:
- mod-download
Expand All @@ -42,7 +42,7 @@ steps:
- mod-download

- name: build
image: golang:1.12.9
image: golang:1.13rc1
commands:
- make build
environment:
Expand Down Expand Up @@ -92,7 +92,7 @@ steps:
from_secret: docker_username
when:
ref:
- "refs/tags/*"
- refs/tags/*
- refs/heads/master
depends_on:
- coverage
Expand All @@ -116,7 +116,7 @@ steps:

---
kind: pipeline
name: go-1.11.13
name: go-1.12.9

platform:
os: linux
Expand All @@ -128,7 +128,7 @@ workspace:

steps:
- name: mod-download
image: golang:1.11.13
image: golang:1.12.9
commands:
- go mod download
environment:
Expand All @@ -137,12 +137,12 @@ steps:
- clone

- name: coverage
image: golang:1.11.13
image: golang:1.12.9
commands:
- apt update
- apt install -y redis-server
- "redis-server &>/dev/null &"
- "timeout 10 sh -c \"while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done\""
- redis-server &>/dev/null &
- timeout 10 sh -c "while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done"
- make gocoverage
depends_on:
- mod-download
Expand All @@ -156,7 +156,7 @@ steps:
- mod-download

- name: build
image: golang:1.11.13
image: golang:1.12.9
commands:
- make build
environment:
Expand All @@ -182,7 +182,7 @@ steps:

---
kind: pipeline
name: go-1.13beta1
name: go-1.11.13

platform:
os: linux
Expand All @@ -194,7 +194,7 @@ workspace:

steps:
- name: mod-download
image: golang:1.13beta1
image: golang:1.11.13
commands:
- go mod download
environment:
Expand All @@ -203,12 +203,12 @@ steps:
- clone

- name: coverage
image: golang:1.13beta1
image: golang:1.11.13
commands:
- apt update
- apt install -y redis-server
- "redis-server &>/dev/null &"
- "timeout 10 sh -c \"while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done\""
- redis-server &>/dev/null &
- timeout 10 sh -c "while ! redis-cli ping; do echo waiting for redis-server to start; sleep 1; done"
- make gocoverage
depends_on:
- mod-download
Expand All @@ -222,7 +222,7 @@ steps:
- mod-download

- name: build
image: golang:1.13beta1
image: golang:1.11.13
commands:
- make build
environment:
Expand Down

0 comments on commit f105e5b

Please sign in to comment.