ci(magicleaps): switch magicleaps alpha ci to develop branch
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
a5dd1f06c6
commit
358d8c5109
@ -13,6 +13,7 @@ class ArgoApplicationVersionUpdater {
|
|||||||
|
|
||||||
def update(environmentSlug, component) {
|
def update(environmentSlug, component) {
|
||||||
steps.log.info("ArgoApplicationVersionUpdater", "[${environmentSlug}] Update Argo application image version to ${steps.env.BUILD_IMAGE_VERSION} for ${component.name}...")
|
steps.log.info("ArgoApplicationVersionUpdater", "[${environmentSlug}] Update Argo application image version to ${steps.env.BUILD_IMAGE_VERSION} for ${component.name}...")
|
||||||
|
steps.sh "ls -al ${workspace}"
|
||||||
def valuesFile = "${workspace}/${configurations.serviceName}/helm-pkg/${configurations.serviceName}/values-${environmentSlug}.yaml"
|
def valuesFile = "${workspace}/${configurations.serviceName}/helm-pkg/${configurations.serviceName}/values-${environmentSlug}.yaml"
|
||||||
def data = steps.readYaml (file: valuesFile)
|
def data = steps.readYaml (file: valuesFile)
|
||||||
data.${component.name}.image.registry = steps.env.BUILD_IMAGE_REGISTRY
|
data.${component.name}.image.registry = steps.env.BUILD_IMAGE_REGISTRY
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user