fix(argo): invalid env ref for ArgoApplicationVersionUpdater

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-02-18 03:04:42 +08:00
parent 59adcf36cf
commit cec7ab0ef2

View File

@ -32,7 +32,7 @@ class ArgoApplicationVersionUpdater {
steps.sh """ steps.sh """
git config user.name "freeleaps-gitops-bot" git config user.name "freeleaps-gitops-bot"
git config user.email "gitops@mathmast.com" git config user.email "gitops@mathmast.com"
git remote add ci_origin https://${OPS_GIT_USERNAME}:${OPS_GIT_PASSWORD}@dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops git remote add ci_origin https://${steps.env.OPS_GIT_USERNAME}:${steps.env.OPS_GIT_PASSWORD}@dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops
git add ${valuesFile} git add ${valuesFile}
git commit -m "ci(bump): bump ${component.name} image version for ${environmentSlug} to ${steps.env.BUILD_IMAGE_VERSION}" git commit -m "ci(bump): bump ${component.name} image version for ${environmentSlug} to ${steps.env.BUILD_IMAGE_VERSION}"
git push ci_origin HEAD:master git push ci_origin HEAD:master