Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
38470dfe
Commit
38470dfe
authored
5 years ago
by
Marek Szuba
Browse files
Options
Downloads
Patches
Plain Diff
.gitlab-ci.yml: Add rudimentary template for triggering downstream jobs
parent
41efbf46
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!457
Patch to support longer assembly names in the mapping session table.
,
!411
Add an inactive proof-of-concept GitLab-CI config file
,
!411
Add an inactive proof-of-concept GitLab-CI config file
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.inactive.yml
+30
-0
30 additions, 0 deletions
.gitlab-ci.inactive.yml
with
30 additions
and
0 deletions
.gitlab-ci.inactive.yml
+
30
−
0
View file @
38470dfe
...
...
@@ -35,6 +35,10 @@ before_script:
-
cp travisci/MultiTestDB.conf.travisci.SQLite modules/t/MultiTestDB.conf.SQLite
-
mysql -u root -h mysql -e 'GRANT ALL PRIVILEGES ON *.* TO "travis"@"%"'
#
# Test jobs
#
test:perl5.14-sqlite
:
stage
:
test
image
:
perl:5.14-threaded
...
...
@@ -52,3 +56,29 @@ test:perl5.30-mysql:
DB
:
"
mysql"
script
:
-
./travisci/harness.sh
#
# Triggers for dependent builds
#
# FIXME:
# - only partly tested so far
# - doesn't support PRs before they are merged
# (would need extended run condition and better selection of downstream branches)
.dependent_template
:
stage
:
posttest
# We want this to run even if any test jobs fail
when
:
always
only
:
-
master
-
/^release/\d+$/
trigger
:
project
:
$DEPENDENT_PROJECT
# Use the same branch as in this project
branch
:
$CI_COMMIT_REF_NAME
# Example trigger job using the above, disabled for obvious reasons
.post:trigger_foo
:
extends
:
.dependent_template
variables
:
DEPENDENT_PROJECT
:
ensembl-gh-mirror/ensembl-foo
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment