Setup CI #1

Merged
antman merged 29 commits from setup-ci into main 2026-07-30 12:32:52 +00:00
Owner

Motivation

Want a ci process to automatically build and publish docker images for the runner to use.

Solution

Use a forgejo workflow to build runner images for forgejo.

  • A manifest file for images and their versions
  • Read the manifest file to update the runner configuration to make the new images available

Issue: It's not possible to restart the runner from within a job. The runner waits for the job to finish before restarting, and the job waits for the runner to restart before finishing. Attempting to give the restart command as a subscript fails because the parent process is killed, terminating the subprocess before it can restart the runner. For now it's just going to have to be a manual process of executing sudo systemctl restart forgejo-runner in the terminal

## Motivation Want a ci process to automatically build and publish docker images for the runner to use. ## Solution Use a forgejo workflow to build runner images for forgejo. * A manifest file for images and their versions * Read the manifest file to update the runner configuration to make the new images available **Issue:** It's not possible to restart the runner from within a job. The runner waits for the job to finish before restarting, and the job waits for the runner to restart before finishing. Attempting to give the restart command as a subscript fails because the parent process is killed, terminating the subprocess before it can restart the runner. For now it's just going to have to be a manual process of executing `sudo systemctl restart forgejo-runner` in the terminal
setup ci
Some checks failed
/ build-and-test (push) Failing after 34s
9becd3e294
antman changed title from Setup CI to WIP: Setup CI 2026-07-30 06:40:21 +00:00
add login step
All checks were successful
/ build-and-test (push) Successful in 6s
510aa4c1e3
add script to build from manifest
Some checks failed
/ build-and-test (push) Failing after 4s
f2ecc1ea9e
raw output
All checks were successful
/ build-and-test (push) Successful in 4s
48405dcef8
update runner config
Some checks failed
/ build-and-test (push) Failing after 4s
0f86aa2cfa
lol try sudo
Some checks failed
/ build-and-test (push) Failing after 5m6s
180fde7f65
lmao wattf
Some checks failed
/ build-and-test (push) Failing after 8s
427dcaf404
bugfix
Some checks failed
/ build-and-test (push) Failing after 0s
8a01e41871
actual bugfix
Some checks failed
/ build-and-test (push) Failing after 8s
905e0cc8b5
huh
Some checks failed
/ build-and-test (push) Failing after 8s
ef7c286713
huh
Some checks failed
/ build-and-test (push) Failing after 7s
31995b5d2e
hm
Some checks failed
/ build-and-test (push) Failing after 7s
2566c59e51
y
Some checks failed
/ build-and-test (push) Failing after 7s
6b334f7ed1
test
Some checks failed
/ build-and-test (push) Failing after 8s
9ea26a6ceb
try thing
Some checks failed
/ build-and-test (push) Failing after 7s
4a8d5a320e
fuck
Some checks failed
/ build-and-test (push) Failing after 8s
a445b63d99
Try
Some checks failed
/ build-and-test (push) Failing after 4s
6e889d679b
guh?
Some checks failed
/ build-and-test (push) Failing after 9s
60d1fa721a
?
Some checks failed
/ build-and-test (push) Failing after 7s
6d71653df5
que?
Some checks failed
/ build-and-test (push) Failing after 4s
5c30c2bbf0
hm
Some checks failed
/ build-and-test (push) Failing after 4s
9b51481016
huhhh
Some checks failed
/ build-and-test (push) Failing after 5m6s
ae2b49a9ff
bla
Some checks failed
/ build-and-test (push) Has been cancelled
6e15e180ce
meep
Some checks failed
/ build-and-test (push) Has been cancelled
bb51c0fe09
don't wait for (sudo systemctl restart forgejo-runner) to finish!! 😂
Some checks failed
/ build-and-test (push) Has been cancelled
4a1dea2350
merp
All checks were successful
/ build-and-test (push) Successful in 4s
016da9e9ba
hm?
Some checks failed
/ build-and-test (push) Has been cancelled
6bd2b79177
?mh
All checks were successful
/ build-and-test (push) Successful in 5s
364e6856b4
guess it's impossible to restart the runner
All checks were successful
/ build-and-test (push) Successful in 26s
ad40dbccf1
antman changed title from WIP: Setup CI to Setup CI 2026-07-30 12:32:40 +00:00
antman merged commit f7055e5c20 into main 2026-07-30 12:32:52 +00:00
antman deleted branch setup-ci 2026-07-30 12:32:52 +00:00
antman referenced this pull request from a commit 2026-07-30 12:32:54 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
kill-the-cloud/runner-images!1
No description provided.