meta data for this page
Differences
This shows you the differences between two versions of the page.
git:gitlab:ci:yaml:dynamic_tags [2025/06/18 15:32] – created niziak | git:gitlab:ci:yaml:dynamic_tags [2025/06/18 15:45] (current) – niziak | ||
---|---|---|---|
Line 30: | Line 30: | ||
===== run pipeline on the same runner ===== | ===== run pipeline on the same runner ===== | ||
- | During CI job execution env contains very usefull variable: | + | It is not possible to detect runner tag during yaml variables expansion because gitlab doesn' |
+ | and asks for jobs. | ||
- | < | + | It is possible to check what runner got our job from environment variable: |
+ | |||
+ | < | ||
and this variable can be used to generate yaml file for new dynamically generated child pipeline. | and this variable can be used to generate yaml file for new dynamically generated child pipeline. |