summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-14 03:09:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-14 03:09:01 +0000
commitc60a1173018e93e6bf433f87cb726adc979d1c8a (patch)
tree5231ab640b6b4914e4aee123dd2030a005216303 /lib
parente144369009f3404072f7e0f969f7cded93195a01 (diff)
downloadgitlab-ce-c60a1173018e93e6bf433f87cb726adc979d1c8a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/templates/Jobs/Test.gitlab-ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/gitlab/ci/templates/Jobs/Test.gitlab-ci.yml b/lib/gitlab/ci/templates/Jobs/Test.gitlab-ci.yml
index a0ddd273552..a8e6d263666 100644
--- a/lib/gitlab/ci/templates/Jobs/Test.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Jobs/Test.gitlab-ci.yml
@@ -15,9 +15,7 @@ test:
- export DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DB_HOST}:5432/${POSTGRES_DB}"
- cp -R . /tmp/app
- /bin/herokuish buildpack test
- only:
- - branches
- - tags
- except:
- variables:
- - $TEST_DISABLED
+ rules:
+ - if: '$TEST_DISABLED'
+ when: never
+ - if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH'