ansible: finish removing the compose runners intelbuilder and armbuilder (#600) #359
Open
myagent
wants to merge 2 commits from
pixel/600-ansible-runners-intelbuilder-and into main
pull from: pixel/600-ansible-runners-intelbuilder-and
merge into: sophie:main
sophie:main
sophie:renovate/renovate-renovate-45.x
sophie:pixel/599-gw5-apsydsn-find-why-the-guest-stalls
sophie:pixel/598-gw5-apsydsn-raise-fs-inotify-max-user
sophie:renovate/code.m.ac.nz-containers-pixel-thumbnailer-main
sophie:pixel-bump-ed252a7
sophie:pixel/373-back-up-immich-on-gw5-apsydsn-to-the
sophie:renovate/grafana-14.x
sophie:renovate/docmost-docmost-0.x
sophie:pixel/215-forgejo-runners-measure-a-week-with-two
sophie:pixel/274-after-a-week-of-data-measure-both-stores
sophie:pixel-bump-d863347
sophie:pixel-bump-651cb9a
sophie:pixel-bump-593319c
sophie:pixel/334-bump-pixel-to-9a7695f
sophie:renovate/public.ecr.aws-aws-controllers-k8s-iam-chart-1.x
sophie:renovate/kube-state-metrics-9.x
sophie:renovate/code.forgejo.org-forgejo-runner-13.x
sophie:pixel/325-bump-pixel-6098b10
sophie:pixel/333-bump-pixel-to-ef4459b
sophie:pixel/330-bump-pixel-99c2e04
sophie:pixel-bump-1be31cb
sophie:renovate/ghcr.io-paperless-ngx-paperless-ngx-3.x
sophie:renovate/postgres-19.x
sophie:renovate/ghcr.io-cloudnative-pg-postgresql-19.x
sophie:renovate/postgres-16.x
sophie:renovate/ghcr.io-cloudnative-pg-postgresql-18.x
sophie:renovate/public.ecr.aws-aws-controllers-k8s-dynamodb-chart-1.x
sophie:renovate/ghcr.io-mogenius-helm-charts-renovate-operator-7.x
sophie:renovate/renovate-renovate-44.x
sophie:renovate/redis-8.x
sophie:renovate/public.ecr.aws-aws-controllers-k8s-s3-chart-1.x
sophie:renovate/public.ecr.aws-aws-controllers-k8s-route53-chart-1.x
sophie:renovate/vector-0.x
sophie:renovate/external-dns-1.x
sophie:renovate/ghcr.io-mogenius-helm-charts-renovate-operator-6.x
sophie:renovate/ghcr.io-karakeep-app-karakeep-0.x
sophie:renovate/getmeili-meilisearch-1.x
sophie:renovate/docker.io-traefik-3.x
sophie:renovate/docker.io-library-docker-29.x
sophie:renovate/grafana.grafana-6.x
sophie:renovate/dependencies
sophie:renovate/vaultwarden-server-1.x
sophie:renovate/quay.io-hedgedoc-hedgedoc-1.x
sophie:renovate/cloudnative-pg
sophie:renovate/docker.io-alpine-kubectl-1.x
sophie:renovate/geerlingguy.docker-8.x
sophie:pixel/295-pixel-metrics-port
sophie:renovate/pin-dependencies
sophie:pixel/307-kanidm-operator-metrics
sophie:pixel/269-grafana-role-quotes
sophie:pixel/269-grafana-review-nits
sophie:pixel/286-access-log-figures
sophie:pixel/225-bump-pixel-872162c
sophie:pixel-bump-ef24383
sophie:pixel-bump-979adda
sophie:pixel-main-3603b7e
sophie:pixel-bump-adc3749
sophie:pixel-main-9f53730
sophie:pixel-bump-f35ca94
sophie:pixel-bump-34d2959
sophie:pixel-bump-958a712
sophie:pixel-bump-9cc4e50
sophie:pixel-main-a531f91
sophie:pixel-bump-810e8db
sophie:pixel-bump-2b4e4da
sophie:pixel-bump-cce9bd8
sophie:pixel-bump-e5175e2
sophie:pixel-bump-352ce8d
sophie:pixel-bump-a17e3ef
sophie:pixel-bump-f3beedc
sophie:pixel-bump-a3ad737
sophie:pixel-bump-3c934be
sophie:pixel/116-bump-pixel-to-a1d8706
sophie:pixel/115-bump-pixel-3e31d3f
sophie:pixel/106-bump-pixel-3d2aad6
sophie:pixel/105-bump-pixel-77116c6
sophie:pixel-bump-74d51a9
sophie:pixel-bump-c3d675b
sophie:pixel-bump-4cf0fea
sophie:pixel/99-bump-pixel-a30a8de
sophie:pixel-bump-bb9681d
sophie:pixel-bump-db8ba01
sophie:pixel-bump-56310c5
sophie:pixel-bump-1688dc5
sophie:pixel/94-bump-pixel-e8c98ab
sophie:pixel-bump-654b138
sophie:pixel-bump-2d9032e
sophie:pixel-bump-633adb8
sophie:pixel-bump-d8c8657
sophie:pixel-bump-80da0de
sophie:pixel-bump-bfc5adf
sophie:pixel-bump-bc9ed8a
sophie:pixel-bump-cddb809
sophie:pixel-bump-84e8b20
sophie:pixel-bump-a5247b0
sophie:pixel-bump-bab77aa
sophie:pixel-bump-26c7386
sophie:pixel-bump-1084104
sophie:pixel-bump-b7752d2
sophie:pixel-bump-f4e669c
sophie:pixel-bump-59e482f
sophie:pixel-image-43d5ce8
sophie:pixel-image-009a6e2
sophie:pixel-image-5391156
sophie:pixel-image-42f4af6
sophie:pixel-image-8042eed
sophie:pixel-image-81a6f95
sophie:pixel-image-279cbb5
sophie:pixel-image-b8a1a87
sophie:pixel-image-46cb814
sophie:pixel-image-868288a
sophie:pixel-image-1209d0f
sophie:pixel-image-ec5f478
sophie:pixel-image-8b8cffc
sophie:pixel-image-9a2a321
sophie:pixel-image-e4b1a8e
sophie:pixel/39-bump-pixel-s-image-to-main-bc296df-task
sophie:pixel/38-bump-pixel-s-image-to-sha-7a2ea17
sophie:pixel/36-bump-pixel-s-image-to-sha-88053f8-board
sophie:pixel/35-bump-pixel-s-image-to-sha-103bd4f
sophie:pixel/32-bump-pixel-s-image-to-b99a8c1-the-board
sophie:pixel/31-bump-pixel-s-image-to-the-drag-and-drop
sophie:pixel/29-pixel-bump-the-image-to-main-at-06e614c
sophie:pixel/18-renovate-find-out-why-own-image-digest
sophie:assetstransporter-svc
sophie:renovate-webhook-admin-token
sophie:renovate-webhook-token
sophie:renovate-webhook-ingress
sophie:kanidm-operator-sha-6f4c201
sophie:test-token-service-main-digest
sophie:datastore-main-digest
sophie:simpleplayer-svc-sha-0346fd6
sophie:remove-ansible-forgejo-runners
sophie:forgejo-runner-capacity-2
sophie:docs-remaining-clients
sophie:argocd-secret-label
sophie:kanidm-operator-sha-ca74cde
sophie:argocd-kanidm-operator
sophie:karakeep-kanidm-operator-step2
sophie:karakeep-kanidm-operator
sophie:kanidm-add-app-oauth2-proxy-cookie
sophie:expose-renovate-web
sophie:renovate-argocd-managers
sophie:kanidm-skills
sophie:hedgedoc-drop-onepassword-oidc
sophie:hedgedoc-kanidm-operator
sophie:wu-8-kanidm-operator
sophie:help-me-figure-out-why-the-forge
sophie:add-vaultwarden
sophie:add-git-pkgs-proxy
sophie:add-rclone-manager
sophie:task/add-skill
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
sophie/homelab!359
Loading…
Reference in a new issue
No description provided.
Delete branch "pixel/600-ansible-runners-intelbuilder-and"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finishes what
b8db20b(2026-11-10) started: it removed the compose runners' task file and template, but left the host variables and the include, so the playbook failed onintelbuilderandquincyat an include of a file that no longer exists.What changes
ansible/hosts.yml: removeswants_forgejo_runner_compose, the vaultedforgejo_runner_shared_secret,forgejo_runner_arch,forgejo_runner_name,forgejo_runner_versionandforgejo_instance_urlfromintelbuilderandquincy. Both hosts stay in the inventory with their other variables.ansible/main.yml: removes the task that includedtasks/forgejo-runner-compose.yml.docs/forgejo-runner-build-cache.md: a new section, The old compose runners, with the steps by hand below.What this does not do
Nothing here stops the runners. Both stay registered in Forgejo, and
armbuilder(arm64, a Raspberry Pi) was online on 2026-11-28 and takes jobs that ask for the bare labelsubuntu,docker-cliornode-bookworm. The owner's steps, which an agent cannot do:In Forgejo: Site administration, Actions, Runners: delete
intelbuilderandarmbuilder. This is what stops jobs going to them.On
intelbuilderand onquincy:Merging this means neither runner is wanted. If an arm64 runner is wanted after all, the ansible change is still right (the task and template these variables fed are gone, and 9.0.3 does not match Forgejo 17), but skip the steps for
armbuilderand say so on the task: it then needs a new deployment without the bare labels.Checked
grep -rn "forgejo_runner\|forgejo-runner-compose\|forgejo_instance_url" ansiblefinds nothing.ansible-inventory -i hosts.yml --host <host>shows only the remaining variables for both hosts.ansible-playbook --syntax-checkstops here because the galaxy roles are not installed on this machine).🤖 Generated with Claude Code
Approve. The change does what #600 asks on the ansible side. Both host blocks in
ansible/hosts.ymllose allforgejo_runner_*,wants_forgejo_runner_composeandforgejo_instance_urlvariables and keep their other keys, andansible/main.ymlno longer includes the missingtasks/forgejo-runner-compose.yml.What I checked:
git grepfinds none of those names left inansible/.include_taskstarget inmain.ymlexists.b8db20b. The project lives in/opt/p2-network/forgejo-runner-compose, the runner data in/srv/runner-data(root-owned, sosudo rmis right), andpatrickis indocker_userson both hosts, sodocker composewithout sudo works.runner-daemoncan't register itself again.Not run: ansible isn't installed here, so I couldn't run the playbook or
ansible-inventory.Two nits on lines, neither blocking:
--rmi allwould also remove the leftover images, and the README's index entry doesn't mention the new section.Review by pixel: task #606, round 1 of 3, commit
bb18e67196.Nit: this index entry still describes the doc as only "the two runners (scout, gw5-apsydsn)…". Now that the doc also holds the removal steps for the old compose runners (
intelbuilder,armbuilder), someone looking for those from the README won't see them. Adding "and removing the old compose runners intelbuilder and armbuilder" would fix that. Not blocking.@ -58,0 +76,4 @@2. On each host:```shcd /opt/p2-network/forgejo-runner-compose && docker compose down -vNit:
docker compose down -vremoves the containers and the volumes (thedocker_certsvolume and dind's anonymous/var/lib/dockervolume, with the job images in it), but leaves the host's own copies ofcode.forgejo.org/oci/docker:dindandcode.forgejo.org/forgejo/runner:9.0.3.docker compose down -v --rmi allwould remove those too, so nothing of the runner is left on either host. Not blocking.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.