Skip to content

Commit 76fe4ab

Browse files
committed
minor fixes
1 parent 23f6252 commit 76fe4ab

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/wiremock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Run sample app test
4949
run: |
5050
cd wiremock
51-
make sample
51+
make sample-oss
5252
5353
- name: Print logs
5454
if: always()

wiremock/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ sample-oss: ## Deploy sample app (OSS mode)
4848
echo "Invoking local API Gateway endpoint: $$endpoint"; \
4949
curl -k -v $$endpoint | grep time_off_date
5050

51-
sample-runner: ## Deploy sample app (Runner mode)
51+
sample-runner-setup: ## Set up the mock APIs for WireMock Cloud (Runner mode)
5252
echo "Creating stubs in WireMock ..."
5353
bin/setup-wiremock-runner.sh
54+
55+
sample-runner: ## Deploy sample app (Runner mode)
5456
echo "Deploying sample app into LocalStack via CDK ..."
55-
(cd sample-app-runner; cdklocal bootstrap; cdklocal deploy)
57+
(cd sample-app-runner; npm install; cdklocal bootstrap; cdklocal deploy)
5658
apiId=$$(awslocal apigateway get-rest-apis | jq -r '.items[0].id'); \
5759
endpoint=https://$$apiId.execute-api.us-east-1.localhost.localstack.cloud/dev/models; \
5860
echo "Invoking local API Gateway endpoint: $$endpoint"; \

0 commit comments

Comments
 (0)