File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 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()
Original file line number Diff line number Diff 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" ; \
You can’t perform that action at this time.
0 commit comments