[DO-1478] change k8s cluster for messenger-core-api (!64)

Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech>
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/64
Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.team>
Reviewed-by: Vasiliy Chipizhin <vasiliy.chipizhin@avroid.team>
This commit is contained in:
Rustam Tagaev
2025-01-20 15:53:23 +03:00
parent 1f9fb31d05
commit bb674e42ce

View File

@@ -99,7 +99,8 @@ List dockerCreds = [
Git git = new Git(this, env.JENKINS_GIT_CREDENTIALS_SSH) Git git = new Git(this, env.JENKINS_GIT_CREDENTIALS_SSH)
PodTemplates slaveTemplates = new PodTemplates(this, env.JENKINS_DOCKER_REGISTRY, PodTemplates slaveTemplates = new PodTemplates(this, env.JENKINS_DOCKER_REGISTRY,
["${env.JENKINS_K8S_HARBOR_SECRET}"]) ["${env.JENKINS_K8S_HARBOR_SECRET}"],
'avroid-office')
slaveTemplates.jnlp { slaveTemplates.jnlp {
slaveTemplates.helm { slaveTemplates.helm {
@@ -117,7 +118,8 @@ slaveTemplates.jnlp {
helm repo add avroid ${helmRepo} helm repo add avroid ${helmRepo}
helm -n ${namespace} upgrade -f ${valuesPath} \ helm -n ${namespace} upgrade -f ${valuesPath} \
--set image.tag=${env.APP_VERSION} \ --set image.tag=${env.APP_VERSION} \
--install ${helmChart} ${helmRepoPath} --install ${helmChart} ${helmRepoPath} \
--wait
""" """
} }
} }