Ability to split automation
Trigger pipelines using trigger tokens
Fire and forget
Run additional stages and jobs from a file using include
trigger/.gitlab-ci.yml
trigger
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: baz
parent/child/child.yml
to first projectReplace project and branch in 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
project
/ref
/file
for files in other repositories