From a5dd1f06c61bc7c4136b7f37ca88c8bfe701c487 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Tue, 18 Feb 2025 01:08:16 +0800 Subject: [PATCH] ci(magicleaps): switch magicleaps alpha ci to develop branch Signed-off-by: zhenyus --- .../vars/executeFreeleapsPipeline.groovy | 25 ++++++++++++++++--- 1 file changed, 21 insertions(+), 4 deletions(-) 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) + } + } + } } } }}