fix(ci-runner): use pre-built luna-charts-test image for component tests
CI / lint-and-format (push) Successful in 31s
CI / changeset-check (push) Successful in 28s
CI / unit-tests (push) Successful in 37s
CI / component-tests (push) Failing after 51s

Drops the in-pipeline docker build/push step and docker-in-docker
dependency entirely. The test image (built from Dockerfile.test) is
now built and pushed manually/out-of-band, tagged by playwright
version. component-tests just pulls and runs it directly.
This commit is contained in:
2026-08-03 20:01:56 +02:00
parent 35a8ac1992
commit 80d9fcda24
+1 -30
View File
@@ -68,39 +68,10 @@ jobs:
- name: Run unit tests
run: pnpm test:unit
build-test-image:
runs-on: ubuntu-docker-dind
container:
image: git.byting-pandas.ninja/ci/node22-docker:latest
credentials:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
options: --network host
env:
DOCKER_HOST: tcp://localhost:2375
steps:
- uses: actions/checkout@v4
- name: Wait for docker daemon
run: |
for i in $(seq 1 30); do
docker info > /dev/null 2>&1 && break
echo "waiting for docker daemon... ($i/30)"
sleep 2
done
docker info
- name: Build and push test image
run: |
docker login git.byting-pandas.ninja -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_TOKEN }}
docker build -t git.byting-pandas.ninja/ci/luna-charts-test:${{ gitea.sha }} -f Dockerfile.test .
docker push git.byting-pandas.ninja/ci/luna-charts-test:${{ gitea.sha }}
component-tests:
needs: build-test-image
runs-on: ubuntu-docker-dind
container:
image: git.byting-pandas.ninja/ci/luna-charts-test:${{ gitea.sha }}
image: git.byting-pandas.ninja/ci/luna-charts-test:v1.62.1
credentials:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}