Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2023-08-18 19:02:38 +0300
committerJohn Cai <jcai@gitlab.com>2023-08-29 18:47:18 +0300
commit72ca9f759f1f2b27a8e4ea98bfbc939215fcdb3a (patch)
treedf380d4c98cc48888b655eb1d6907e5f6c4dfb75
parent293da87cea14b58e078243b4768f4e0a91215abf (diff)
.gitlab-ci.yml: Run rails-specs automaticallyjc/rails-specs-auto
Allow rails-specs to automatically run after start-rails-specs instead of itself also being a manual action.
-rw-r--r--.gitlab-ci.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b1ca532e7..030a5e669 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -521,8 +521,9 @@ rails-specs:
GITALY_TEST: "true"
FORCE_GITLAB_CI: "true"
rules:
- - when: manual
+ - if: '"$CI_MERGE_REQUEST_IID" != ""'
allow_failure: true
+ - when: manual
rails-specs-cleanup:
stage: qa
@@ -534,9 +535,6 @@ rails-specs-cleanup:
environment:
name: merge-requests/$RAILS_BRANCH_FOR_JOB
action: stop
- rules:
- - when: manual
- allow_failure: true
cleanup-rails-spec-test-env:
needs: ["rails-specs-cleanup"]