Setup CI #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "setup-ci"
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?
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.
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-runnerin the terminalSetup CIto WIP: Setup CIWIP: Setup CIto Setup CI