This commit is contained in:
@@ -67,7 +67,7 @@ jobs:
|
||||
aws --version
|
||||
|
||||
# Wait for LocalStack
|
||||
until curl -s http://localhost:4566/_localstack/health | grep -q '"s3":"available"'; do
|
||||
until curl -s http://localhost:4569 | grep -q '"s3":"available"'; do
|
||||
echo "Wating for localstack"
|
||||
sleep 2
|
||||
done
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
BUCKET_NAME="soaricarus-ci-bucket" # <-- CHANGE THIS TO WHAT YOUR APP EXPECTS
|
||||
|
||||
# Create the bucket
|
||||
aws --endpoint-url=http://localhost:4566 s3 mb s3://$BUCKET_NAME --region ${{ secrets.GARAGE_REGION }}
|
||||
aws --endpoint-url=http://localhost:4569 s3 mb s3://$BUCKET_NAME --region ${{ secrets.GARAGE_REGION }}
|
||||
|
||||
# Set it as an environment variable for the test step
|
||||
echo "BUCKET_NAME=$BUCKET_NAME" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user