Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
ci/cd: always pull latest test images
Kyle Mendellbc13ca243fb8
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.ymlindex 556d0e340..4c7c8a135 100644--- a/.github/workflows/e2e-tests.yml+++ b/.github/workflows/e2e-tests.yml@@ -104,24 +104,12 @@ jobs:- name: Load Arcane Docker imagerun: docker load -i /tmp/arcane-image.tar- - name: Cache test images- uses: actions/cache@v4- id: test-images-cache- with:- path: /tmp/test-images.tar- key: test-images-${{ runner.os }}-latest-- name: Pull and save test images- if: steps.test-images-cache.outputs.cache-hit != 'true'run: |docker pull ghcr.io/linuxserver/nginx:latestdocker pull ghcr.io/linuxserver/radarr:nightlydocker save ghcr.io/linuxserver/nginx:latest ghcr.io/linuxserver/radarr:nightly > /tmp/test-images.tar- - name: Load test images from cache- if: steps.test-images-cache.outputs.cache-hit == 'true'- run: docker load < /tmp/test-images.tar-- name: Install test dependenciesrun: pnpm --filter arcane-tests installdiff --git a/tests/spec/images.spec.ts b/tests/spec/images.spec.tsindex 73f1a562f..b9eb2b183 100644--- a/tests/spec/images.spec.ts+++ b/tests/spec/images.spec.ts@@ -151,6 +151,8 @@ test.describe('Images Page', () => {await page.locator('button[type="submit"]:has-text("Pull Image")').click();+ await page.waitForLoadState('networkidle');+await expect(page.locator('li[data-sonner-toast][data-type="success"] div[data-title]')).toBeVisible();});});