Skip to content

Modern Docker Management, Designed for Everyone

chore: use custom depot ci runner image

Kyle Mendellb0b18b9b0f59
diff --git a/.depot/actions/publish-images/action.yml b/.depot/actions/publish-images/action.yml
index a0601286c..714084e27 100644
--- a/.depot/actions/publish-images/action.yml
+++ b/.depot/actions/publish-images/action.yml
@@ -13,9 +13,6 @@ inputs:
runs:
using: composite
steps:
- - name: Setup Just
- uses: extractions/setup-just@v4
-
- name: Setup Vite+
uses: voidzero-dev/setup-vp@9446e853b27985e00fb1b21193be026fc09198db
with:
@@ -41,9 +38,6 @@ runs:
username: ${{ inputs.username }}
password: ${{ inputs.password }}
- - name: Install cosign
- uses: sigstore/[email protected]
-
- name: Validate destination registry
shell: bash
run: |
diff --git a/.depot/workflows/build-next-images.yml b/.depot/workflows/build-next-images.yml
index 53a9b6153..6464702a7 100644
--- a/.depot/workflows/build-next-images.yml
+++ b/.depot/workflows/build-next-images.yml
@@ -16,7 +16,9 @@ permissions:
jobs:
next-version:
- runs-on: depot-ubuntu-24.04-4
+ runs-on:
+ size: 4x16
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
outputs:
version: ${{ steps.next-version.outputs.version }}
previous-tag: ${{ steps.next-version.outputs.previous_tag }}
@@ -26,18 +28,15 @@ jobs:
with:
fetch-depth: 0
- - name: Setup version tools
- uses: taiki-e/install-action@v2
- with:
- tool: just,git-cliff
-
- name: Compute next image version
id: next-version
run: just next-image-version github-output
build-next-images:
needs: next-version
- runs-on: depot-ubuntu-24.04-32
+ runs-on:
+ size: 32x128
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
steps:
- name: Checkout code
@@ -45,11 +44,6 @@ jobs:
with:
fetch-depth: 0
- - name: Setup Just
- uses: taiki-e/install-action@v2
- with:
- tool: just
-
- name: Setup Vite+
uses: voidzero-dev/setup-vp@9446e853b27985e00fb1b21193be026fc09198db
with:
@@ -63,12 +57,6 @@ jobs:
go-version-file: backend/go.mod
cache-dependency-path: backend/go.sum
- - name: Install envsubst
- run: sudo apt-get update && sudo apt-get install -y gettext-base
-
- - name: Install cosign
- uses: sigstore/[email protected]
-
- name: Capture frontend build versions
id: frontend-versions
run: |
@@ -120,7 +108,9 @@ jobs:
publish-images:
name: Publish ${{ matrix.registry }}
needs: next-version
- runs-on: depot-ubuntu-24.04-32
+ runs-on:
+ size: 32x128
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
strategy:
fail-fast: false
matrix:
diff --git a/.depot/workflows/build-pr-images.yml b/.depot/workflows/build-pr-images.yml
index fd2cab5b6..974997395 100644
--- a/.depot/workflows/build-pr-images.yml
+++ b/.depot/workflows/build-pr-images.yml
@@ -18,7 +18,9 @@ jobs:
build-pr-images:
# Only build if the PR is from a branch within the getarcaneapp organization
if: github.event.pull_request.head.repo.owner.login == 'getarcaneapp'
- runs-on: depot-ubuntu-latest
+ runs-on:
+ size: 2x8
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
env:
MANAGER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/manager
@@ -36,9 +38,6 @@ jobs:
with:
configure-docker: true
- - name: Setup Just
- uses: extractions/setup-just@v4
-
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
diff --git a/.depot/workflows/ci.yml b/.depot/workflows/ci.yml
index ec5cf82c1..60b136565 100644
--- a/.depot/workflows/ci.yml
+++ b/.depot/workflows/ci.yml
@@ -17,7 +17,9 @@ concurrency:
jobs:
go-tests:
name: Go Tests (${{ matrix.module.name }})
- runs-on: depot-ubuntu-latest
+ runs-on:
+ size: 2x8
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
timeout-minutes: 30
strategy:
fail-fast: false
@@ -42,9 +44,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v7
- - name: Setup Just
- uses: extractions/setup-just@v4
-
- name: Set up Depot CLI
if: matrix.module.gcc
uses: depot/setup-action@v1
@@ -58,12 +57,6 @@ jobs:
cache: true
cache-dependency-path: ${{ matrix.module.path }}/go.sum
- - name: Install GCC
- if: matrix.module.gcc
- run: |
- sudo apt-get update
- sudo apt-get install -y gcc
-
- name: Download modules
run: just deps install ${{ matrix.module.name }}
@@ -88,7 +81,9 @@ jobs:
go-linter:
name: Go Linter (${{ matrix.module.name }})
- runs-on: depot-ubuntu-latest
+ runs-on:
+ size: 2x8
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
strategy:
fail-fast: false
matrix:
@@ -120,7 +115,9 @@ jobs:
type-check:
name: Type Check
- runs-on: depot-ubuntu-latest
+ runs-on:
+ size: 2x8
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
steps:
- name: Checkout code
uses: actions/checkout@v7
@@ -132,9 +129,6 @@ jobs:
cache: true
run-install: true
- - name: Setup Just
- uses: extractions/setup-just@v4
-
- name: Add svelte-check problem matcher
run: echo "::add-matcher::.github/matchers/svelte-check-matcher.json"
@@ -146,7 +140,9 @@ jobs:
e2e-tests:
name: E2E Tests (${{ matrix.database.name }})
- runs-on: depot-ubuntu-24.04-4
+ runs-on:
+ size: 4x16
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
permissions:
contents: read
actions: write
@@ -168,9 +164,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7
- - name: Setup Just
- uses: extractions/setup-just@v4
-
- name: Setup Vite+
uses: voidzero-dev/setup-vp@9446e853b27985e00fb1b21193be026fc09198db
with:
@@ -183,21 +176,22 @@ jobs:
with:
configure-docker: true
+ - name: Ensure test images are available
+ run: |
+ for image in public.ecr.aws/nginx/nginx:stable-alpine public.ecr.aws/docker/library/busybox:1.37; do
+ if ! docker image inspect "$image" > /dev/null 2>&1; then
+ docker pull "$image"
+ fi
+ done
+
- name: Cache Playwright Browsers
uses: actions/cache@v6
- id: playwright-cache
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml', 'tests/package.json') }}
restore-keys: |
${{ runner.os }}-playwright-
- - name: Pull and save test images
- run: |
- docker pull public.ecr.aws/nginx/nginx:stable-alpine
- docker pull public.ecr.aws/docker/library/busybox:1.37
- docker save public.ecr.aws/nginx/nginx:stable-alpine public.ecr.aws/docker/library/busybox:1.37 > /tmp/test-images.tar
-
- name: Setup and Install Playwright Dependencies
run: just deps install tests
@@ -225,7 +219,9 @@ jobs:
cli-e2e-tests:
name: CLI E2E Tests (proxy)
- runs-on: depot-ubuntu-24.04-4
+ runs-on:
+ size: 4x16
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
permissions:
contents: read
actions: write
diff --git a/.depot/workflows/merge-conflict.yml b/.depot/workflows/merge-conflict.yml
index d9acd8c6f..f9819227f 100644
--- a/.depot/workflows/merge-conflict.yml
+++ b/.depot/workflows/merge-conflict.yml
@@ -13,7 +13,9 @@ on:
jobs:
label:
name: Labeling
- runs-on: depot-ubuntu-latest
+ runs-on:
+ size: 2x8
+ image: g7r5wqb57k.registry.depot.dev/ci:latest
if: ${{ github.repository == 'getarcaneapp/arcane' && (github.event_name == 'push' || github.event.workflow_run.event == 'pull_request') }}
permissions:
contents: read