diff --git a/.github/workflows/base-java-service-jobs.yml b/.github/workflows/base-java-service-jobs.yml index 54ec0388..2a9f484d 100644 --- a/.github/workflows/base-java-service-jobs.yml +++ b/.github/workflows/base-java-service-jobs.yml @@ -25,6 +25,10 @@ on: type: string default: "deductions/" required: false + ecr_alias: + description: "ECR Repository Alias" + type: string + required: false permissions: pull-requests: write @@ -121,4 +125,5 @@ jobs: stack: ${{ inputs.service }} environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} + ecr_alias: ${{ inputs.ecr_alias }} secrets: inherit diff --git a/.github/workflows/base-node-service-jobs.yml b/.github/workflows/base-node-service-jobs.yml index 98a0f30f..d50c8bd2 100644 --- a/.github/workflows/base-node-service-jobs.yml +++ b/.github/workflows/base-node-service-jobs.yml @@ -14,7 +14,10 @@ on: type: boolean default: false required: true - + ecr_alias: + description: "ECR Repository Alias" + type: string + required: false permissions: pull-requests: write @@ -153,4 +156,5 @@ jobs: stack: ${{ inputs.service }} environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} + ecr_alias: ${{ inputs.ecr_alias }} secrets: inherit diff --git a/.github/workflows/base-python-service-jobs.yml b/.github/workflows/base-python-service-jobs.yml index 30cd12bf..dafadcbb 100644 --- a/.github/workflows/base-python-service-jobs.yml +++ b/.github/workflows/base-python-service-jobs.yml @@ -17,6 +17,10 @@ on: deploy_infra: type: boolean default: true + ecr_alias: + description: "ECR Repository Alias" + type: string + required: false permissions: pull-requests: write @@ -103,4 +107,5 @@ jobs: stack: ${{ inputs.service }} environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} + ecr_alias: ${{ inputs.ecr_alias }} secrets: inherit diff --git a/.github/workflows/full-deployment.yml b/.github/workflows/full-deployment.yml index 6e75f692..737323ee 100644 --- a/.github/workflows/full-deployment.yml +++ b/.github/workflows/full-deployment.yml @@ -31,7 +31,8 @@ jobs: service: ehr-repo environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} - + ecr_alias: deductions/ehr-repo + ehr-out-service: name: EHR Out Service CI secrets: inherit @@ -40,6 +41,7 @@ jobs: service: ehr-out-service environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} + ecr_alias: deductions/ehr-out-service mesh-forwarder: name: MESH Forwarder CI @@ -48,6 +50,7 @@ jobs: service: mesh-forwarder environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} + ecr_alias: deductions/mesh-forwarder secrets: inherit gp2gp-messenger: @@ -57,6 +60,7 @@ jobs: service: gp2gp-messenger environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} + ecr_alias: deductions/gp2gp-messenger secrets: inherit nems-event-processor: @@ -67,6 +71,7 @@ jobs: environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} requires_localstack: true + ecr_alias: deductions/nems-event-processor secrets: inherit ehr-transfer-service: @@ -77,6 +82,7 @@ jobs: environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} requires_localstack: true + ecr_alias: deductions/ehr-transfer-service secrets: inherit pds-adaptor: @@ -87,6 +93,7 @@ jobs: environment: ${{ inputs.environment }} is_deployment: ${{ inputs.is_deployment }} java_version: "11" + ecr_alias: deductions/pds-adaptor secrets: inherit re-registration-service: @@ -98,6 +105,7 @@ jobs: is_deployment: ${{ inputs.is_deployment }} requires_localstack: true image_prefix: repo/ + ecr_alias: repo/re-registration-service secrets: inherit suspension-service: @@ -109,6 +117,7 @@ jobs: is_deployment: ${{ inputs.is_deployment }} requires_localstack: true image_prefix: repo/ + ecr_alias: repo/suspension-service secrets: inherit e2e-testing: diff --git a/.github/workflows/service-ci.yml b/.github/workflows/service-ci.yml index f7c46bde..e5fba3d1 100644 --- a/.github/workflows/service-ci.yml +++ b/.github/workflows/service-ci.yml @@ -61,6 +61,7 @@ jobs: service: ehr-repo environment: dev is_deployment: ${{ github.ref == 'refs/heads/main' }} + ecr_alias: deductions/ehr-repo ehr-out-service: name: EHR Out Service CI @@ -72,6 +73,7 @@ jobs: service: ehr-out-service environment: dev is_deployment: ${{ github.ref == 'refs/heads/main' }} + ecr_alias: deductions/ehr-out-service mesh-forwarder: name: MESH Forwarder CI @@ -82,6 +84,7 @@ jobs: service: mesh-forwarder environment: dev is_deployment: ${{ github.ref == 'refs/heads/main' }} + ecr_alias: deductions/mesh-forwarder secrets: inherit gp2gp-messenger: @@ -93,6 +96,7 @@ jobs: service: gp2gp-messenger environment: dev is_deployment: ${{ github.ref == 'refs/heads/main' }} + ecr_alias: deductions/gp2gp-messenger secrets: inherit nems-event-processor: @@ -105,6 +109,7 @@ jobs: environment: dev is_deployment: ${{ github.ref == 'refs/heads/main' }} requires_localstack: true + ecr_alias: deductions/nems-event-processor secrets: inherit ehr-transfer-service: @@ -117,6 +122,7 @@ jobs: environment: dev is_deployment: ${{ github.ref == 'refs/heads/main' }} requires_localstack: true + ecr_alias: deductions/ehr-transfer-service secrets: inherit pds-adaptor: @@ -129,6 +135,7 @@ jobs: environment: dev is_deployment: ${{ github.ref == 'refs/heads/main' }} java_version: "11" + ecr_alias: deductions/pds-adaptor secrets: inherit re-registration-service: @@ -142,6 +149,7 @@ jobs: is_deployment: ${{ github.ref == 'refs/heads/main' }} requires_localstack: true image_prefix: repo/ + ecr_alias: repo/re-registration-service secrets: inherit suspension-service: @@ -155,6 +163,7 @@ jobs: is_deployment: ${{ github.ref == 'refs/heads/main' }} requires_localstack: true image_prefix: repo/ + ecr_alias: repo/suspension-service secrets: inherit e2e-testing: