Import
This node uses the key source
as a default prefix if not given a map.
Types
Keys
If given a map, the following keys are supported:
source
— The source to import build config from (type: string, e.g.:./import.yml@v1
)mode
— How to merge the imported config into the target config (defaults to deepmergeappend) (type: enum (string), known values:merge
,deep_merge
,deep_merge_append
,deep_merge_prepend
)if
— Condition to determine if a build, stage, or job should be run, a config source imported, or a notification sent (type: string, e.g.:branch = master
) details
Examples
source: "./import.yml@v1"
mode: merge
if: branch = master
"./import.yml@v1"