Obj str do it #255
@@ -67,7 +67,7 @@ jobs:
|
|||||||
aws --version
|
aws --version
|
||||||
|
|
||||||
# Wait for LocalStack
|
# 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"
|
echo "Wating for localstack"
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
BUCKET_NAME="soaricarus-ci-bucket" # <-- CHANGE THIS TO WHAT YOUR APP EXPECTS
|
BUCKET_NAME="soaricarus-ci-bucket" # <-- CHANGE THIS TO WHAT YOUR APP EXPECTS
|
||||||
|
|
||||||
# Create the bucket
|
# 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
|
# Set it as an environment variable for the test step
|
||||||
echo "BUCKET_NAME=$BUCKET_NAME" >> $GITHUB_ENV
|
echo "BUCKET_NAME=$BUCKET_NAME" >> $GITHUB_ENV
|
||||||
|
|||||||
Reference in New Issue
Block a user