Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #482 from communitiesuk/FS-3078
Browse files Browse the repository at this point in the history
FS-3078 - Updated deployment workflow to build assets
  • Loading branch information
aaronwilliamsv1 authored Nov 14, 2023
2 parents 433dfce + 1b3fe66 commit c1b0154
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/copilot_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions copilot/fsd-assessment/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c1b0154

Please sign in to comment.