Enable dameng ci

This commit is contained in:
Lunny Xiao 2021-08-24 13:46:52 +08:00
parent eeb7fcf22c
commit c0e12bba3d
1 changed files with 32 additions and 32 deletions

View File

@ -363,40 +363,40 @@ 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 30
# - make test-dameng
---
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 30
- make test-dameng
# volumes:
# - name: cache
# host:
# path: /tmp/cache
volumes:
- name: cache
host:
path: /tmp/cache
# services:
# - name: dameng
# image: lunny/dm:v1.0
# commands:
# - /bin/bash /startDm.sh
services:
- name: dameng
image: lunny/dm:v1.0
commands:
- /bin/bash /startDm.sh
---
kind: pipeline