Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(maint) bump git to 1.13 for build and test #338

Merged
merged 1 commit into from
Oct 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ platform:

steps:
- name: vet
image: golang:1.11
image: golang:1.13
commands:
- go vet ./...
environment:
Expand All @@ -18,7 +18,7 @@ steps:
path: /go

- name: test
image: golang:1.11
image: golang:1.13
commands:
- go test -cover ./...
environment:
Expand Down Expand Up @@ -161,7 +161,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -173,7 +173,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -184,7 +184,7 @@ steps:
- tag

- name: executable
image: golang:1.11
image: golang:1.13
commands:
- ./release/linux/amd64/drone-docker --help

Expand Down Expand Up @@ -224,7 +224,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm64/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -236,7 +236,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm64/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -247,7 +247,7 @@ steps:
- tag

- name: executable
image: golang:1.11
image: golang:1.13
commands:
- ./release/linux/arm64/drone-docker --help

Expand Down Expand Up @@ -287,7 +287,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -299,7 +299,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -310,7 +310,7 @@ steps:
- tag

- name: executable
image: golang:1.11
image: golang:1.13
commands:
- ./release/linux/arm/drone-docker --help

Expand Down Expand Up @@ -383,7 +383,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr"
environment:
Expand All @@ -395,7 +395,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr"
environment:
Expand Down Expand Up @@ -441,7 +441,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm64/drone-gcr ./cmd/drone-gcr"
environment:
Expand All @@ -453,7 +453,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm64/drone-gcr ./cmd/drone-gcr"
environment:
Expand Down Expand Up @@ -499,7 +499,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm/drone-gcr ./cmd/drone-gcr"
environment:
Expand All @@ -511,7 +511,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm/drone-gcr ./cmd/drone-gcr"
environment:
Expand Down Expand Up @@ -587,7 +587,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr"
environment:
Expand All @@ -599,7 +599,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr"
environment:
Expand Down Expand Up @@ -645,7 +645,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm64/drone-ecr ./cmd/drone-ecr"
environment:
Expand All @@ -657,7 +657,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm64/drone-ecr ./cmd/drone-ecr"
environment:
Expand Down Expand Up @@ -703,7 +703,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm/drone-ecr ./cmd/drone-ecr"
environment:
Expand All @@ -715,7 +715,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm/drone-ecr ./cmd/drone-ecr"
environment:
Expand Down Expand Up @@ -791,7 +791,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku"
environment:
Expand All @@ -803,7 +803,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku"
environment:
Expand Down Expand Up @@ -849,7 +849,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm64/drone-heroku ./cmd/drone-heroku"
environment:
Expand All @@ -861,7 +861,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm64/drone-heroku ./cmd/drone-heroku"
environment:
Expand Down Expand Up @@ -907,7 +907,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm/drone-heroku ./cmd/drone-heroku"
environment:
Expand All @@ -919,7 +919,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm/drone-heroku ./cmd/drone-heroku"
environment:
Expand Down Expand Up @@ -995,7 +995,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-acr ./cmd/drone-acr"
environment:
Expand All @@ -1007,7 +1007,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-acr ./cmd/drone-acr"
environment:
Expand Down Expand Up @@ -1053,7 +1053,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-acr ./cmd/drone-acr"
environment:
Expand All @@ -1065,7 +1065,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-acr ./cmd/drone-acr"
environment:
Expand Down Expand Up @@ -1111,7 +1111,7 @@ platform:

steps:
- name: build-push
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-acr ./cmd/drone-acr"
environment:
Expand All @@ -1123,7 +1123,7 @@ steps:
- tag

- name: build-tag
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-acr ./cmd/drone-acr"
environment:
Expand Down
2 changes: 1 addition & 1 deletion pipeline.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local test_pipeline_name = 'testing';
local windows(os) = os == 'windows';

local golang_image(os, version) =
'golang:' + '1.11' + if windows(os) then '-windowsservercore-' + version else '';
'golang:' + '1.13' + if windows(os) then '-windowsservercore-' + version else '';

{
test(os='linux', arch='amd64', version='')::
Expand Down