go1.15 (#12475)
* go1.15 * update makefile xgo version * fix vet issue * update docs to version of go in use * add TODO for asyncpreemptoff Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
e01bac8404
commit
bd7d6a3d73
6 changed files with 20 additions and 18 deletions
28
.drone.yml
28
.drone.yml
|
@ -26,7 +26,7 @@ steps:
|
|||
|
||||
- name: lint-backend
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make lint-backend
|
||||
environment:
|
||||
|
@ -53,7 +53,7 @@ steps:
|
|||
|
||||
- name: build-backend-arm64
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
environment:
|
||||
GO111MODULE: on
|
||||
GOPROXY: off
|
||||
|
@ -67,7 +67,7 @@ steps:
|
|||
|
||||
- name: build-backend-386
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
environment:
|
||||
GO111MODULE: on
|
||||
GOPROXY: off
|
||||
|
@ -150,7 +150,7 @@ steps:
|
|||
|
||||
- name: build
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make backend
|
||||
environment:
|
||||
|
@ -166,7 +166,7 @@ steps:
|
|||
|
||||
- name: unit-test
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make unit-test-coverage test-check
|
||||
environment:
|
||||
|
@ -177,7 +177,7 @@ steps:
|
|||
|
||||
- name: test-mysql
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
|
@ -192,7 +192,7 @@ steps:
|
|||
|
||||
- name: test-mysql8
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
|
@ -207,7 +207,7 @@ steps:
|
|||
|
||||
- name: test-mssql
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
|
@ -222,7 +222,7 @@ steps:
|
|||
|
||||
- name: generate-coverage
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make coverage
|
||||
environment:
|
||||
|
@ -295,7 +295,7 @@ steps:
|
|||
|
||||
- name: build
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- make backend
|
||||
environment:
|
||||
|
@ -305,7 +305,7 @@ steps:
|
|||
|
||||
- name: test-sqlite
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
|
@ -319,7 +319,7 @@ steps:
|
|||
|
||||
- name: test-pgsql
|
||||
pull: always
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
|
||||
- apt-get install -y git-lfs
|
||||
|
@ -427,7 +427,7 @@ steps:
|
|||
|
||||
- name: static
|
||||
pull: always
|
||||
image: techknowlogick/xgo:go-1.14.x
|
||||
image: techknowlogick/xgo:go-1.15.x
|
||||
commands:
|
||||
- apt update && apt -y install curl
|
||||
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
|
||||
|
@ -525,7 +525,7 @@ steps:
|
|||
|
||||
- name: static
|
||||
pull: always
|
||||
image: techknowlogick/xgo:go-1.14.x
|
||||
image: techknowlogick/xgo:go-1.15.x
|
||||
commands:
|
||||
- apt update && apt -y install curl
|
||||
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue