ci: upgrade localstack to v3.3.0 (#2390)

There are performance improvements in recent releases of localstack.

1) install localstack via "pip install" and requires python 3.11
2) also pull a recently pushed localstack docker image to ghcr.io

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani
2024-04-19 00:08:36 -07:00
committed by GitHub
parent 6898b31842
commit 7146826126
4 changed files with 38 additions and 6 deletions
+5 -2
View File
@@ -18,11 +18,14 @@ runs:
registry: ghcr.io
username: ${{ inputs.username }}
password: ${{ inputs.password }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- shell: bash
run: |
pip install localstack==2.3.1 # Install LocalStack cli
pip install localstack==3.3.0 # Install LocalStack cli
# Below image was copied manually from localstack/localstack:2.2 and uploaded to ghcr
docker pull ghcr.io/project-zot/ci-images/localstack:2.3.1 # Make sure to pull a working version of the image
docker pull ghcr.io/project-zot/ci-images/localstack:3.3.0 # Make sure to pull a working version of the image
localstack start -d # Start LocalStack in the background
echo "Waiting for LocalStack startup..." # Wait 30 seconds for the LocalStack container