remove smoke tests from gh workflows

This commit is contained in:
Daniel Roth 2026-06-24 11:35:30 +00:00
parent d06e92cd75
commit 6a5a2c39d3
2 changed files with 141 additions and 131 deletions

View file

@ -1,144 +1,154 @@
name: Lambda Smoke Tests # name: Lambda Smoke Tests
on: # on:
pull_request: # pull_request:
branches: # branches:
- main # - main
jobs: # jobs:
# ============================================================ # # ============================================================
# Ara Engine # # Ara Engine
# ============================================================ # # ============================================================
ara_engine_smoke_test: # ara_engine_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: backend/docker/engine.Dockerfile # dockerfile_path: backend/docker/engine.Dockerfile
build_context: . # build_context: .
service_name: ara-engine # service_name: ara-engine
# ============================================================ # # ============================================================
# Address 2 UPRN # # Address 2 UPRN
# ============================================================ # # ============================================================
address2uprn_smoke_test: # address2uprn_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: backend/address2UPRN/handler/Dockerfile # dockerfile_path: backend/address2UPRN/handler/Dockerfile
build_context: . # build_context: .
service_name: address2uprn # service_name: address2uprn
# ============================================================ # # ============================================================
# Postcode Splitter # # Postcode Splitter
# ============================================================ # # ============================================================
postcode_splitter_smoke_test: # postcode_splitter_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: backend/postcode_splitter/handler/Dockerfile # dockerfile_path: backend/postcode_splitter/handler/Dockerfile
build_context: . # build_context: .
service_name: postcode-splitter # service_name: postcode-splitter
postcode_splitter_ddd_smoke_test: # postcode_splitter_ddd_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: applications/postcode_splitter/Dockerfile # dockerfile_path: applications/postcode_splitter/Dockerfile
build_context: . # build_context: .
service_name: postcode-splitter-ddd # service_name: postcode-splitter-ddd
# ============================================================ # # ============================================================
# Landlord Description Overrides # # Landlord Description Overrides
# ============================================================ # # ============================================================
landlord_description_overrides_smoke_test: # landlord_description_overrides_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: applications/landlord_description_overrides/Dockerfile # dockerfile_path: applications/landlord_description_overrides/Dockerfile
build_context: . # build_context: .
service_name: landlord-description-overrides # service_name: landlord-description-overrides
# ============================================================ # # ============================================================
# Bulk Address2UPRN Combiner # # Bulk Address2UPRN Combiner
# ============================================================ # # ============================================================
bulk_address2uprn_combiner_smoke_test: # bulk_address2uprn_combiner_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: backend/bulk_address2uprn_combiner/handler/Dockerfile # dockerfile_path: backend/bulk_address2uprn_combiner/handler/Dockerfile
build_context: . # build_context: .
service_name: bulk-address2uprn-combiner # service_name: bulk-address2uprn-combiner
# ============================================================ # # ============================================================
# Bulk Upload Finaliser # # Bulk Upload Finaliser
# ============================================================ # # ============================================================
bulk_upload_finaliser_smoke_test: # bulk_upload_finaliser_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: applications/bulk_upload_finaliser/Dockerfile # dockerfile_path: applications/bulk_upload_finaliser/Dockerfile
build_context: . # build_context: .
service_name: bulk-upload-finaliser # service_name: bulk-upload-finaliser
# ============================================================ # # ============================================================
# Condition ETL # # Condition ETL
# ============================================================ # # ============================================================
condition_etl_smoke_test: # condition_etl_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: backend/condition/handler/Dockerfile # dockerfile_path: backend/condition/handler/Dockerfile
build_context: . # build_context: .
service_name: condition-etl # service_name: condition-etl
# ============================================================ # # ============================================================
# Categorisation # # Categorisation
# ============================================================ # # ============================================================
categorisation_smoke_test: # categorisation_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: backend/categorisation/handler/Dockerfile # dockerfile_path: backend/categorisation/handler/Dockerfile
build_context: . # build_context: .
service_name: categorisation # service_name: categorisation
# ============================================================ # # ============================================================
# Ordnance Survey # # Ordnance Survey
# ============================================================ # # ============================================================
ordnance_survey_smoke_test: # ordnance_survey_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: backend/ordnanceSurvey/handler/Dockerfile # dockerfile_path: backend/ordnanceSurvey/handler/Dockerfile
build_context: . # build_context: .
service_name: ordnance-survey # service_name: ordnance-survey
# ============================================================ # # ============================================================
# Pas Hub Fetcher # # Pas Hub Fetcher
# ============================================================ # # ============================================================
pashub_smoke_test: # pashub_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: backend/pashub_fetcher/handler/Dockerfile # dockerfile_path: backend/pashub_fetcher/handler/Dockerfile
build_context: . # build_context: .
service_name: pashub # service_name: pashub
# ============================================================ # # ============================================================
# MagicPlan # # MagicPlan
# ============================================================ # # ============================================================
magic_plan_smoke_test: # magic_plan_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: applications/magic_plan/handler/Dockerfile # dockerfile_path: applications/magic_plan/handler/Dockerfile
build_context: . # build_context: .
service_name: magic-plan # service_name: magic-plan
# ============================================================ # # ============================================================
# Audit Generator # # Audit Generator
# ============================================================ # # ============================================================
audit_generator_smoke_test: # audit_generator_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: applications/audit_generator/handler/Dockerfile # dockerfile_path: applications/audit_generator/handler/Dockerfile
build_context: . # build_context: .
service_name: audit-generator # service_name: audit-generator
# ============================================================ # # ============================================================
# HubSpot Scraper # # HubSpot Scraper
# ============================================================ # # ============================================================
hubspot_scraper_smoke_test: # hubspot_scraper_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml # uses: ./.github/workflows/_smoke_test_lambda.yml
with: # with:
dockerfile_path: etl/hubspot/scripts/scraper/handler/Dockerfile # dockerfile_path: etl/hubspot/scripts/scraper/handler/Dockerfile
build_context: . # build_context: .
service_name: hubspot-scraper # service_name: hubspot-scraper
# # ============================================================
# # Modelling E2E
# # ============================================================
# hubspot_scraper_smoke_test:
# uses: ./.github/workflows/_smoke_test_lambda.yml
# with:
# dockerfile_path: applications/modelling_e2e/Dockerfile
# build_context: .
# service_name: modelling_e2e

View file

@ -12,11 +12,11 @@ payload = {
{ {
"body": json.dumps( "body": json.dumps(
{ {
"property_ids": [722473], "property_ids": [727220, 727229],
"portfolio_id": 796, "portfolio_id": 796,
"scenario_id": 1268, "scenario_id": 1268,
"no_solar": False, "no_solar": False,
"dry_run": False, "dry_run": True,
} }
) )
} }