From aa236adee37ec59ac1c2af960491cf994d7510da Mon Sep 17 00:00:00 2001 From: Tanner Doshier Date: Mon, 30 Dec 2024 10:43:29 -0500 Subject: [PATCH] Add flask to e2e test --- tests-e2e/test | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/tests-e2e/test b/tests-e2e/test index 6abb96f..c828640 100755 --- a/tests-e2e/test +++ b/tests-e2e/test @@ -28,7 +28,7 @@ $CMD infra install \ --data base_owner=platform-admins \ --data base_code_repository_url=https://foo.example \ --data base_default_region=us-east-1 \ - --data app_name=app \ + --data app_name=rails \ --data app_local_port=3000 \ --data app_has_dev_env_setup=true \ "${PROJECT_DIR}" @@ -42,11 +42,33 @@ $CMD infra update "${PROJECT_DIR}" --version=platform-cli \ --commit \ "${PROJECT_DIR}" \ - app \ + rails \ --data app_local_port=3000 $CMD app update \ --template-uri https://github.com/navapbc/template-application-rails \ --version=platform-cli \ "${PROJECT_DIR}" \ - app + rails + +$CMD infra add-app \ + --commit \ + --data app_name=flask \ + --data app_local_port=3000 \ + --data app_has_dev_env_setup=true \ + "${PROJECT_DIR}" \ + rails + +{ yes || true; } | $CMD app install \ + --template-uri https://github.com/navapbc/template-application-flask \ + --version=platform-cli \ + --commit \ + "${PROJECT_DIR}" \ + flask \ + --data app_local_port=3000 + +$CMD app update \ + --template-uri https://github.com/navapbc/template-application-flask \ + --version=platform-cli \ + "${PROJECT_DIR}" \ + rails