File tree Expand file tree Collapse file tree 3 files changed +32
-7
lines changed
Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,29 @@ LATEST_TRUSTSTORE_VERSION=$(aws s3api list-object-versions --bucket "${TRUSTSTOR
1414export LATEST_TRUSTSTORE_VERSION
1515
1616cd ../../ || exit
17- make sam-deploy-package
17+
18+ REPO=eps-FHIR-validator-lambda
19+ CFN_DRIFT_DETECTION_GROUP=" fhir-validator"
20+ if [[ " $STACK_NAME " =~ -p r-[0-9]+$ ]]; then
21+ CFN_DRIFT_DETECTION_GROUP=" fhir-validator-pull-request"
22+ fi
23+
24+
25+ sam deploy \
26+ --template-file " $TEMPLATE_FILE " \
27+ --stack-name " $STACK_NAME " \
28+ --capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND \
29+ --region eu-west-2 \
30+ --s3-bucket " $artifact_bucket " \
31+ --s3-prefix " $ARTIFACT_BUCKET_PREFIX " \
32+ --config-file samconfig_package_and_deploy.toml \
33+ --no-fail-on-empty-changeset \
34+ --role-arn " $cloud_formation_execution_role " \
35+ --no-confirm-changeset \
36+ --force-upload \
37+ --tags " version=$VERSION_NUMBER stack=$STACK_NAME repo=$REPO cfnDriftDetectionGroup=$CFN_DRIFT_DETECTION_GROUP " \
38+ --parameter-overrides \
39+ EnableSplunk=true \
40+ LogLevel=" $LOG_LEVEL " \
41+ LogRetentionDays=" $LOG_RETENTION_DAYS " \
42+ EnableAlerts=" $ENABLE_ALERTS "
Original file line number Diff line number Diff line change @@ -100,13 +100,13 @@ jobs:
100100 shell : bash
101101 working-directory : .github/scripts
102102 env :
103- artifact_bucket_prefix : fhir_validator/${{ inputs.ARTIFACT_BUCKET_PREFIX }}
103+ ARTIFACT_BUCKET_PREFIX : fhir_validator/${{ inputs.ARTIFACT_BUCKET_PREFIX }}
104104 COMMIT_ID : ${{ inputs.COMMIT_ID }}
105105 LOG_LEVEL : ${{ inputs.LOG_LEVEL }}
106106 LOG_RETENTION_DAYS : ${{ inputs.LOG_RETENTION_DAYS }}
107- stack_name : ${{ inputs.STACK_NAME }}
107+ STACK_NAME : ${{ inputs.STACK_NAME }}
108108 TARGET_ENVIRONMENT : ${{ inputs.TARGET_ENVIRONMENT }}
109- template_file : template.yaml
109+ TEMPLATE_FILE : template.yaml
110110 VERSION_NUMBER : ${{ inputs.VERSION_NUMBER }}
111111 ENABLE_ALERTS : ${{ inputs.ENABLE_ALERTS }}
112112 run : ./release_code.sh
Original file line number Diff line number Diff line change 2020 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2121 <fhir .version>7.6.1</fhir .version>
2222 <log4j .version>2.24.3</log4j .version>
23- <fasterxml .version>2.19.1 </fasterxml .version>
23+ <fasterxml .version>2.19.2 </fasterxml .version>
2424 <sonar .organization>nhsdigital</sonar .organization>
2525 <sonar .host.url>https://sonarcloud.io</sonar .host.url>
2626 <sonar .projectKey>NHSDigital_eps-FHIR-validator-lambda</sonar .projectKey>
3131 <dependency >
3232 <groupId >org.junit</groupId >
3333 <artifactId >junit-bom</artifactId >
34- <version >5.13.3 </version >
34+ <version >5.13.4 </version >
3535 <type >pom</type >
3636 <scope >import</scope >
3737 </dependency >
8484 <dependency >
8585 <groupId >com.amazonaws</groupId >
8686 <artifactId >aws-lambda-java-events</artifactId >
87- <version >3.16.0 </version >
87+ <version >3.16.1 </version >
8888 </dependency >
8989 <dependency >
9090 <groupId >com.amazonaws</groupId >
You can’t perform that action at this time.
0 commit comments