mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
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:
committed by
GitHub
parent
6898b31842
commit
7146826126
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user