From 92062a9d33c99c3936acf4e2807f8d45f9f909c5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 12 Nov 2020 21:03:42 +0100 Subject: [PATCH] disable droneci manager and switch to go1.15 --- .drone.jsonnet | 12 ++++++------ .drone.yml | 18 +++++++++--------- renovate.json | 7 ++++--- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 505aeec..b0b65e2 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -8,7 +8,7 @@ local PipelineTest = { steps: [ { name: 'staticcheck', - image: 'golang:1.14', + image: 'golang:1.15', commands: [ 'go run honnef.co/go/tools/cmd/staticcheck ./...', ], @@ -21,7 +21,7 @@ local PipelineTest = { }, { name: 'lint', - image: 'golang:1.14', + image: 'golang:1.15', commands: [ 'go run golang.org/x/lint/golint -set_exit_status ./...', ], @@ -34,7 +34,7 @@ local PipelineTest = { }, { name: 'vet', - image: 'golang:1.14', + image: 'golang:1.15', commands: [ 'go vet ./...', ], @@ -47,7 +47,7 @@ local PipelineTest = { }, { name: 'test', - image: 'golang:1.14', + image: 'golang:1.15', commands: [ 'go test -cover ./...', ], @@ -81,7 +81,7 @@ local PipelineBuildBinaries = { steps: [ { name: 'build', - image: 'techknowlogick/xgo:go-1.14.x', + image: 'techknowlogick/xgo:go-1.15.x', commands: [ '[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}', 'mkdir -p release/', @@ -149,7 +149,7 @@ local PipelineBuildContainer(arch='amd64') = { steps: [ { name: 'build', - image: 'golang:1.14', + image: 'golang:1.15', commands: [ '[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}', 'go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/' + arch + '/drone-github-comment ./cmd/drone-github-comment', diff --git a/.drone.yml b/.drone.yml index 94b99fc..a4a4b76 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ platform: steps: - name: staticcheck - image: golang:1.14 + image: golang:1.15 commands: - go run honnef.co/go/tools/cmd/staticcheck ./... volumes: @@ -16,7 +16,7 @@ steps: path: /go - name: lint - image: golang:1.14 + image: golang:1.15 commands: - go run golang.org/x/lint/golint -set_exit_status ./... volumes: @@ -24,7 +24,7 @@ steps: path: /go - name: vet - image: golang:1.14 + image: golang:1.15 commands: - go vet ./... volumes: @@ -32,7 +32,7 @@ steps: path: /go - name: test - image: golang:1.14 + image: golang:1.15 commands: - go test -cover ./... volumes: @@ -59,7 +59,7 @@ platform: steps: - name: build - image: techknowlogick/xgo:go-1.14.x + image: techknowlogick/xgo:go-1.15.x commands: - "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}" - mkdir -p release/ @@ -116,7 +116,7 @@ platform: steps: - name: build - image: golang:1.14 + image: golang:1.15 commands: - "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}" - go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/amd64/drone-github-comment ./cmd/drone-github-comment @@ -193,7 +193,7 @@ platform: steps: - name: build - image: golang:1.14 + image: golang:1.15 commands: - "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}" - go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/arm64/drone-github-comment ./cmd/drone-github-comment @@ -270,7 +270,7 @@ platform: steps: - name: build - image: golang:1.14 + image: golang:1.15 commands: - "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}" - go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/arm/drone-github-comment ./cmd/drone-github-comment @@ -432,6 +432,6 @@ depends_on: --- kind: signature -hmac: 674d4c15df2c54a1a0db591ab3eac5c01a893bac05c1bed66e2f1ba1a82cbf9d +hmac: c475b26373c250eff194cba0fabfddb2047242a3cfb3250ab734a2dd4f92507e ... diff --git a/renovate.json b/renovate.json index f45d8f1..a29eb88 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,6 @@ { - "extends": [ - "config:base" - ] + "extends": ["config:base"], + "droneci": { + "enabled": false + } }