mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
Merge pull request #1110 from Hestia-Homes/main
deploy new post code splitter
This commit is contained in:
commit
b2873f9d0b
3 changed files with 10 additions and 3 deletions
2
.github/workflows/deploy_terraform.yml
vendored
2
.github/workflows/deploy_terraform.yml
vendored
|
|
@ -169,7 +169,7 @@ jobs:
|
||||||
uses: ./.github/workflows/_build_image.yml
|
uses: ./.github/workflows/_build_image.yml
|
||||||
with:
|
with:
|
||||||
ecr_repo: postcode_splitter-${{ needs.determine_stage.outputs.stage }}
|
ecr_repo: postcode_splitter-${{ needs.determine_stage.outputs.stage }}
|
||||||
dockerfile_path: backend/postcode_splitter/handler/Dockerfile
|
dockerfile_path: applications/postcode_splitter/Dockerfile
|
||||||
build_context: .
|
build_context: .
|
||||||
build_args: |
|
build_args: |
|
||||||
DEV_DB_HOST=$DEV_DB_HOST
|
DEV_DB_HOST=$DEV_DB_HOST
|
||||||
|
|
|
||||||
7
.github/workflows/lambda_smoke_tests.yml
vendored
7
.github/workflows/lambda_smoke_tests.yml
vendored
|
|
@ -36,6 +36,13 @@ jobs:
|
||||||
build_context: .
|
build_context: .
|
||||||
service_name: postcode-splitter
|
service_name: postcode-splitter
|
||||||
|
|
||||||
|
postcode_splitter_ddd_smoke_test:
|
||||||
|
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||||
|
with:
|
||||||
|
dockerfile_path: applications/postcode_splitter/Dockerfile
|
||||||
|
build_context: .
|
||||||
|
service_name: postcode-splitter-ddd
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# Bulk Address2UPRN Combiner
|
# Bulk Address2UPRN Combiner
|
||||||
# ============================================================
|
# ============================================================
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@ module "lambda" {
|
||||||
{
|
{
|
||||||
STAGE = var.stage
|
STAGE = var.stage
|
||||||
LOG_LEVEL = "info"
|
LOG_LEVEL = "info"
|
||||||
DB_USERNAME = local.db_credentials.db_assessment_model_username
|
POSTGRES_USERNAME = local.db_credentials.db_assessment_model_username
|
||||||
DB_PASSWORD = local.db_credentials.db_assessment_model_password
|
POSTGRES_PASSWORD = local.db_credentials.db_assessment_model_password
|
||||||
ADDRESS2UPRN_QUEUE_URL = data.terraform_remote_state.address2uprn.outputs.address2uprn_queue_url
|
ADDRESS2UPRN_QUEUE_URL = data.terraform_remote_state.address2uprn.outputs.address2uprn_queue_url
|
||||||
S3_BUCKET_NAME = data.terraform_remote_state.shared.outputs.retrofit_sap_data_bucket_name
|
S3_BUCKET_NAME = data.terraform_remote_state.shared.outputs.retrofit_sap_data_bucket_name
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue