diff --git a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy index 8103a90a..066c61de 100644 --- a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy +++ b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy @@ -455,10 +455,27 @@ def generateComponentStages(component, configurations) { } }}, {stage("${component.name} :: Argo Application Version Updating") { - script { - if (env.executeMode == "fully" || env.changedComponents.contains(component.name)) { - def argoApplicationVersionUpdater = new ArgoApplicationVersionUpdater(this, configurations) - argoApplicationVersionUpdater.update(configurations.environmentSlug, component) + podTemplate( + label: "argo-app-version-updater-${component.name}", + containers: [ + containerTemplate( + name: "argo-app-version-updater", + image: "debian:12", + ttyEnabled: true, + command: 'sleep', + args: 'infinity' + ) + ] + ) { + node("argo-app-version-updater-${component.name}") { + container("argo-app-version-updater") { + script { + if (env.executeMode == "fully" || env.changedComponents.contains(component.name)) { + def argoApplicationVersionUpdater = new ArgoApplicationVersionUpdater(this, configurations) + argoApplicationVersionUpdater.update(configurations.environmentSlug, component) + } + } + } } } }}