[DO-1503] rename project cloud-messenger-core-api (!65)

Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech>
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/65
This commit is contained in:
Rustam Tagaev
2025-01-20 17:27:39 +03:00
parent bb674e42ce
commit 5404dd47d0
4 changed files with 17 additions and 17 deletions

View File

@@ -6,7 +6,7 @@ import tech.avroid.jenkins.Notifications
import tech.avroid.jenkins.Jenkins
String projectName = 'cloud' // Replace with your Harbor project name
String repositoryName = 'cloud-messenger-core-api' // Replace with your Harbor repository name
String repositoryName = 'msg-messenger-core-api' // Replace with your Harbor repository name
String pageSize = 100 // maximum number of artifacts to return 100
String apiUrl = "https://${JENKINS_DOCKER_REGISTRY}/api/v2.0/projects/${projectName}" +
"/repositories/${repositoryName}/artifacts"
@@ -48,7 +48,7 @@ def createGetHttpClient(String url, String jenkinsCreds) {
return httpClient
}
String harborApiUrl = "https://${JENKINS_DOCKER_REGISTRY}/api/v2.0/projects/cloud/repositories/cloud-messenger-core-api/" +
String harborApiUrl = "https://${JENKINS_DOCKER_REGISTRY}/api/v2.0/projects/cloud/repositories/msg-messenger-core-api/" +
"artifacts?page=1&page_size=100&with_tag=true&sort=-push_time"
def httpClientHarbor = createGetHttpClient(harborApiUrl, "${JENKINS_HARBOR_CREDENTIALS}")
@@ -71,14 +71,14 @@ return imageVersions
])
String repoPath = 'Apps-Backend/cloud-messenger-core-api.git'
String repoPath = 'Apps-Backend/msg-messenger-core-api.git'
String branch = 'develop'
String valuesPath = ".helm/values.${params.ENV.toLowerCase()}.yaml"
String namespace = "tavro-cloud-${params.ENV.toLowerCase()}"
String helmChart = 'helm-cloud-messenger-core-api'
String helmRepoPath = 'avroid/helm-cloud-messenger-core-api'
String helmChart = 'helm-msg-messenger-core-api'
String helmRepoPath = 'avroid/helm-msg-messenger-core-api'
String helmRepo = "${env.JENKINS_NEXUS_URL}/repository/avroid-charts"