update go version to v1.17 in .drone.yml
This commit is contained in:
parent
0c9963c637
commit
78c6153adf
65
.drone.yml
65
.drone.yml
|
@ -11,7 +11,7 @@ trigger:
|
||||||
- refs/pull/*/head
|
- refs/pull/*/head
|
||||||
steps:
|
steps:
|
||||||
- name: test-vet
|
- name: test-vet
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
pull: always
|
pull: always
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
|
@ -19,7 +19,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- make vet
|
- make vet
|
||||||
- name: test-sqlite3
|
- name: test-sqlite3
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go/pkg/mod
|
path: /go/pkg/mod
|
||||||
|
@ -31,7 +31,7 @@ steps:
|
||||||
- make test-sqlite3
|
- make test-sqlite3
|
||||||
- TEST_CACHE_ENABLE=true make test-sqlite3
|
- TEST_CACHE_ENABLE=true make test-sqlite3
|
||||||
- name: test-sqlite
|
- name: test-sqlite
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go/pkg/mod
|
path: /go/pkg/mod
|
||||||
|
@ -41,7 +41,7 @@ steps:
|
||||||
- make test-sqlite
|
- make test-sqlite
|
||||||
- TEST_QUOTE_POLICY=reserved make test-sqlite
|
- TEST_QUOTE_POLICY=reserved make test-sqlite
|
||||||
- name: test-mysql
|
- name: test-mysql
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
pull: never
|
pull: never
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
|
@ -58,7 +58,7 @@ steps:
|
||||||
- TEST_CACHE_ENABLE=true make test-mysql
|
- TEST_CACHE_ENABLE=true make test-mysql
|
||||||
|
|
||||||
- name: test-mysql-utf8mb4
|
- name: test-mysql-utf8mb4
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
pull: never
|
pull: never
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
|
@ -98,7 +98,7 @@ trigger:
|
||||||
- refs/pull/*/head
|
- refs/pull/*/head
|
||||||
steps:
|
steps:
|
||||||
- name: test-mysql8
|
- name: test-mysql8
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
pull: never
|
pull: never
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
|
@ -136,7 +136,7 @@ trigger:
|
||||||
- refs/pull/*/head
|
- refs/pull/*/head
|
||||||
steps:
|
steps:
|
||||||
- name: test-mariadb
|
- name: test-mariadb
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
pull: never
|
pull: never
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
|
@ -175,7 +175,7 @@ trigger:
|
||||||
steps:
|
steps:
|
||||||
- name: test-postgres
|
- name: test-postgres
|
||||||
pull: never
|
pull: never
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go/pkg/mod
|
path: /go/pkg/mod
|
||||||
|
@ -190,7 +190,7 @@ steps:
|
||||||
|
|
||||||
- name: test-postgres-schema
|
- name: test-postgres-schema
|
||||||
pull: never
|
pull: never
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go/pkg/mod
|
path: /go/pkg/mod
|
||||||
|
@ -207,7 +207,7 @@ steps:
|
||||||
|
|
||||||
- name: test-pgx
|
- name: test-pgx
|
||||||
pull: never
|
pull: never
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go/pkg/mod
|
path: /go/pkg/mod
|
||||||
|
@ -225,7 +225,7 @@ steps:
|
||||||
|
|
||||||
- name: test-pgx-schema
|
- name: test-pgx-schema
|
||||||
pull: never
|
pull: never
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go/pkg/mod
|
path: /go/pkg/mod
|
||||||
|
@ -267,7 +267,7 @@ trigger:
|
||||||
steps:
|
steps:
|
||||||
- name: test-mssql
|
- name: test-mssql
|
||||||
pull: never
|
pull: never
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go/pkg/mod
|
path: /go/pkg/mod
|
||||||
|
@ -306,7 +306,7 @@ trigger:
|
||||||
steps:
|
steps:
|
||||||
- name: test-tidb
|
- name: test-tidb
|
||||||
pull: never
|
pull: never
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go/pkg/mod
|
path: /go/pkg/mod
|
||||||
|
@ -339,7 +339,7 @@ trigger:
|
||||||
steps:
|
steps:
|
||||||
- name: test-cockroach
|
- name: test-cockroach
|
||||||
pull: never
|
pull: never
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go/pkg/mod
|
path: /go/pkg/mod
|
||||||
|
@ -375,7 +375,7 @@ services:
|
||||||
# steps:
|
# steps:
|
||||||
# - name: test-dameng
|
# - name: test-dameng
|
||||||
# pull: never
|
# pull: never
|
||||||
# image: golang:1.15
|
# image: golang:1.17
|
||||||
# volumes:
|
# volumes:
|
||||||
# - name: cache
|
# - name: cache
|
||||||
# path: /go/pkg/mod
|
# path: /go/pkg/mod
|
||||||
|
@ -398,6 +398,38 @@ services:
|
||||||
# commands:
|
# commands:
|
||||||
# - /bin/bash /startDm.sh
|
# - /bin/bash /startDm.sh
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test-ydb
|
||||||
|
depends_on:
|
||||||
|
- test-cockroach
|
||||||
|
trigger:
|
||||||
|
ref:
|
||||||
|
- refs/heads/master
|
||||||
|
- refs/pull/*/head
|
||||||
|
steps:
|
||||||
|
- name: test-ydb
|
||||||
|
pull: if-not-exists
|
||||||
|
image: golang:1.17
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /go/pkg/mod
|
||||||
|
environment:
|
||||||
|
TEST_YDB_HOST: "ydb:2136"
|
||||||
|
TEST_YDB_DBNAME: "local"
|
||||||
|
commands:
|
||||||
|
- sleep 20
|
||||||
|
# - make test-ydb
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
host:
|
||||||
|
path: /tmp/cache
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: ydb
|
||||||
|
image: cr.yandex/yc/yandex-docker-local-ydb:latest
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: merge_coverage
|
name: merge_coverage
|
||||||
|
@ -410,13 +442,14 @@ depends_on:
|
||||||
- test-tidb
|
- test-tidb
|
||||||
- test-cockroach
|
- test-cockroach
|
||||||
#- test-dameng
|
#- test-dameng
|
||||||
|
- test-ydb
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- refs/pull/*/head
|
- refs/pull/*/head
|
||||||
steps:
|
steps:
|
||||||
- name: merge_coverage
|
- name: merge_coverage
|
||||||
image: golang:1.15
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
- make coverage
|
- make coverage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue