Garage now runs on the stpcore LXC (adamf/stpcore), the shared core other stacks depend on. caddy, backend and usaco pin the name `garage` to it with GARAGE_UPSTREAM; /garage/ goes to stpcore's Caddy with X-Core-Token. The disk fallback for /uploads/ is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
38 lines
1.5 KiB
YAML
38 lines
1.5 KiB
YAML
# Weekly Renovate run (config in /renovate.json5). --network host uses the
|
|
# host's /etc/hosts pin to reach Gitea on the LAN, and RENOVATE_GIT_URL=endpoint
|
|
# stops it cloning via the public ROOT_URL. Secrets are passed as bare `-e NAME`
|
|
# so they never appear in the process list. Gitea refuses secret names starting
|
|
# GITHUB_, hence RENOVATE_GITHUB_COM_TOKEN.
|
|
name: Renovate
|
|
|
|
on:
|
|
schedule:
|
|
# Clear of the Sunday maintenance rebuild.
|
|
- cron: "0 4 * * 1"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
renovate:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- name: Run Renovate
|
|
shell: bash
|
|
env:
|
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
|
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
|
run: |
|
|
set -eu
|
|
if [ -z "$RENOVATE_TOKEN" ]; then
|
|
echo "The RENOVATE_TOKEN Actions secret is not set (repo Settings -> Actions -> Secrets)."
|
|
exit 1
|
|
fi
|
|
docker run --rm --pull always --network host \
|
|
-e RENOVATE_PLATFORM=gitea \
|
|
-e RENOVATE_ENDPOINT=http://git.adam-french.co.uk:3000/api/v1 \
|
|
-e RENOVATE_GIT_URL=endpoint \
|
|
-e RENOVATE_REPOSITORIES=adamf/stpweb,adamf/stpgit,adamf/stppriv,adamf/stpcore \
|
|
-e RENOVATE_TOKEN \
|
|
-e GITHUB_COM_TOKEN \
|
|
-e LOG_LEVEL=info \
|
|
renovate/renovate:44
|