add drone
This commit is contained in:
parent
20b8a90e17
commit
da5cb76f3f
36
.drone.yml
36
.drone.yml
|
@ -363,6 +363,41 @@ services:
|
||||||
commands:
|
commands:
|
||||||
- /cockroach/cockroach start --insecure
|
- /cockroach/cockroach start --insecure
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test-dameng
|
||||||
|
depends_on:
|
||||||
|
- test-cockroach
|
||||||
|
trigger:
|
||||||
|
ref:
|
||||||
|
- refs/heads/master
|
||||||
|
- refs/pull/*/head
|
||||||
|
steps:
|
||||||
|
- name: test-dameng
|
||||||
|
pull: never
|
||||||
|
image: golang:1.15
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /go/pkg/mod
|
||||||
|
environment:
|
||||||
|
TEST_DAMENG_HOST: "dameng:5236"
|
||||||
|
TEST_DAMENG_USERNAME: SYSDBA
|
||||||
|
TEST_DAMENG_PASSWORD: SYSDBA
|
||||||
|
commands:
|
||||||
|
- sleep 10
|
||||||
|
- make test-dameng
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
host:
|
||||||
|
path: /tmp/cache
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: dameng
|
||||||
|
image: lunny/dm:v1.0
|
||||||
|
commands:
|
||||||
|
- /bin/bash /startDm.sh
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: merge_coverage
|
name: merge_coverage
|
||||||
|
@ -374,6 +409,7 @@ depends_on:
|
||||||
- test-mssql
|
- test-mssql
|
||||||
- test-tidb
|
- test-tidb
|
||||||
- test-cockroach
|
- test-cockroach
|
||||||
|
- test-dm
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
|
|
Loading…
Reference in New Issue