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
def label = podTemplates.podLabel()
def pt = shell.parse(new File('vars/podTemplates.groovy'))
def label = pt.podLabel()
def repositoryCreds = "harbor-repository-creds"
podTemplate(
label: label,
name: "pipeline-worker",
yaml: podTemplates.podYaml(
yaml: pt.podYaml(
kaniko: true,
alpine: true,
),