call supporting file

This commit is contained in:
Hyatt 2022-01-06 11:22:24 -06:00
parent 2788aef8a4
commit 41a5a14c59
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -1,12 +1,14 @@
#!groovy #!groovy
def label = podTemplates.podLabel() def pt = shell.parse(new File('vars/podTemplates.groovy'))
def label = pt.podLabel()
def repositoryCreds = "harbor-repository-creds" def repositoryCreds = "harbor-repository-creds"
podTemplate( podTemplate(
label: label, label: label,
name: "pipeline-worker", name: "pipeline-worker",
yaml: podTemplates.podYaml( yaml: pt.podYaml(
kaniko: true, kaniko: true,
alpine: true, alpine: true,
), ),