ALT Linux Sisyphus VM image with Forgejo Runner installed
  • HCL 36%
  • Shell 30%
  • Makefile 29.4%
  • Smarty 4.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-28 10:07:57 +03:00
cloud-init init 2026-10-20 19:06:21 +03:00
scripts feat: add install node and extra packages 2026-10-28 10:07:57 +03:00
.gitignore init 2026-10-20 19:06:21 +03:00
forgejo-runner.pkr.hcl feat: add install node and extra packages 2026-10-28 10:07:57 +03:00
Makefile feat: add install node and extra packages 2026-10-28 10:07:57 +03:00
README.md feat: add install node and extra packages 2026-10-28 10:07:57 +03:00

alt-forgejo-runner-image

ALT Linux Sisyphus VM image with Forgejo Runner installed to /usr/local/bin/forgejo-runner.

Requirements

packer, qemu, curl, cloud-localds.

Build

make build                        # image goes to output/
make build INSTALL_SERVICE=false  # without forgejo-runner.service
make build INSTALL_NODE=false     # without node
make build EXTRA_PACKAGES="git docker-engine"  # install additional packages

EXTRA_PACKAGES is a space-separated list of packages passed to apt-get install.

Packer variables runner_version and disk_size override the runner version and disk size.

forgejo-runner.service

Runs a single job (forgejo-runner one-job) and exits. Starts on boot if /etc/forgejo-runner.env exists:

FORGEJO_SERVER_URL=https://forgejo.example.org
RUNNER_UUID=...
RUNNER_LABEL=...

The runner token is read from /runner-token.

Testing

make run   # boot the image, changes are discarded
make ssh   # log in as test