feat: update Git repository URL in ArgoApplicationVersionUpdater
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
c8b68afc75
commit
18275ba9d2
@ -16,7 +16,7 @@ class ArgoApplicationVersionUpdater {
|
|||||||
steps.log.info("ArgoApplicationVersionUpdater", "[${environmentSlug}] Pull freeleaps-ops repository to workspace...")
|
steps.log.info("ArgoApplicationVersionUpdater", "[${environmentSlug}] Pull freeleaps-ops repository to workspace...")
|
||||||
|
|
||||||
steps.dir("${workspace}") {
|
steps.dir("${workspace}") {
|
||||||
steps.git branch: 'master', credentialsId: 'freeleaps-ops-credentials', url: 'https://freeleaps@dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops'
|
steps.git branch: 'master', credentialsId: 'freeleaps-ops-credentials', url: 'https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops.git'
|
||||||
}
|
}
|
||||||
|
|
||||||
steps.dir("${workspace}") {
|
steps.dir("${workspace}") {
|
||||||
@ -41,7 +41,7 @@ class ArgoApplicationVersionUpdater {
|
|||||||
git config user.email "gitops@mathmast.com"
|
git config user.email "gitops@mathmast.com"
|
||||||
|
|
||||||
echo "Add and commit changes..."
|
echo "Add and commit changes..."
|
||||||
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 remote add ci_origin https://${steps.env.OPS_GIT_USERNAME}:${steps.env.OPS_GIT_PASSWORD}@gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops.git
|
||||||
|
|
||||||
git add ${valuesFile}
|
git add ${valuesFile}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user