From c7f3c3cae9819f3891c10556d333ea93f9cb8e97 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 21 Jul 2021 13:25:48 +0800 Subject: [PATCH] Update drone.yml --- .drone.yml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/.drone.yml b/.drone.yml index 11c8040a..5afe62bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -403,6 +403,10 @@ kind: pipeline name: test-oracle depends_on: - test-cockroach +trigger: + ref: + - refs/heads/master + - refs/pull/*/head steps: - name: test-oracle pull: never @@ -418,25 +422,7 @@ steps: TEST_CACHE_ENABLE: false commands: - make test-oracle - -- name: test-oracle-schema - pull: never - image: golang:1.15 - depends_on: - - test-oracle - volumes: - - name: cache - path: /go/pkg/mod - environment: - TEST_ORACLE_SCHEMA: xorm - TEST_ORACLE_HOST: oracle:1521 - TEST_ORACLE_DBNAME: xe - TEST_ORACLE_USERNAME: system - TEST_ORACLE_PASSWORD: oracle - TEST_CACHE_ENABLE: true - SCHEMA: xorm - commands: - - make test-oracle + - TEST_ORACLE_SCHEMA=xorm make test-oracle volumes: - name: cache