devops:ci

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devops:ci [2022/03/22 15:31] robberthdevops:ci [2022/09/02 14:04] (current) – external edit 127.0.0.1
Line 20: Line 20:
 === HTTPS === === HTTPS ===
 You can use the environment variable $CI_JOB_TOKEN for free. It's included. You don't have to do anything. You can use the environment variable $CI_JOB_TOKEN for free. It's included. You don't have to do anything.
-<code>+<code yaml>
 some_early_stage: some_early_stage:
   script:   script:
Line 28: Line 28:
 ==== Propagating CI triggers ==== ==== Propagating CI triggers ====
 We want the main pipeline to be triggered if a commit happens in ANY of the repositories that the pipeline depends on. \\ We want the main pipeline to be triggered if a commit happens in ANY of the repositories that the pipeline depends on. \\
-This can be achieved by putting the following '''' in each of those repos, in the right branch ofcourse (the branch the pipeline uses). +This can be achieved by putting the following ''.gitlab-ci.yml'' in each of those repos, in the right branch of course (i.e. the branch the pipeline uses). 
-<code>+<code yaml>
 trigger-main: trigger-main:
   trigger:    trigger: 
  • devops/ci.1647963062.txt.gz
  • Last modified: 2022/09/02 14:04
  • (external edit)