From 5c74739ba85ba0a68f78a8d7b7947b9fb1c0d51b Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 11:49:26 +0530 Subject: [PATCH 01/14] Refactor CircleCI config for LocalStack setup Updated CircleCI configuration to use a machine executor with Ubuntu 22.04, removed localstack orb, and adjusted job steps for LocalStack installation and usage. --- .circleci/config.yml | 80 +++++++++++++++++++++++++------------------- 1 file changed, 45 insertions(+), 35 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 332acf2..130f0bb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,13 +1,17 @@ version: 2.1 - -orbs: - localstack: localstack/platform@2.1 - - jobs: save-state: - executor: localstack/default + machine: + image: ubuntu-2204:current + environment: + LOCALSTACK_AUTH_TOKEN: ${LOCALSTACK_AUTH_TOKEN} + AWS_DEFAULT_REGION: us-east-1 + AWS_REGION: us-east-1 + AWS_ACCESS_KEY_ID: test + AWS_SECRET_ACCESS_KEY: test + DEBUG: 1 + LS_LOG: trace steps: - checkout - restore_cache: @@ -20,22 +24,24 @@ jobs: # Currently highest available 3.11 on CircleCI runner test -d /opt/circleci/.pyenv/versions/3.11.1 || pyenv install 3.11.1 pyenv global 3.11.1 - - localstack/start + - run: + name: Install LocalStack CLI + command: python3 -m pip install localstack awscli-local[ver1] + - run: + name: Start LocalStack + command: | + docker pull localstack/localstack:latest + localstack start -d + localstack wait -t 60 - run: name: Install dependencies - command: - pip3 install -r requirements-dev.txt --upgrade - - localstack/wait + command: pip3 install -r requirements-dev.txt --upgrade - run: name: Build lambdas - command: - deployment/build-lambdas.sh - + command: deployment/build-lambdas.sh - run: name: Deploy infrastructure - command: - deployment/awslocal/deploy.sh - + command: deployment/awslocal/deploy.sh - run: name: Export state command: localstack state export ls-state.zip @@ -50,30 +56,36 @@ jobs: - store_artifacts: path: ls-state.zip - load-state: - executor: localstack/default + machine: + image: ubuntu-2204:current environment: - AWS_DEFAULT_REGION: us-east-1 - AWS_REGION: us-east-1 - AWS_ACCESS_KEY_ID: test - AWS_SECRET_ACCESS_KEY: test - DEBUG: 1 - LS_LOG: trace + LOCALSTACK_AUTH_TOKEN: ${LOCALSTACK_AUTH_TOKEN} + AWS_DEFAULT_REGION: us-east-1 + AWS_REGION: us-east-1 + AWS_ACCESS_KEY_ID: test + AWS_SECRET_ACCESS_KEY: test + DEBUG: 1 + LS_LOG: trace steps: + - checkout - restore_cache: key: python-deps- - run: name: Choose python version - command: - pyenv global 3.11.1 - - localstack/start - - checkout + command: pyenv global 3.11.1 + - run: + name: Install LocalStack CLI + command: python3 -m pip install localstack awscli-local[ver1] + - run: + name: Start LocalStack + command: | + docker pull localstack/localstack:latest + localstack start -d + localstack wait -t 60 - run: name: Install dependencies - command: - pip3 install -r requirements-dev.txt - - localstack/wait + command: pip3 install -r requirements-dev.txt - attach_workspace: at: . - run: @@ -81,8 +93,7 @@ jobs: command: test -f ls-state.zip && localstack state import ls-state.zip - run: name: Run Tests - command: - pytest tests + command: pytest tests - run: when: on_fail name: Dump Localstack logs @@ -90,10 +101,9 @@ jobs: - store_artifacts: path: localstack.log - workflows: do-tests: jobs: - save-state - load-state: - requires: [save-state] \ No newline at end of file + requires: [save-state] From ce655f67e9e4863d0ad158ba60740ae599f37edf Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 11:54:04 +0530 Subject: [PATCH 02/14] Update config.yml --- .circleci/config.yml | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 130f0bb..90d7ee8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,15 +21,18 @@ jobs: - run: name: Install Python 3.11 command: | - # Currently highest available 3.11 on CircleCI runner test -d /opt/circleci/.pyenv/versions/3.11.1 || pyenv install 3.11.1 pyenv global 3.11.1 - run: - name: Install LocalStack CLI - command: python3 -m pip install localstack awscli-local[ver1] + name: Install LocalStack CLI + awslocal + command: | + python3 -m pip install --user --upgrade pip + python3 -m pip install --user localstack awscli-local[ver1] + echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" - run: name: Start LocalStack command: | + source "$BASH_ENV" docker pull localstack/localstack:latest localstack start -d localstack wait -t 60 @@ -44,7 +47,9 @@ jobs: command: deployment/awslocal/deploy.sh - run: name: Export state - command: localstack state export ls-state.zip + command: | + source "$BASH_ENV" + localstack state export ls-state.zip - persist_to_workspace: root: . paths: @@ -72,14 +77,18 @@ jobs: - restore_cache: key: python-deps- - run: - name: Choose python version + name: Choose Python version command: pyenv global 3.11.1 - run: - name: Install LocalStack CLI - command: python3 -m pip install localstack awscli-local[ver1] + name: Install LocalStack CLI + awslocal + command: | + python3 -m pip install --user --upgrade pip + python3 -m pip install --user localstack awscli-local[ver1] + echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" - run: name: Start LocalStack command: | + source "$BASH_ENV" docker pull localstack/localstack:latest localstack start -d localstack wait -t 60 @@ -90,14 +99,18 @@ jobs: at: . - run: name: Import state - command: test -f ls-state.zip && localstack state import ls-state.zip + command: | + source "$BASH_ENV" + test -f ls-state.zip && localstack state import ls-state.zip - run: - name: Run Tests + name: Run tests command: pytest tests - run: when: on_fail - name: Dump Localstack logs - command: localstack logs | tee localstack.log + name: Dump LocalStack logs + command: | + source "$BASH_ENV" + localstack logs | tee localstack.log - store_artifacts: path: localstack.log From ee21f54a7b662ea2c4ad2798440d337f868c23e4 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 11:58:11 +0530 Subject: [PATCH 03/14] Update config.yml --- .circleci/config.yml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 90d7ee8..205706d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,8 @@ version: 2.1 +orbs: + python: circleci/python@4.0.0 + jobs: save-state: machine: @@ -18,21 +21,20 @@ jobs: keys: - python-deps-{{ checksum "requirements-dev.txt" }} - python-deps - - run: - name: Install Python 3.11 - command: | - test -d /opt/circleci/.pyenv/versions/3.11.1 || pyenv install 3.11.1 - pyenv global 3.11.1 + # - run: + # name: Install Python 3.11 + # command: | + # test -d /opt/circleci/.pyenv/versions/3.11.1 || pyenv install 3.11.1 + # pyenv global 3.11.1 - run: name: Install LocalStack CLI + awslocal command: | - python3 -m pip install --user --upgrade pip - python3 -m pip install --user localstack awscli-local[ver1] - echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" + pip3 install localstack awscli-local[ver1] + # echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" - run: name: Start LocalStack command: | - source "$BASH_ENV" + # source "$BASH_ENV" docker pull localstack/localstack:latest localstack start -d localstack wait -t 60 @@ -76,19 +78,13 @@ jobs: - checkout - restore_cache: key: python-deps- - - run: - name: Choose Python version - command: pyenv global 3.11.1 - run: name: Install LocalStack CLI + awslocal command: | - python3 -m pip install --user --upgrade pip - python3 -m pip install --user localstack awscli-local[ver1] - echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" + pip3 install localstack awscli-local[ver1] - run: name: Start LocalStack command: | - source "$BASH_ENV" docker pull localstack/localstack:latest localstack start -d localstack wait -t 60 From c275f7b60e7c70e6eaf6615d2cbb9f061f1aba96 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:07:08 +0530 Subject: [PATCH 04/14] Update config.yml --- .circleci/config.yml | 60 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 49 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 205706d..1c2a649 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,6 @@ jobs: machine: image: ubuntu-2204:current environment: - LOCALSTACK_AUTH_TOKEN: ${LOCALSTACK_AUTH_TOKEN} AWS_DEFAULT_REGION: us-east-1 AWS_REGION: us-east-1 AWS_ACCESS_KEY_ID: test @@ -21,45 +20,62 @@ jobs: keys: - python-deps-{{ checksum "requirements-dev.txt" }} - python-deps - # - run: - # name: Install Python 3.11 - # command: | - # test -d /opt/circleci/.pyenv/versions/3.11.1 || pyenv install 3.11.1 - # pyenv global 3.11.1 + - run: name: Install LocalStack CLI + awslocal command: | - pip3 install localstack awscli-local[ver1] - # echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" + python3 -m pip install --user --upgrade pip + python3 -m pip install --user localstack awscli-local[ver1] + echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" + + - run: + name: Verify and configure LocalStack token + command: | + source "$BASH_ENV" + if [ -z "${LOCALSTACK_AUTH_TOKEN:-}" ]; then + echo "LOCALSTACK_AUTH_TOKEN is not set in this job." + echo "Set it in CircleCI Project Settings > Environment Variables or via Context." + exit 1 + fi + echo "LOCALSTACK_AUTH_TOKEN is present (length=${#LOCALSTACK_AUTH_TOKEN})" + localstack auth set-token "$LOCALSTACK_AUTH_TOKEN" + - run: name: Start LocalStack command: | - # source "$BASH_ENV" + source "$BASH_ENV" docker pull localstack/localstack:latest localstack start -d localstack wait -t 60 + - run: name: Install dependencies command: pip3 install -r requirements-dev.txt --upgrade + - run: name: Build lambdas command: deployment/build-lambdas.sh + - run: name: Deploy infrastructure command: deployment/awslocal/deploy.sh + - run: name: Export state command: | source "$BASH_ENV" localstack state export ls-state.zip + - persist_to_workspace: root: . paths: - ls-state.zip + - save_cache: paths: - /opt/circleci/.pyenv/versions/3.11.1 key: python-deps-{{ checksum "requirements-dev.txt" }} + - store_artifacts: path: ls-state.zip @@ -67,7 +83,6 @@ jobs: machine: image: ubuntu-2204:current environment: - LOCALSTACK_AUTH_TOKEN: ${LOCALSTACK_AUTH_TOKEN} AWS_DEFAULT_REGION: us-east-1 AWS_REGION: us-east-1 AWS_ACCESS_KEY_ID: test @@ -78,35 +93,58 @@ jobs: - checkout - restore_cache: key: python-deps- + - run: name: Install LocalStack CLI + awslocal command: | - pip3 install localstack awscli-local[ver1] + python3 -m pip install --user --upgrade pip + python3 -m pip install --user localstack awscli-local[ver1] + echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" + + - run: + name: Verify and configure LocalStack token + command: | + source "$BASH_ENV" + if [ -z "${LOCALSTACK_AUTH_TOKEN:-}" ]; then + echo "LOCALSTACK_AUTH_TOKEN is not set in this job." + echo "Set it in CircleCI Project Settings > Environment Variables or via Context." + exit 1 + fi + echo "LOCALSTACK_AUTH_TOKEN is present (length=${#LOCALSTACK_AUTH_TOKEN})" + localstack auth set-token "$LOCALSTACK_AUTH_TOKEN" + - run: name: Start LocalStack command: | + source "$BASH_ENV" docker pull localstack/localstack:latest localstack start -d localstack wait -t 60 + - run: name: Install dependencies command: pip3 install -r requirements-dev.txt + - attach_workspace: at: . + - run: name: Import state command: | source "$BASH_ENV" test -f ls-state.zip && localstack state import ls-state.zip + - run: name: Run tests command: pytest tests + - run: when: on_fail name: Dump LocalStack logs command: | source "$BASH_ENV" localstack logs | tee localstack.log + - store_artifacts: path: localstack.log From 83850f0c1f3925446a0617e935204703b383537a Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:11:39 +0530 Subject: [PATCH 05/14] Update requirements-dev.txt --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 9bf6a99..4f76c93 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ boto3 requests>=2.20 -Pillow==9.2.0 +Pillow mypy-boto3-ssm mypy-boto3-sns mypy-boto3-s3 From 587115daf84b907c2e7d9831de0acbb0cbce1a3e Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:14:56 +0530 Subject: [PATCH 06/14] Update requirements.txt --- lambdas/resize/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambdas/resize/requirements.txt b/lambdas/resize/requirements.txt index a6d4d60..7e2fba5 100644 --- a/lambdas/resize/requirements.txt +++ b/lambdas/resize/requirements.txt @@ -1 +1 @@ -Pillow==9.2.0 +Pillow From cd2f031af36cc676b110ffa093be701098658408 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:18:45 +0530 Subject: [PATCH 07/14] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1c2a649..5ba1d94 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -136,7 +136,7 @@ jobs: - run: name: Run tests - command: pytest tests + command: pip3 insyall pytest && pytest tests - run: when: on_fail From 2ec5e593b24e89a3108558458aef24ee8162c43b Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:24:37 +0530 Subject: [PATCH 08/14] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5ba1d94..7c01c36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -136,7 +136,7 @@ jobs: - run: name: Run tests - command: pip3 insyall pytest && pytest tests + command: pip3 install pytest && pytest tests - run: when: on_fail From ef693deab79372c3d4cf8ac4870db8f553af2b60 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:30:51 +0530 Subject: [PATCH 09/14] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7c01c36..3aad3ff 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -136,7 +136,7 @@ jobs: - run: name: Run tests - command: pip3 install pytest && pytest tests + command: pip3 install pytest && python3 -m pytest tests - run: when: on_fail From 9d7f552164c1b1d2684c1d58774ac69fab9d7842 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:41:38 +0530 Subject: [PATCH 10/14] Update config.yml --- .circleci/config.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3aad3ff..323a37d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -134,10 +134,6 @@ jobs: source "$BASH_ENV" test -f ls-state.zip && localstack state import ls-state.zip - - run: - name: Run tests - command: pip3 install pytest && python3 -m pytest tests - - run: when: on_fail name: Dump LocalStack logs From e1e13944de9cd9b47a2786fe616d1110ef1d3f71 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:48:57 +0530 Subject: [PATCH 11/14] Update config.yml --- .circleci/config.yml | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 323a37d..dc0da1d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,26 +24,11 @@ jobs: - run: name: Install LocalStack CLI + awslocal command: | - python3 -m pip install --user --upgrade pip - python3 -m pip install --user localstack awscli-local[ver1] - echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" - - - run: - name: Verify and configure LocalStack token - command: | - source "$BASH_ENV" - if [ -z "${LOCALSTACK_AUTH_TOKEN:-}" ]; then - echo "LOCALSTACK_AUTH_TOKEN is not set in this job." - echo "Set it in CircleCI Project Settings > Environment Variables or via Context." - exit 1 - fi - echo "LOCALSTACK_AUTH_TOKEN is present (length=${#LOCALSTACK_AUTH_TOKEN})" - localstack auth set-token "$LOCALSTACK_AUTH_TOKEN" + pip3 localstack awscli-local[ver1] - run: name: Start LocalStack command: | - source "$BASH_ENV" docker pull localstack/localstack:latest localstack start -d localstack wait -t 60 @@ -63,7 +48,6 @@ jobs: - run: name: Export state command: | - source "$BASH_ENV" localstack state export ls-state.zip - persist_to_workspace: @@ -97,21 +81,7 @@ jobs: - run: name: Install LocalStack CLI + awslocal command: | - python3 -m pip install --user --upgrade pip - python3 -m pip install --user localstack awscli-local[ver1] - echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" - - - run: - name: Verify and configure LocalStack token - command: | - source "$BASH_ENV" - if [ -z "${LOCALSTACK_AUTH_TOKEN:-}" ]; then - echo "LOCALSTACK_AUTH_TOKEN is not set in this job." - echo "Set it in CircleCI Project Settings > Environment Variables or via Context." - exit 1 - fi - echo "LOCALSTACK_AUTH_TOKEN is present (length=${#LOCALSTACK_AUTH_TOKEN})" - localstack auth set-token "$LOCALSTACK_AUTH_TOKEN" + pip3 install localstack awscli-local[ver1] - run: name: Start LocalStack @@ -138,7 +108,6 @@ jobs: when: on_fail name: Dump LocalStack logs command: | - source "$BASH_ENV" localstack logs | tee localstack.log - store_artifacts: From bc87851303394954810f1bc4c41f734f57395560 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:51:54 +0530 Subject: [PATCH 12/14] Update config.yml --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index dc0da1d..846f603 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,10 +25,12 @@ jobs: name: Install LocalStack CLI + awslocal command: | pip3 localstack awscli-local[ver1] + echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" - run: name: Start LocalStack command: | + source "$BASH_ENV" docker pull localstack/localstack:latest localstack start -d localstack wait -t 60 @@ -48,6 +50,7 @@ jobs: - run: name: Export state command: | + source "$BASH_ENV" localstack state export ls-state.zip - persist_to_workspace: @@ -82,6 +85,7 @@ jobs: name: Install LocalStack CLI + awslocal command: | pip3 install localstack awscli-local[ver1] + echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" - run: name: Start LocalStack @@ -108,6 +112,7 @@ jobs: when: on_fail name: Dump LocalStack logs command: | + source "$BASH_ENV" localstack logs | tee localstack.log - store_artifacts: From 0b0fc398115ffa0580c4bc0007ce202fa94b05ee Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:53:14 +0530 Subject: [PATCH 13/14] Update config.yml --- .circleci/config.yml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 846f603..323a37d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,9 +24,22 @@ jobs: - run: name: Install LocalStack CLI + awslocal command: | - pip3 localstack awscli-local[ver1] + python3 -m pip install --user --upgrade pip + python3 -m pip install --user localstack awscli-local[ver1] echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" + - run: + name: Verify and configure LocalStack token + command: | + source "$BASH_ENV" + if [ -z "${LOCALSTACK_AUTH_TOKEN:-}" ]; then + echo "LOCALSTACK_AUTH_TOKEN is not set in this job." + echo "Set it in CircleCI Project Settings > Environment Variables or via Context." + exit 1 + fi + echo "LOCALSTACK_AUTH_TOKEN is present (length=${#LOCALSTACK_AUTH_TOKEN})" + localstack auth set-token "$LOCALSTACK_AUTH_TOKEN" + - run: name: Start LocalStack command: | @@ -84,9 +97,22 @@ jobs: - run: name: Install LocalStack CLI + awslocal command: | - pip3 install localstack awscli-local[ver1] + python3 -m pip install --user --upgrade pip + python3 -m pip install --user localstack awscli-local[ver1] echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" + - run: + name: Verify and configure LocalStack token + command: | + source "$BASH_ENV" + if [ -z "${LOCALSTACK_AUTH_TOKEN:-}" ]; then + echo "LOCALSTACK_AUTH_TOKEN is not set in this job." + echo "Set it in CircleCI Project Settings > Environment Variables or via Context." + exit 1 + fi + echo "LOCALSTACK_AUTH_TOKEN is present (length=${#LOCALSTACK_AUTH_TOKEN})" + localstack auth set-token "$LOCALSTACK_AUTH_TOKEN" + - run: name: Start LocalStack command: | From 0b07ba43fc3c8d154ef1bc0c7e59804a8b631179 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 27 Mar 2026 12:56:38 +0530 Subject: [PATCH 14/14] Update config.yml --- .circleci/config.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 323a37d..be668fa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,18 +28,6 @@ jobs: python3 -m pip install --user localstack awscli-local[ver1] echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" - - run: - name: Verify and configure LocalStack token - command: | - source "$BASH_ENV" - if [ -z "${LOCALSTACK_AUTH_TOKEN:-}" ]; then - echo "LOCALSTACK_AUTH_TOKEN is not set in this job." - echo "Set it in CircleCI Project Settings > Environment Variables or via Context." - exit 1 - fi - echo "LOCALSTACK_AUTH_TOKEN is present (length=${#LOCALSTACK_AUTH_TOKEN})" - localstack auth set-token "$LOCALSTACK_AUTH_TOKEN" - - run: name: Start LocalStack command: | @@ -101,18 +89,6 @@ jobs: python3 -m pip install --user localstack awscli-local[ver1] echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV" - - run: - name: Verify and configure LocalStack token - command: | - source "$BASH_ENV" - if [ -z "${LOCALSTACK_AUTH_TOKEN:-}" ]; then - echo "LOCALSTACK_AUTH_TOKEN is not set in this job." - echo "Set it in CircleCI Project Settings > Environment Variables or via Context." - exit 1 - fi - echo "LOCALSTACK_AUTH_TOKEN is present (length=${#LOCALSTACK_AUTH_TOKEN})" - localstack auth set-token "$LOCALSTACK_AUTH_TOKEN" - - run: name: Start LocalStack command: |