Skip to content

Modern Docker Management, Designed for Everyone

ci/cd: revert depot usage for some workflows

Kyle Mendellfd369d1d39b3
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml
index de99362e5..d9f0986cf 100644
--- a/.github/workflows/backend-tests.yml
+++ b/.github/workflows/backend-tests.yml
@@ -12,7 +12,7 @@ on:
jobs:
test:
- runs-on: depot-ubuntu-latest
+ runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml
index f118dc348..0eb8db9ce 100644
--- a/.github/workflows/e2e-tests.yml
+++ b/.github/workflows/e2e-tests.yml
@@ -29,40 +29,38 @@ jobs:
permissions:
contents: read
actions: write
- id-token: write
- runs-on: depot-ubuntu-latest
- outputs:
- build-id: ${{ steps.build.outputs.build-id }}
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- - name: Set up Depot CLI
- uses: depot/setup-action@v1
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
- - name: Build and save Arcane image
- id: build
- uses: depot/build-push-action@v1
+ - name: Build and export Arcane image
+ uses: docker/build-push-action@v6
with:
- token: ${{ secrets.DEPOT_TOKEN }}
push: false
load: false
tags: arcane:playwright-tests
file: docker/Dockerfile
build-args: BUILD_TAGS=playwright
- save: true
- secrets: |
- "DEPOT_TOKEN=${{ secrets.DEPOT_TOKEN }}"
+ outputs: type=docker,dest=/tmp/arcane-image.tar
+ cache-from: type=gha
+ cache-to: type=gha,mode=max
- - name: Export build ID for tests
- run: echo "BUILD_ID=${{ steps.build.outputs.build-id }}" >> $GITHUB_ENV
+ - name: Upload Docker image artifact
+ uses: actions/upload-artifact@v5
+ with:
+ name: arcane-image
+ path: /tmp/arcane-image.tar
+ retention-days: 1
test:
if: ${{ github.event_name != 'pull_request' || github.head_ref != 'l10n_crowdin' }}
permissions:
contents: read
actions: write
- id-token: write
- runs-on: depot-ubuntu-latest
+ runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
@@ -81,16 +79,6 @@ jobs:
steps:
- uses: actions/checkout@v5
- - name: Set up Depot CLI
- uses: depot/setup-action@v1
-
- - name: Pull Arcane image from Depot
- run: |
- depot pull --project np622krb2x ${{ needs.build.outputs.build-id }}
- docker tag $(docker images -q | head -n1) arcane:playwright-tests
- env:
- DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
-
- name: Setup pnpm
uses: pnpm/action-setup@v4
@@ -114,6 +102,15 @@ jobs:
docker volume create cache || true
docker network create my-test-network || true
+ - name: Download Arcane Docker image artifact
+ uses: actions/download-artifact@v6
+ with:
+ name: arcane-image
+ path: /tmp
+
+ - name: Load Arcane Docker image
+ run: docker load -i /tmp/arcane-image.tar
+
- name: Pull and save test images
run: |
docker pull ghcr.io/linuxserver/nginx:latest