-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4ef4d1
commit 6f5512e
Showing
2 changed files
with
21 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh -x | ||
|
||
export AWS_ENDPOINT_URL=http://localhost:4566 | ||
export FM_BUCKET=filemanager-test-ingest | ||
|
||
cd deploy | ||
yes | npx cdklocal destroy | ||
yes | npx cdklocal bootstrap | ||
yes | npx cdklocal deploy --require-approval never | ||
cd ../database && sqlx migrate run && cd .. | ||
|
||
aws s3 mb s3://$FM_BUCKET | ||
aws s3api put-object --bucket $FM_BUCKET --key test | ||
|
||
./scripts/logs.sh |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh -x | ||
|
||
export AWS_ENDPOINT_URL=http://localhost:4566 | ||
|
||
group_name=$(aws logs describe-log-groups --query 'logGroups[*].logGroupName' --output text) | ||
aws logs tail "$group_name" --follow |