From 543338f98f050eb15574146fa172b4a2560fac3c Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Thu, 30 Jul 2026 15:30:41 +0200 Subject: [PATCH] docs: move act runner cache --- .gitea/workflows/deploy.yml | 3 ++- docs/developer/cicd_runner.md | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index fe0119f..ce569c5 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -23,6 +23,8 @@ concurrency: env: # commit tagged ? yes->prod : no->dev AGEBD_ENV: ${{ github.ref_type == 'tag' && 'prod' || 'dev' }} + UV_CACHE_DIR: /sls/bd/hla/.cache/uv + UV_LINK_MODE: copy jobs: deploy: @@ -56,7 +58,6 @@ jobs: - name: Run core tests run: | - export UV_CACHE_DIR="/sls/bd/hla/.cache/uv" uv run --directory cli pytest uv run --directory packages/agebd pytest uv run --directory scripts pytest diff --git a/docs/developer/cicd_runner.md b/docs/developer/cicd_runner.md index a43584d..6c5581d 100644 --- a/docs/developer/cicd_runner.md +++ b/docs/developer/cicd_runner.md @@ -42,6 +42,20 @@ tar -xf node-v20.11.1-linux-x64.tar.xz --strip-components=2 -C ~/.local/bin/ nod rm node-v20.11.1-linux-x64.tar.xz ``` +Change the location of the cache: + +``` +mkdir -p /sls/bd/hla/.cache/act +``` + +and edit `/etc/act_runner/config.yaml` + +``` +cache: + enabled: true + dir: "/sls/bd/hla/.cache/act" +``` + ## Manually run the runner ```shell