Skip to content

Commit 47c6b15

Browse files
RWA-4931: Migrate to hmctsprod acr (#1622)
* moved to hmctsprod * Bumping chart version/ fixing aliases --------- Co-authored-by: hmcts-jenkins-j-to-z <61242337+hmcts-jenkins-j-to-z[bot]@users.noreply.github.com>
1 parent 8f8af81 commit 47c6b15

6 files changed

Lines changed: 8 additions & 9 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG APP_INSIGHTS_AGENT_VERSION=3.5.2
22

33
# Application image
44

5-
FROM hmctspublic.azurecr.io/base/java:21-distroless
5+
FROM hmctsprod.azurecr.io/base/java:21-distroless
66

77
COPY lib/applicationinsights.json /opt/app/
88
COPY build/libs/wa-task-management-api.jar /opt/app/

Jenkinsfile_CNP

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ static LinkedHashMap<String, Object> secret(String secretName, String envVar) {
4646
}
4747
def branchesToSync = ['demo', 'ithc', 'perftest']
4848

49-
// Prevent Docker hub rate limit errors by ensuring that testcontainers uses images from hmctspublic ACR
50-
env.TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX = "hmctspublic.azurecr.io/imported/"
49+
// Prevent Docker hub rate limit errors by ensuring that testcontainers uses images from hmctsprod ACR
50+
env.TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX = "hmctsprod.azurecr.io/imported/"
5151

5252
withPipeline(type, product, component) {
5353
disableLegacyDeployment()

Jenkinsfile_nightly

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ static LinkedHashMap<String, Object> secret(String secretName, String envVar) {
5353
]
5454
}
5555

56-
// Prevent Docker hub rate limit errors by ensuring that testcontainers uses images from hmctspublic ACR
57-
env.TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX = "hmctspublic.azurecr.io/imported/"
56+
env.TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX = "hmctsprod.azurecr.io/imported/"
5857

5958
withNightlyPipeline(type, product, component) {
6059
env.TEST_URL = params.URL_TO_TEST

charts/wa-task-management-api/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ appVersion: "1.0"
33
description: A Helm chart for wa-task-management-api App
44
name: wa-task-management-api
55
home: https://github.com/hmcts/wa-task-management-api
6-
version: 0.1.0
6+
version: 0.1.1
77
maintainers:
88
- name: HMCTS wa team
99
dependencies:
1010
- name: java
1111
version: 5.3.0
12-
repository: 'oci://hmctspublic.azurecr.io/helm'
12+
repository: 'oci://hmctsprod.azurecr.io/helm'
1313

charts/wa-task-management-api/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
java:
22
applicationPort: 8087
3-
image: 'hmctspublic.azurecr.io/wa/task-management-api:latest'
3+
image: 'hmctsprod.azurecr.io/wa/task-management-api:latest'
44
ingressHost: wa-task-management-api-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal
55
aadIdentityName: wa
66
autoscaling:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
- http_proxy
99
- https_proxy
1010
- no_proxy
11-
image: hmctspublic.azurecr.io/spring-boot/template
11+
image: hmctsprod.azurecr.io/spring-boot/template
1212
environment:
1313
# these environment variables are used by java-logging library
1414
- ROOT_APPENDER

0 commit comments

Comments
 (0)