diff --git a/templates/ruleset/config.yml b/templates/ruleset/config.yml index 7c743560c7b817185cb729b302f2f9a1fa30a04e..021b324b16586057950560233ff79e2e3adcfe28 100644 --- a/templates/ruleset/config.yml +++ b/templates/ruleset/config.yml @@ -6,6 +6,11 @@ spec: tag: default: latest description: "Open container image (OCI) tag for the image." + extends: + type: array + default: + - .job + description: "Jobs for the testing jobs to extend." needs: type: array default: [] @@ -30,7 +35,7 @@ include: tag: "$[[inputs.tag]]" config: - extends: .job + extends: $[[inputs.extends]] needs: $[[inputs.needs]] parallel: matrix: diff --git a/templates/ruleset/os.yml b/templates/ruleset/os.yml index 26fa385df9a0a4e94592c18193c8ef8e96f2f13d..c2299134e078f7f7b59036217f4c0635b744df63 100644 --- a/templates/ruleset/os.yml +++ b/templates/ruleset/os.yml @@ -6,6 +6,11 @@ spec: tag: default: latest description: "Open container image (OCI) tag for the image." + extends: + type: array + default: + - .job + description: "Jobs for the testing jobs to extend." needs: type: array default: [] @@ -30,7 +35,7 @@ include: tag: "$[[inputs.tag]]" os: - extends: .job + extends: $[[inputs.extends]] needs: $[[inputs.needs]] variables: CI_LOCKFILE_MODE: "off" diff --git a/templates/ruleset/template.yml b/templates/ruleset/template.yml index 61634d6510395438d786509530ad293efd3e6378..f7937a3d4a8c7e0c45ddb6a04f23974f41eea7f5 100644 --- a/templates/ruleset/template.yml +++ b/templates/ruleset/template.yml @@ -10,6 +10,11 @@ spec: default: 7.4.0 description: "The minimum Bazel version tested." regex: ^\d+\.\d+\.\d+$ + extends: + type: array + default: + - .job + description: "Jobs for the testing jobs to extend." needs: type: array default: [] @@ -45,6 +50,7 @@ include: inputs: image: "$[[inputs.image]]" tag: "$[[inputs.tag]]" + extends: $[[inputs.extends]] needs: $[[inputs.needs]] roots: $[[inputs.roots]] versions: $[[inputs.versions]] @@ -52,6 +58,7 @@ include: inputs: image: "$[[inputs.image]]" tag: "$[[inputs.tag]]" + extends: $[[inputs.extends]] needs: $[[inputs.needs]] roots: $[[inputs.roots]] configs: $[[inputs.configs]] @@ -59,6 +66,7 @@ include: inputs: image: "$[[inputs.image]]" tag: "$[[inputs.tag]]" + extends: $[[inputs.extends]] needs: $[[inputs.needs]] roots: $[[inputs.roots]] oses: $[[inputs.oses]] diff --git a/templates/ruleset/version.yml b/templates/ruleset/version.yml index b4606248dbdc593d81b8d83b57d44696d16414d1..d5c0262587136392773a595bacc6a9997fe629c2 100644 --- a/templates/ruleset/version.yml +++ b/templates/ruleset/version.yml @@ -6,6 +6,11 @@ spec: tag: default: latest description: "Open container image (OCI) tag for the image." + extends: + type: array + default: + - .job + description: "Jobs for the testing jobs to extend." needs: type: array default: [] @@ -31,7 +36,7 @@ include: tag: "$[[inputs.tag]]" version: - extends: .job + extends: $[[inputs.extends]] needs: $[[inputs.needs]] variables: CI_LOCKFILE_MODE: "off"