ci(magicleaps): switch magicleaps alpha ci to develop branch
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
b87938b01d
commit
a5dd1f06c6
@ -455,10 +455,27 @@ def generateComponentStages(component, configurations) {
|
|||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
{stage("${component.name} :: Argo Application Version Updating") {
|
{stage("${component.name} :: Argo Application Version Updating") {
|
||||||
script {
|
podTemplate(
|
||||||
if (env.executeMode == "fully" || env.changedComponents.contains(component.name)) {
|
label: "argo-app-version-updater-${component.name}",
|
||||||
def argoApplicationVersionUpdater = new ArgoApplicationVersionUpdater(this, configurations)
|
containers: [
|
||||||
argoApplicationVersionUpdater.update(configurations.environmentSlug, component)
|
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)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user