Skip to content

Commit

Permalink
go1.15.2 (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick authored Sep 9, 2020
1 parent dac38b5 commit 57abd96
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 46 deletions.
12 changes: 6 additions & 6 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ kind: 'pipeline',
name: 'default',
steps: [
BuildStepDry('base'),
BuildStepDry('go-1.15.1'),
BuildStepDry('go-1.14.8'),
BuildStepDry('go-1.15.2'),
BuildStepDry('go-1.14.9'),

BuildStep('base'),
BuildStep('go-1.15.1', 'build-base'),
BuildStep('go-1.15.x', 'build-go-1.15.1'),
BuildStep('go-1.14.8', 'build-base'),
BuildStep('go-1.14.x', 'build-go-1.14.8'),
BuildStep('go-1.15.2', 'build-base'),
BuildStep('go-1.15.x', 'build-go-1.15.2'),
BuildStep('go-1.14.9', 'build-base'),
BuildStep('go-1.14.x', 'build-go-1.14.9'),
BuildWithDiffTags('go-latest', 'latest', 'build-go-1.15.x'),
]
}
36 changes: 18 additions & 18 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,34 @@ steps:
event:
- pull_request

- name: dry-run-go-1.15.1
- name: dry-run-go-1.15.2
pull: always
image: plugins/docker
settings:
context: docker/go-1.15.1
dockerfile: docker/go-1.15.1/Dockerfile
context: docker/go-1.15.2
dockerfile: docker/go-1.15.2/Dockerfile
dry_run: true
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.15.1
tags: go-1.15.2
username:
from_secret: docker_username
when:
event:
- pull_request

- name: dry-run-go-1.14.8
- name: dry-run-go-1.14.9
pull: always
image: plugins/docker
settings:
context: docker/go-1.14.8
dockerfile: docker/go-1.14.8/Dockerfile
context: docker/go-1.14.9
dockerfile: docker/go-1.14.9/Dockerfile
dry_run: true
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.14.8
tags: go-1.14.9
username:
from_secret: docker_username
when:
Expand All @@ -77,16 +77,16 @@ steps:
exclude:
- pull_request

- name: build-go-1.15.1
- name: build-go-1.15.2
pull: always
image: plugins/docker
settings:
context: docker/go-1.15.1
dockerfile: docker/go-1.15.1/Dockerfile
context: docker/go-1.15.2
dockerfile: docker/go-1.15.2/Dockerfile
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.15.1
tags: go-1.15.2
username:
from_secret: docker_username
when:
Expand Down Expand Up @@ -117,18 +117,18 @@ steps:
exclude:
- pull_request
depends_on:
- build-go-1.15.1
- build-go-1.15.2

- name: build-go-1.14.8
- name: build-go-1.14.9
pull: always
image: plugins/docker
settings:
context: docker/go-1.14.8
dockerfile: docker/go-1.14.8/Dockerfile
context: docker/go-1.14.9
dockerfile: docker/go-1.14.9/Dockerfile
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.14.8
tags: go-1.14.9
username:
from_secret: docker_username
when:
Expand Down Expand Up @@ -159,7 +159,7 @@ steps:
exclude:
- pull_request
depends_on:
- build-go-1.14.8
- build-go-1.14.9

- name: build-go-latest
pull: always
Expand Down
10 changes: 0 additions & 10 deletions docker/go-1.14.8/Dockerfile

This file was deleted.

10 changes: 10 additions & 0 deletions docker/go-1.14.9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM techknowlogick/xgo:base

# Configure the root Go distribution and bootstrap based on it
ENV GO_VERSION 1149

RUN \
export ROOT_DIST=https://dl.google.com/go/go1.14.9.linux-amd64.tar.gz && \
export ROOT_DIST_SHA=f0d26ff572c72c9823ae752d3c81819a81a60c753201f51f89637482531c110a && \
\
$BOOTSTRAP_PURE
2 changes: 1 addition & 1 deletion docker/go-1.14.x/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM techknowlogick/xgo:go-1.14.8
FROM techknowlogick/xgo:go-1.14.9
10 changes: 0 additions & 10 deletions docker/go-1.15.1/Dockerfile

This file was deleted.

10 changes: 10 additions & 0 deletions docker/go-1.15.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM techknowlogick/xgo:base

# Configure the root Go distribution and bootstrap based on it
ENV GO_VERSION 1151

RUN \
export ROOT_DIST=https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
export ROOT_DIST_SHA=b49fda1ca29a1946d6bb2a5a6982cf07ccd2aba849289508ee0f9918f6bb4552 && \
\
$BOOTSTRAP_PURE
2 changes: 1 addition & 1 deletion docker/go-1.15.x/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM techknowlogick/xgo:go-1.15.1
FROM techknowlogick/xgo:go-1.15.2

0 comments on commit 57abd96

Please sign in to comment.