File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11
11
types : [completed]
12
12
# ... or manually.
13
13
workflow_dispatch :
14
+
15
+ # remove later
16
+ push :
17
+ branches :
18
+ - " feat/add-integration-tests"
14
19
15
20
jobs :
16
21
# run a job on a successful `Workflow` run.
17
22
on-successful-release :
18
- if : ${{ github.event.workflow_run.conclusion == 'success' }}
19
23
runs-on : ubuntu-latest
20
24
env :
21
25
AWS_DEFAULT_REGION : ${{ secrets.AWS_DEFAULT_REGION_DEPLOY }}
52
56
working-directory : integration_tests/cdk
53
57
run : |
54
58
source .deployment_venv/bin/activate
55
- cdk synth --debug --all --require-approval never
59
+ npx cdk synth --debug --all --require-approval never
56
60
deactivate
57
61
58
62
# deploys and grabs URLs from the output for later tests
61
65
working-directory : integration_tests/cdk
62
66
run : |
63
67
source .deployment_venv/bin/activate
64
- cdk deploy --ci --all --require-approval never
68
+ npx cdk deploy --ci --all --require-approval never
65
69
echo "ingestor_url=$(aws cloudformation describe-stacks --stack-name eoapi-template-demo-test-pgSTAC-infra --query "Stacks[0].Outputs[?starts_with(OutputKey, 'stacingestor')].OutputValue | [0]" --output text)" >> $GITHUB_OUTPUT
66
70
echo "stac_api_url=$(aws cloudformation describe-stacks --stack-name eoapi-template-demo-test-pgSTAC-infra --query "Stacks[0].Outputs[?starts_with(OutputKey, 'pgstacapi')].OutputValue | [0]" --output text)" >> $GITHUB_OUTPUT
67
71
echo "titiler_pgstac_api_url=$(aws cloudformation describe-stacks --stack-name eoapi-template-demo-test-pgSTAC-infra --query "Stacks[0].Outputs[?starts_with(OutputKey, 'titilerpgstac')].OutputValue | [0]" --output text)" >> $GITHUB_OUTPUT
91
95
working-directory : integration_tests/cdk
92
96
run : |
93
97
source .deployment_venv/bin/activate
94
- cdk destroy --ci --all --force
98
+ npx cdk destroy --ci --all --force
95
99
deactivate
You can’t perform that action at this time.
0 commit comments