diff --git a/.github/workflows/copilot_deploy.yml b/.github/workflows/copilot_deploy.yml index ebf6e500..3d190280 100644 --- a/.github/workflows/copilot_deploy.yml +++ b/.github/workflows/copilot_deploy.yml @@ -60,6 +60,7 @@ jobs: E2E_PAT: ${{secrets.E2E_PAT}} uses: communitiesuk/funding-design-service-workflows/.github/workflows/pre-deploy.yml@main with: + assets_required: true postgres_unit_testing: false copilot_environments_workflow_setup: @@ -122,10 +123,6 @@ jobs: run: | yq -i '.image.location = "ghcr.io/communitiesuk/funding-service-design-assessment:${{ github.ref_name == 'main' && 'latest' || github.ref_name }}"' copilot/fsd-assessment/manifest.yml - - name: Inject RSA256_PUBLIC_KEY_BASE64 into manifest - run: | - yq -i '.variables.RSA256_PUBLIC_KEY_BASE64 = "${{ secrets.RSA256_PUBLIC_KEY_BASE64 }}"' copilot/fsd-assessment/manifest.yml - - name: Copilot ${{ matrix.value }} deploy id: deploy_build run: | diff --git a/copilot/fsd-assessment/manifest.yml b/copilot/fsd-assessment/manifest.yml index 3b87c4e3..72416455 100644 --- a/copilot/fsd-assessment/manifest.yml +++ b/copilot/fsd-assessment/manifest.yml @@ -13,7 +13,7 @@ http: path: '/' # You can specify a custom health check path. The default is "/". healthcheck: '/healthcheck' - alias: assessment.test.access-funding.test.levellingup.gov.uk + alias: assessment.${COPILOT_ENVIRONMENT_NAME}.access-funding.test.levellingup.gov.uk # Configuration for your containers and service. image: @@ -53,7 +53,7 @@ variables: COPILOT_AWS_BUCKET_NAME: from_cfn: ${COPILOT_APPLICATION_NAME}-${COPILOT_ENVIRONMENT_NAME}-FormUploadsBucket REDIS_INSTANCE_URI: - from_cfn: ${COPILOT_APPLICATION_NAME}-${COPILOT_ENVIRONMENT_NAME}-RedisInstanceURI + from_cfn: ${COPILOT_APPLICATION_NAME}-${COPILOT_ENVIRONMENT_NAME}-MagicLinksRedisInstanceURI secrets: RSA256_PUBLIC_KEY_BASE64: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/RSA256_PUBLIC_KEY_BASE64