From 1d4dfa6b5668c40f1ea1716fe5dc5bea3e51d24f Mon Sep 17 00:00:00 2001 From: Xiro The Dev Date: Sat, 5 Sep 2026 13:28:49 +0700 Subject: [PATCH 1/2] ci: storage smoke job against a LocalStack s3 service container --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd0c16a..2225cd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,6 +84,37 @@ jobs: - uses: ./.github/actions/setup-bun-node - run: bunx --bun --no-install turbo run build + storage-smoke: + name: Storage smoke (LocalStack) + needs: changes + if: needs.changes.outputs.app == 'true' + runs-on: ubuntu-latest + timeout-minutes: 10 + services: + localstack: + image: localstack/localstack:s3-latest + env: + SERVICES: s3 + ports: + - 4566:4566 + options: >- + --health-cmd "awslocal s3 ls" + --health-interval 10s + --health-timeout 5s + --health-retries 10 + steps: + - uses: actions/checkout@v7 + - uses: ./.github/actions/setup-bun-node + - name: Seed bucket + env: + AWS_ACCESS_KEY_ID: test + AWS_SECRET_ACCESS_KEY: test + AWS_DEFAULT_REGION: us-east-1 + run: aws --endpoint-url=http://127.0.0.1:4566 s3 mb s3://webdevstudios-storage + - name: Smoke StorageService against LocalStack + working-directory: apps/api + run: bun run smoke:localstack + go-test: name: Go Test needs: changes From 3e41992188afc0cbc2e7c4ec6504680efb5340f3 Mon Sep 17 00:00:00 2001 From: Xiro The Dev Date: Sat, 5 Sep 2026 14:56:51 +0700 Subject: [PATCH 2/2] =?UTF-8?q?ci:=20pin=20LocalStack=20service=20to=20las?= =?UTF-8?q?t=20free=20community=20release=20(4.4)=20=E2=80=94=20s3-latest?= =?UTF-8?q?=20discontinued=202026.03?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2225cd4..7ba14eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: timeout-minutes: 10 services: localstack: - image: localstack/localstack:s3-latest + image: localstack/localstack:4.4 env: SERVICES: s3 ports: