From 173ffb3d4d10c92242aab491846a968cd617f104 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 26 Feb 2026 06:48:24 +0100 Subject: [PATCH] README: document cache --- README.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.adoc b/README.adoc index ee56ef0..711f966 100644 --- a/README.adoc +++ b/README.adoc @@ -98,6 +98,7 @@ repository. [[Jobs]] Image = "golang:1.25" Script = "./ci/run" + Cache = true An unlimited number of jobs can be configured. They are run in sequence. A failed job doesn't stop the following jobs from starting. @@ -106,6 +107,12 @@ failed job doesn't stop the following jobs from starting. strings). If no shebang is present then `#!/bin/sh` is prepended. Otherwise the existing shebang is used. +`Cache` can be used to configure a persistent cache for each job. The cache is +mounted in the container at `/punyci-cache` and must be manually used. For +example by symlinking into it (e.g. `ln -s /punyci-cache /root/.cache`) at the +beginning of the CI script. The cache is stored as `punyci-cache-$job` in the +(bare) repository. + == Licenses -- 2.52.0