add drone

This commit is contained in:
Lunny Xiao 2021-07-22 16:23:59 +08:00
parent 20b8a90e17
commit da5cb76f3f
1 changed files with 36 additions and 0 deletions

View File

@ -363,6 +363,41 @@ services:
commands:
- /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
name: merge_coverage
@ -374,6 +409,7 @@ depends_on:
- test-mssql
- test-tidb
- test-cockroach
- test-dm
trigger:
ref:
- refs/heads/master