stpvm's and stpbuild's runners are now gitea-runner v6.0.1 systemd services installed by stprunner's install.sh (hosts/<host>.env per VM), replacing gitea-runner/run.sh from @reboot cron and the untracked copy on stpbuild. act_runner 0.2.11 could not run node24 actions. stpvm's runner is renamed from stppi to stpvm. The GITEA_RUNNER_* env vars had no reader left. Renovate now also watches stprunner, for gitea-runner releases. The ignore rules stay: the old directory is still on stpvm with its .runner credentials. Co-Authored-By: Claude Opus 5.5 <[email protected]>
39 lines
1.6 KiB
YAML
39 lines
1.6 KiB
YAML
# Weekly Renovate run (config in /renovate.json5), on the build VM (stpbuild,
|
|
# label `build`). --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: build
|
|
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,adamf/stprunner \
|
|
-e RENOVATE_TOKEN \
|
|
-e GITHUB_COM_TOKEN \
|
|
-e LOG_LEVEL=info \
|
|
renovate/renovate:44
|