Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragent <agent@local>2026-11-07 09:08:13 +0100
committeragent <agent@local>2026-11-07 09:08:13 +0100
commit9b6abed08981b8b00f50d9d4af0e86defc3864e7 (patch)
treee93174cd42e93c7b42383be20ca87e088b1aab96
parent54541fa8357cf2af616effbaeb7d5b8d76f80ea2 (diff)
Fix workflow: nodejs for checkout, job-level marker path
-rw-r--r--.forgejo/workflows/mirror-sync.yml10
-rw-r--r--deploy/config.json9
2 files changed, 12 insertions, 7 deletions
diff --git a/.forgejo/workflows/mirror-sync.yml b/.forgejo/workflows/mirror-sync.yml
index a95bad4..c4ee23c 100644
--- a/.forgejo/workflows/mirror-sync.yml
+++ b/.forgejo/workflows/mirror-sync.yml
@@ -39,9 +39,14 @@ jobs:
timeout-minutes: 30
container:
image: docker:29-cli
+ env:
+ # shared by the verify and publish steps; a step-level env would not be
+ # visible to the next step
+ MARKERS_FILE: ${{ runner.temp }}/mirror-markers
steps:
- name: Install workflow tools
- run: apk add --no-cache bash curl git jq
+ # nodejs is required by actions/checkout inside this image
+ run: apk add --no-cache bash curl git jq nodejs
- name: Check out the marker tags
uses: https://github.com/actions/checkout@v4
@@ -54,13 +59,12 @@ jobs:
# points at the daemon, so the pull goes over the public hostname and
# the real TLS/edge path.
VERIFY_PULL: ${{ inputs.verify_all == '1' && 'always' || 'new' }}
- MARKERS_FILE: ${{ runner.temp }}/mirror-markers
run: ./scripts/verify-mirror.sh
- name: Publish marker tags
run: |
set -eu
- file="${MARKERS_FILE:-$RUNNER_TEMP/mirror-markers}"
+ file="$MARKERS_FILE"
[ -s "$file" ] || { echo "no new markers"; exit 0; }
while read -r marker; do
[ -n "$marker" ] || continue
diff --git a/deploy/config.json b/deploy/config.json
index 642046a..1a8f7ba 100644
--- a/deploy/config.json
+++ b/deploy/config.json
@@ -36,9 +36,9 @@
"tlsVerify": true,
"onDemand": true,
"manifestCheckInterval": "30m",
- "maxRetries": 3,
- "retryDelay": "5m",
- "maxRetryDelay": "30m",
+ "maxRetries": 1,
+ "retryDelay": "30s",
+ "maxRetryDelay": "2m",
"content": [
{
"prefix": "distroless/static",
@@ -80,7 +80,8 @@
"linux/arm64"
]
}
- ]
+ ],
+ "syncTimeout": "5m"
}
]
}