-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sure db gets destroyed, try fix stack names
- Loading branch information
Showing
3 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,15 +44,16 @@ jobs: | |
deactivate | ||
cd - | ||
# we'll use that to name the stack | ||
- name: Get branch names | ||
id: branch-names | ||
uses: tj-actions/branch-names@v8 | ||
# use short commit SHA to name stacks | ||
- uses: benjlevesque/[email protected] | ||
id: short-sha | ||
with: | ||
length: 6 | ||
|
||
- name: Deploy test stack | ||
id: deploy_step | ||
env: | ||
PROJECT_ID: ${{ steps.branch-names.outputs.current_branch }} | ||
PROJECT_ID: ${{ steps.short-sha.outputs.sha }} | ||
run: | | ||
source .deployment_venv/bin/activate | ||
|
@@ -68,7 +69,7 @@ jobs: | |
- name: Tear down any infrastructure | ||
if: always() | ||
env: | ||
PROJECT_ID: ${{ steps.branch-names.outputs.current_branch }} | ||
PROJECT_ID: ${{ steps.short-sha.outputs.sha }} | ||
run: | | ||
cd integration_tests/cdk | ||
# run this only if we find a 'cdk.out' directory, which means there might be things to tear down | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.