Skip to content

Commit 5e1f3e5

Browse files
committed
Reverted e2e pipeline
1 parent 8ddd58c commit 5e1f3e5

File tree

3 files changed

+7
-106
lines changed

3 files changed

+7
-106
lines changed

.github/workflows/run-e2e-test.yml

Lines changed: 0 additions & 100 deletions
This file was deleted.

e2e/Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
-include .env
22

3-
AWS_DOMAIN_NAME=https://internal-dev.imms.dev.vds.platform.nhs.uk
4-
DYNAMODB_TABLE_NAME=imms-internal-dev-imms-events
5-
IMMS_DELTA_TABLE_NAME=imms-internal-dev-delta
6-
AWS_SQS_QUEUE_NAME=imms-internal-dev-delta-dlq
7-
AWS_SNS_TOPIC_NAME=imms-internal-dev-delta-sns
3+
APIGEE_ACCESS_TOKEN ?= $(shell export SSO_LOGIN_URL=https://login.apigee.com && eval get_token -u $(APIGEE_USERNAME))
4+
AWS_DOMAIN_NAME=https://$(shell make -C ../terraform -s output name=service_domain_name || true)
5+
DYNAMODB_TABLE_NAME=$(shell make -C ../terraform -s output name=dynamodb_table_name || true)
6+
IMMS_DELTA_TABLE_NAME=$(shell make -C ../terraform -s output name=imms_delta_table_name || true)
7+
AWS_SQS_QUEUE_NAME=$(shell make -C ../terraform -s output name=aws_sqs_queue_name || true)
8+
AWS_SNS_TOPIC_NAME=$(shell make -C ../terraform -s output name=aws_sns_topic_name || true)
89

910
cmd = APIGEE_ACCESS_TOKEN=$(APIGEE_ACCESS_TOKEN) APIGEE_USERNAME=$(APIGEE_USERNAME) IMMS_DELTA_TABLE_NAME=$(IMMS_DELTA_TABLE_NAME) AWS_DOMAIN_NAME=$(AWS_DOMAIN_NAME) DYNAMODB_TABLE_NAME=$(DYNAMODB_TABLE_NAME) AWS_SQS_QUEUE_NAME=$(AWS_SQS_QUEUE_NAME) AWS_SNS_TOPIC_NAME=$(AWS_SNS_TOPIC_NAME) poetry run python -m unittest
1011

terraform/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sub_environment ?= $(SUB_ENVIRONMENT)
55
sub_environment_dir := $(if $(findstring pr-,$(sub_environment)),pr,$(sub_environment))
66

77
aws_profile = apim-dev
8-
tf_cmd = $(if $(AWS_PROFILE),AWS_PROFILE=$(AWS_PROFILE) ,)terraform
8+
tf_cmd = AWS_PROFILE=$(AWS_PROFILE) terraform
99

1010
bucket_name = $(if $(filter dev,$(environment)),immunisation-$(sub_environment),immunisation-$(environment))-terraform-state-files
1111

0 commit comments

Comments
 (0)