Skip to content

Commit

Permalink
Keep the trigger declaration in one place, i.e. in concrete jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Szuba committed Nov 8, 2019
1 parent b0fdbc3 commit 31fa526
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,11 @@ test:perl5.30-mysql:
- master
- /^release/\d+$/
- gitlabci
trigger:
# Use the same branch as in this project
# FIXME: may or may not work with half of the trigger defined here
# and the other in concrete jobs, I tried testing this on
# 2019-11-08 but for some reason none of the jobs would run for
# ensembl:gitlabci and the trigger got stuck. If it doesn't, move this to concrete jobs
branch: xyzzy

# Actual trigger jobs
post:trigger_main:
extends: .dependent_template
trigger:
project: ensembl-gh-mirror/ensembl
# Use the same branch as in this project
branch: ${CI_COMMIT_REF_NAME}

0 comments on commit 31fa526

Please sign in to comment.