Skip to content

Commit

Permalink
AEA-3677 Deploy basic stack for CI and release builds (#19)
Browse files Browse the repository at this point in the history
## Summary

🎫 [AEA-3677](https://nhsd-jira.digital.nhs.uk/browse/AEA-3677) deploy
basic stack for CI and release builds of the Clinical Prescription
Tracker API
- 🤖 Operational or Infrastructure Change

### Details

Deploy basic stack for CI and release builds
  • Loading branch information
kris-szlapa authored Feb 13, 2024
1 parent cc22274 commit 63b4607
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 440 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
ENABLE_MUTUAL_TLS: false
DEPLOY_SANDBOX: false
BUILD_ARTIFACT: packaged_code
TRUSTSTORE_FILE: truststore.pem
TRUSTSTORE_FILE: clinical-tracker-truststore.pem
VERSION_NUMBER: PR-${{ needs.get_issue_number.outputs.issue_number }}
COMMIT_ID: ${{ needs.get_commit_id.outputs.commit_id }}
LOG_LEVEL: DEBUG
Expand All @@ -83,7 +83,7 @@ jobs:
ENABLE_MUTUAL_TLS: false
DEPLOY_SANDBOX: true
BUILD_ARTIFACT: packaged_sandbox_code
TRUSTSTORE_FILE: sandbox-truststore.pem
TRUSTSTORE_FILE: clinical-tracker-sandbox-truststore.pem
VERSION_NUMBER: PR-${{ needs.get_issue_number.outputs.issue_number }}
COMMIT_ID: ${{ needs.get_commit_id.outputs.commit_id }}
LOG_LEVEL: DEBUG
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
ENABLE_MUTUAL_TLS: true
DEPLOY_SANDBOX: false
BUILD_ARTIFACT: packaged_code
TRUSTSTORE_FILE: truststore.pem
TRUSTSTORE_FILE: clinical-tracker-truststore.pem
VERSION_NUMBER: ${{needs.tag_release.outputs.spec_version}}
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
LOG_LEVEL: DEBUG
Expand All @@ -129,12 +129,12 @@ jobs:
uses: ./.github/workflows/sam_release_code.yml
with:
ARTIFACT_BUCKET_PREFIX: ${{needs.tag_release.outputs.spec_version}}
STACK_NAME: sandbox-clinical-tracker
STACK_NAME: clinical-tracker-sandbox
TARGET_ENVIRONMENT: dev
ENABLE_MUTUAL_TLS: true
DEPLOY_SANDBOX: true
BUILD_ARTIFACT: packaged_sandbox_code
TRUSTSTORE_FILE: sandbox-truststore.pem
TRUSTSTORE_FILE: clinical-tracker-sandbox-truststore.pem
VERSION_NUMBER: ${{needs.tag_release.outputs.spec_version}}
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
LOG_LEVEL: DEBUG
Expand All @@ -153,7 +153,7 @@ jobs:
ENABLE_MUTUAL_TLS: true
DEPLOY_SANDBOX: false
BUILD_ARTIFACT: packaged_code
TRUSTSTORE_FILE: truststore.pem
TRUSTSTORE_FILE: clinical-tracker-truststore.pem
VERSION_NUMBER: ${{needs.tag_release.outputs.spec_version}}
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
LOG_LEVEL: DEBUG
Expand All @@ -172,7 +172,7 @@ jobs:
ENABLE_MUTUAL_TLS: true
DEPLOY_SANDBOX: false
BUILD_ARTIFACT: packaged_code
TRUSTSTORE_FILE: truststore.pem
TRUSTSTORE_FILE: clinical-tracker-truststore.pem
VERSION_NUMBER: ${{needs.tag_release.outputs.spec_version}}
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
LOG_LEVEL: DEBUG
Expand All @@ -191,7 +191,7 @@ jobs:
ENABLE_MUTUAL_TLS: true
DEPLOY_SANDBOX: false
BUILD_ARTIFACT: packaged_code
TRUSTSTORE_FILE: truststore.pem
TRUSTSTORE_FILE: clinical-tracker-truststore.pem
VERSION_NUMBER: ${{needs.tag_release.outputs.spec_version}}
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
LOG_LEVEL: DEBUG
Expand All @@ -211,12 +211,12 @@ jobs:
uses: ./.github/workflows/sam_release_code.yml
with:
ARTIFACT_BUCKET_PREFIX: ${{needs.tag_release.outputs.spec_version}}
STACK_NAME: sandbox-clinical-tracker
STACK_NAME: clinical-tracker-sandbox
TARGET_ENVIRONMENT: int
ENABLE_MUTUAL_TLS: true
DEPLOY_SANDBOX: true
BUILD_ARTIFACT: packaged_sandbox_code
TRUSTSTORE_FILE: sandbox-truststore.pem
TRUSTSTORE_FILE: clinical-tracker-sandbox-truststore.pem
VERSION_NUMBER: ${{needs.tag_release.outputs.spec_version}}
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
LOG_LEVEL: DEBUG
Expand All @@ -235,7 +235,7 @@ jobs:
ENABLE_MUTUAL_TLS: true
DEPLOY_SANDBOX: false
BUILD_ARTIFACT: packaged_code
TRUSTSTORE_FILE: truststore.pem
TRUSTSTORE_FILE: clinical-tracker-truststore.pem
VERSION_NUMBER: ${{needs.tag_release.outputs.spec_version}}
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
LOG_LEVEL: INFO
Expand Down
Loading

0 comments on commit 63b4607

Please sign in to comment.