ci(manifests): add prod manifests for magicleaps
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
0a1214acf7
commit
3ff3da08d4
@ -21,12 +21,12 @@ class ArgoApplicationVersionUpdater {
|
||||
|
||||
steps.dir("${workspace}") {
|
||||
def valuesFile = "./${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.repository = steps.env.BUILD_IMAGE_REPOSITORY
|
||||
data[component.name].image.tag = steps.env.BUILD_IMAGE_VERSION
|
||||
data[component.name].image.name = steps.env.BUILD_IMAGE_NAME
|
||||
steps.writeFile file: valuesFile, data: data, overwrite: true
|
||||
steps.writeFile(file: valuesFile, data: data, overwrite: true)
|
||||
|
||||
steps.withCredentials([steps.usernamePassword(credentialsId: 'freeleaps-ops-credentials', passwordVariable: 'OPS_GIT_PASSWORD', usernameVariable: 'OPS_GIT_USERNAME')]) {
|
||||
steps.sh """
|
||||
|
||||
Loading…
Reference in New Issue
Block a user