diff options
author | techknowlogick <techknowlogick@gitea.io> | 2021-02-28 18:08:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-28 18:08:33 -0500 |
commit | 47f6a4ec3f058f69b65fb6501d6ac98994b8f8da (patch) | |
tree | 4d1421a4c836de9de4014117419c151035c17eec /.drone.yml | |
parent | 030646eea41e17e58e11e73b19339630b6d6148e (diff) | |
download | gitea-47f6a4ec3f058f69b65fb6501d6ac98994b8f8da.tar.gz gitea-47f6a4ec3f058f69b65fb6501d6ac98994b8f8da.zip |
go1.16 (#14783)
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 84 |
1 files changed, 22 insertions, 62 deletions
diff --git a/.drone.yml b/.drone.yml index c0305176da..f64f5e6710 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,10 +6,6 @@ platform: os: linux arch: arm64 -workspace: - base: /go - path: src/code.gitea.io/gitea - trigger: event: - push @@ -31,7 +27,7 @@ steps: - name: lint-backend pull: always - image: golang:1.15 + image: golang:1.16 commands: - make lint-backend environment: @@ -41,7 +37,7 @@ steps: - name: lint-backend-windows pull: always - image: golang:1.15 + image: golang:1.16 commands: - make golangci-lint vet environment: @@ -53,7 +49,7 @@ steps: - name: lint-backend-gogit pull: always - image: golang:1.15 + image: golang:1.16 commands: - make lint-backend environment: @@ -69,7 +65,7 @@ steps: - name: checks-backend pull: always - image: golang:1.15 + image: golang:1.16 commands: - make checks-backend depends_on: [lint-backend] @@ -91,7 +87,7 @@ steps: depends_on: [checks-backend] - name: build-backend-arm64 - image: golang:1.15 + image: golang:1.16 environment: GO111MODULE: on GOPROXY: off @@ -104,7 +100,7 @@ steps: depends_on: [checks-backend] - name: build-backend-windows - image: golang:1.15 + image: golang:1.16 environment: GO111MODULE: on GOPROXY: off @@ -116,7 +112,7 @@ steps: depends_on: [checks-backend] - name: build-backend-386 - image: golang:1.15 + image: golang:1.16 environment: GO111MODULE: on GOPROXY: off @@ -143,10 +139,6 @@ trigger: - tag - pull_request -workspace: - base: /go - path: src/code.gitea.io/gitea - services: - name: mysql image: mysql:5.7 @@ -195,7 +187,7 @@ steps: - name: build pull: always - image: golang:1.15 + image: golang:1.16 commands: - make backend environment: @@ -210,7 +202,7 @@ steps: - git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA} - name: unit-test - image: golang:1.15 + image: golang:1.16 commands: - make unit-test-coverage test-check environment: @@ -221,7 +213,7 @@ steps: - name: unit-test-gogit pull: always - image: golang:1.15 + image: golang:1.16 commands: - make unit-test-coverage test-check environment: @@ -231,7 +223,7 @@ steps: from_secret: github_read_token - name: test-mysql - image: golang:1.15 + image: golang:1.16 commands: - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash" - apt-get install -y git-lfs @@ -246,7 +238,7 @@ steps: - build - name: test-mysql8 - image: golang:1.15 + image: golang:1.16 commands: - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash" - apt-get install -y git-lfs @@ -260,7 +252,7 @@ steps: - build - name: test-mssql - image: golang:1.15 + image: golang:1.16 commands: - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash" - apt-get install -y git-lfs @@ -274,7 +266,7 @@ steps: - build - name: generate-coverage - image: golang:1.15 + image: golang:1.16 commands: - make coverage environment: @@ -324,10 +316,6 @@ trigger: - tag - pull_request -workspace: - base: /go - path: src/code.gitea.io/gitea - services: - name: pgsql pull: default @@ -352,16 +340,16 @@ steps: - name: build pull: always - image: golang:1.15 + image: golang:1.16 commands: - make backend environment: GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not GOSUMDB: sum.golang.org - TAGS: bindata sqlite sqlite_unlock_notify + TAGS: bindata gogit sqlite sqlite_unlock_notify - name: test-sqlite - image: golang:1.15 + image: golang:1.16 commands: - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash" - apt-get install -y git-lfs @@ -375,7 +363,7 @@ steps: - build - name: test-pgsql - image: golang:1.15 + image: golang:1.16 commands: - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash" - apt-get install -y git-lfs @@ -397,10 +385,6 @@ platform: os: linux arch: arm64 -workspace: - base: /go - path: src/code.gitea.io/gitea - trigger: branch: - master @@ -459,11 +443,7 @@ name: update_gitignore_and_licenses platform: os: linux - arch: amd64 - -workspace: - base: /go - path: src/code.gitea.io/gitea + arch: arm64 trigger: branch: @@ -475,7 +455,7 @@ trigger: steps: - name: download - image: golang:1.15 + image: golang:1.16 commands: - timeout -s ABRT 40m make generate-license generate-gitignore @@ -500,10 +480,6 @@ platform: os: linux arch: amd64 -workspace: - base: /go - path: src/code.gitea.io/gitea - trigger: branch: - master @@ -523,7 +499,7 @@ steps: - name: static pull: always - image: techknowlogick/xgo:go-1.15.x + image: techknowlogick/xgo:go-1.16.x commands: - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt -y install nodejs - export PATH=$PATH:$GOPATH/bin @@ -598,10 +574,6 @@ platform: os: linux arch: amd64 -workspace: - base: /go - path: src/code.gitea.io/gitea - trigger: event: - tag @@ -619,7 +591,7 @@ steps: - name: static pull: always - image: techknowlogick/xgo:go-1.15.x + image: techknowlogick/xgo:go-1.16.x commands: - curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt -y install nodejs - export PATH=$PATH:$GOPATH/bin @@ -719,10 +691,6 @@ platform: os: linux arch: amd64 -workspace: - base: /go - path: src/code.gitea.io/gitea - depends_on: - testing-amd64 - testing-arm64 @@ -788,10 +756,6 @@ platform: os: linux arch: arm64 -workspace: - base: /go - path: src/code.gitea.io/gitea - depends_on: - compliance @@ -824,10 +788,6 @@ platform: os: linux arch: arm64 -workspace: - base: /go - path: src/code.gitea.io/gitea - depends_on: - testing-amd64 - testing-arm64 |