Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More idempotent scripts #66

Merged
merged 2 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/workload/stateful/filemanager/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ export FM_BUCKET=filemanager-test-ingest
cd deploy
yes | npx cdklocal destroy
yes | npx cdklocal bootstrap
yes | npx cdklocal deploy
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
./scripts/logs.sh
2 changes: 1 addition & 1 deletion lib/workload/stateful/filemanager/scripts/logs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh -x

export AWS_ENDPOINT_URL=http://localhost:4566

Expand Down