From f891df0118d16c7e6962a8a5b42c4792a8a5eac9 Mon Sep 17 00:00:00 2001 From: Petu Eusebiu Date: Mon, 2 Oct 2023 10:34:08 +0300 Subject: [PATCH] fix(nightly): create bucket for s3 testing with localstack Signed-off-by: Petu Eusebiu --- .github/actions/setup-localstack/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-localstack/action.yaml b/.github/actions/setup-localstack/action.yaml index 61422780b..69d41737f 100644 --- a/.github/actions/setup-localstack/action.yaml +++ b/.github/actions/setup-localstack/action.yaml @@ -29,7 +29,7 @@ runs: localstack wait -t 30 # to become ready before timing out echo "Startup complete" - aws dynamodb --endpoint-url http://localhost:4566 --region "us-east-2" create-table --table-name BlobTable --attribute-definitions AttributeName=Digest,AttributeType=S --key-schema AttributeName=Digest,KeyType=HASH --provisioned-throughput ReadCapacityUnits=10,WriteCapacityUnits=5 + aws --endpoint-url=http://localhost:4566 s3api create-bucket --bucket zot-storage --region us-east-2 --create-bucket-configuration="{\"LocationConstraint\": \"us-east-2\"}" env: AWS_ACCESS_KEY_ID: fake AWS_SECRET_ACCESS_KEY: fake