fix(pipeline): update values file path to use component name in ArgoApplicationVersionUpdater
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
a1e5f6aeef
commit
c8146e8f21
@ -20,7 +20,7 @@ class ArgoApplicationVersionUpdater {
|
||||
}
|
||||
|
||||
steps.dir("${workspace}") {
|
||||
def valuesFile = "./${configurations.serviceName}/helm-pkg/${configurations.serviceName}/values.${environmentSlug}.yaml"
|
||||
def valuesFile = "./${configurations.serviceName}/helm-pkg/${component.name}/values.${environmentSlug}.yaml"
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user