mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
remove smoke tests from gh workflows
This commit is contained in:
parent
d06e92cd75
commit
6a5a2c39d3
2 changed files with 141 additions and 131 deletions
268
.github/workflows/lambda_smoke_tests.yml
vendored
268
.github/workflows/lambda_smoke_tests.yml
vendored
|
|
@ -1,144 +1,154 @@
|
|||
name: Lambda Smoke Tests
|
||||
# name: Lambda Smoke Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
# on:
|
||||
# pull_request:
|
||||
# branches:
|
||||
# - main
|
||||
|
||||
jobs:
|
||||
# ============================================================
|
||||
# Ara Engine
|
||||
# ============================================================
|
||||
ara_engine_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: backend/docker/engine.Dockerfile
|
||||
build_context: .
|
||||
service_name: ara-engine
|
||||
# jobs:
|
||||
# # ============================================================
|
||||
# # Ara Engine
|
||||
# # ============================================================
|
||||
# ara_engine_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: backend/docker/engine.Dockerfile
|
||||
# build_context: .
|
||||
# service_name: ara-engine
|
||||
|
||||
# ============================================================
|
||||
# Address 2 UPRN
|
||||
# ============================================================
|
||||
address2uprn_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: backend/address2UPRN/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: address2uprn
|
||||
# # ============================================================
|
||||
# # Address 2 UPRN
|
||||
# # ============================================================
|
||||
# address2uprn_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: backend/address2UPRN/handler/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: address2uprn
|
||||
|
||||
# ============================================================
|
||||
# Postcode Splitter
|
||||
# ============================================================
|
||||
postcode_splitter_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: backend/postcode_splitter/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: postcode-splitter
|
||||
# # ============================================================
|
||||
# # Postcode Splitter
|
||||
# # ============================================================
|
||||
# postcode_splitter_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: backend/postcode_splitter/handler/Dockerfile
|
||||
# build_context: .
|
||||
# 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
|
||||
# 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
|
||||
|
||||
# ============================================================
|
||||
# Landlord Description Overrides
|
||||
# ============================================================
|
||||
landlord_description_overrides_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: applications/landlord_description_overrides/Dockerfile
|
||||
build_context: .
|
||||
service_name: landlord-description-overrides
|
||||
# # ============================================================
|
||||
# # Landlord Description Overrides
|
||||
# # ============================================================
|
||||
# landlord_description_overrides_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: applications/landlord_description_overrides/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: landlord-description-overrides
|
||||
|
||||
# ============================================================
|
||||
# Bulk Address2UPRN Combiner
|
||||
# ============================================================
|
||||
bulk_address2uprn_combiner_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: backend/bulk_address2uprn_combiner/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: bulk-address2uprn-combiner
|
||||
# # ============================================================
|
||||
# # Bulk Address2UPRN Combiner
|
||||
# # ============================================================
|
||||
# bulk_address2uprn_combiner_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: backend/bulk_address2uprn_combiner/handler/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: bulk-address2uprn-combiner
|
||||
|
||||
# ============================================================
|
||||
# Bulk Upload Finaliser
|
||||
# ============================================================
|
||||
bulk_upload_finaliser_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: applications/bulk_upload_finaliser/Dockerfile
|
||||
build_context: .
|
||||
service_name: bulk-upload-finaliser
|
||||
# # ============================================================
|
||||
# # Bulk Upload Finaliser
|
||||
# # ============================================================
|
||||
# bulk_upload_finaliser_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: applications/bulk_upload_finaliser/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: bulk-upload-finaliser
|
||||
|
||||
# ============================================================
|
||||
# Condition ETL
|
||||
# ============================================================
|
||||
condition_etl_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: backend/condition/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: condition-etl
|
||||
# # ============================================================
|
||||
# # Condition ETL
|
||||
# # ============================================================
|
||||
# condition_etl_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: backend/condition/handler/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: condition-etl
|
||||
|
||||
# ============================================================
|
||||
# Categorisation
|
||||
# ============================================================
|
||||
categorisation_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: backend/categorisation/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: categorisation
|
||||
# # ============================================================
|
||||
# # Categorisation
|
||||
# # ============================================================
|
||||
# categorisation_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: backend/categorisation/handler/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: categorisation
|
||||
|
||||
# ============================================================
|
||||
# Ordnance Survey
|
||||
# ============================================================
|
||||
ordnance_survey_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: backend/ordnanceSurvey/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: ordnance-survey
|
||||
# # ============================================================
|
||||
# # Ordnance Survey
|
||||
# # ============================================================
|
||||
# ordnance_survey_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: backend/ordnanceSurvey/handler/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: ordnance-survey
|
||||
|
||||
# ============================================================
|
||||
# Pas Hub Fetcher
|
||||
# ============================================================
|
||||
pashub_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: backend/pashub_fetcher/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: pashub
|
||||
# # ============================================================
|
||||
# # Pas Hub Fetcher
|
||||
# # ============================================================
|
||||
# pashub_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: backend/pashub_fetcher/handler/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: pashub
|
||||
|
||||
# ============================================================
|
||||
# MagicPlan
|
||||
# ============================================================
|
||||
magic_plan_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: applications/magic_plan/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: magic-plan
|
||||
# # ============================================================
|
||||
# # MagicPlan
|
||||
# # ============================================================
|
||||
# magic_plan_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: applications/magic_plan/handler/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: magic-plan
|
||||
|
||||
# ============================================================
|
||||
# Audit Generator
|
||||
# ============================================================
|
||||
audit_generator_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: applications/audit_generator/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: audit-generator
|
||||
# # ============================================================
|
||||
# # Audit Generator
|
||||
# # ============================================================
|
||||
# audit_generator_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: applications/audit_generator/handler/Dockerfile
|
||||
# build_context: .
|
||||
# service_name: audit-generator
|
||||
|
||||
# ============================================================
|
||||
# HubSpot Scraper
|
||||
# ============================================================
|
||||
hubspot_scraper_smoke_test:
|
||||
uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
with:
|
||||
dockerfile_path: etl/hubspot/scripts/scraper/handler/Dockerfile
|
||||
build_context: .
|
||||
service_name: hubspot-scraper
|
||||
# # ============================================================
|
||||
# # HubSpot Scraper
|
||||
# # ============================================================
|
||||
# hubspot_scraper_smoke_test:
|
||||
# uses: ./.github/workflows/_smoke_test_lambda.yml
|
||||
# with:
|
||||
# dockerfile_path: etl/hubspot/scripts/scraper/handler/Dockerfile
|
||||
# build_context: .
|
||||
# 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
|
||||
|
|
@ -12,11 +12,11 @@ payload = {
|
|||
{
|
||||
"body": json.dumps(
|
||||
{
|
||||
"property_ids": [722473],
|
||||
"property_ids": [727220, 727229],
|
||||
"portfolio_id": 796,
|
||||
"scenario_id": 1268,
|
||||
"no_solar": False,
|
||||
"dry_run": False,
|
||||
"dry_run": True,
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue