Ability to split automation across multiple pipeline
Trigger pipelines using trigger tokens
Fire and forget
Launch pipeline in separate project
Load stages and jobs from a file using include
XXX
What | Trigger Tokens | Multi-project | Parent-child | |
---|---|---|---|---|
Traceability | ||||
External access |
XXX
trigger/.gitlab-ci.yml
to root of new projectcurl
snippetmain
trigger
curl
snippet in script
blockTOKEN
as unprotected but masked CI variable REF_NAME
with branch name (probably main
)(See new .gitlab-ci.yml
)
script
with trigger
keywordSpecify project and branch:
job_name:
trigger:
project: foo/bar
branch: main
parent-child/child.yml
to root of first projectReplace project
and branch
under trigger
with include
job_name:
trigger:
include: child.yml
Child pipeline can be made from multiple files
include
supports local
for files in the same repository
Use project
/ref
/file
for files in other repositories