ci(magicleaps): switch magicleaps alpha ci to develop branch

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-02-18 01:08:16 +08:00
parent b87938b01d
commit a5dd1f06c6

View File

@ -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)
}
}
}
}
}
}}