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,12 +455,29 @@ def generateComponentStages(component, configurations) {
|
||||
}
|
||||
}},
|
||||
{stage("${component.name} :: Argo Application Version Updating") {
|
||||
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}}
|
||||
])
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user