|
|
@ -65,7 +65,7 @@ steps: |
|
|
|
|
|
|
|
|
|
|
|
- name: checks-backend |
|
|
|
- name: checks-backend |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make checks-backend |
|
|
|
- make checks-backend |
|
|
|
depends_on: [lint-backend] |
|
|
|
depends_on: [lint-backend] |
|
|
@ -93,7 +93,7 @@ steps: |
|
|
|
depends_on: [checks-backend] |
|
|
|
depends_on: [checks-backend] |
|
|
|
|
|
|
|
|
|
|
|
- name: build-backend-arm64 |
|
|
|
- name: build-backend-arm64 |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
GO111MODULE: on |
|
|
|
GO111MODULE: on |
|
|
|
GOPROXY: off |
|
|
|
GOPROXY: off |
|
|
@ -106,7 +106,7 @@ steps: |
|
|
|
depends_on: [checks-backend] |
|
|
|
depends_on: [checks-backend] |
|
|
|
|
|
|
|
|
|
|
|
- name: build-backend-windows |
|
|
|
- name: build-backend-windows |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
GO111MODULE: on |
|
|
|
GO111MODULE: on |
|
|
|
GOPROXY: off |
|
|
|
GOPROXY: off |
|
|
@ -118,7 +118,7 @@ steps: |
|
|
|
depends_on: [checks-backend] |
|
|
|
depends_on: [checks-backend] |
|
|
|
|
|
|
|
|
|
|
|
- name: build-backend-386 |
|
|
|
- name: build-backend-386 |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
GO111MODULE: on |
|
|
|
GO111MODULE: on |
|
|
|
GOPROXY: off |
|
|
|
GOPROXY: off |
|
|
@ -193,7 +193,7 @@ steps: |
|
|
|
|
|
|
|
|
|
|
|
- name: build |
|
|
|
- name: build |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make backend |
|
|
|
- make backend |
|
|
|
environment: |
|
|
|
environment: |
|
|
@ -208,7 +208,7 @@ steps: |
|
|
|
- git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA} |
|
|
|
- git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA} |
|
|
|
|
|
|
|
|
|
|
|
- name: unit-test |
|
|
|
- name: unit-test |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make unit-test-coverage test-check |
|
|
|
- make unit-test-coverage test-check |
|
|
|
environment: |
|
|
|
environment: |
|
|
@ -218,7 +218,7 @@ steps: |
|
|
|
from_secret: github_read_token |
|
|
|
from_secret: github_read_token |
|
|
|
|
|
|
|
|
|
|
|
- name: unit-test-race |
|
|
|
- name: unit-test-race |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make test-backend |
|
|
|
- make test-backend |
|
|
|
environment: |
|
|
|
environment: |
|
|
@ -230,7 +230,7 @@ steps: |
|
|
|
|
|
|
|
|
|
|
|
- name: unit-test-gogit |
|
|
|
- name: unit-test-gogit |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make unit-test-coverage test-check |
|
|
|
- make unit-test-coverage test-check |
|
|
|
environment: |
|
|
|
environment: |
|
|
@ -277,7 +277,7 @@ steps: |
|
|
|
- build |
|
|
|
- build |
|
|
|
|
|
|
|
|
|
|
|
- name: generate-coverage |
|
|
|
- name: generate-coverage |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make coverage |
|
|
|
- make coverage |
|
|
|
environment: |
|
|
|
environment: |
|
|
@ -351,7 +351,7 @@ steps: |
|
|
|
|
|
|
|
|
|
|
|
- name: build |
|
|
|
- name: build |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make backend |
|
|
|
- make backend |
|
|
|
environment: |
|
|
|
environment: |
|
|
@ -463,7 +463,7 @@ trigger: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: download |
|
|
|
- name: download |
|
|
|
image: golang:1.16 |
|
|
|
image: golang:1.17 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- timeout -s ABRT 40m make generate-license generate-gitignore |
|
|
|
- timeout -s ABRT 40m make generate-license generate-gitignore |
|
|
|
|
|
|
|
|
|
|
|