Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

AOSC-Dev/buildit

Repository files navigation

AOSC BuildIt! Bot

Build automation with Telegram and GitHub Integrations.

Setting Up a BuildIt! Worker

Steps (as root):

  1. Install git, ciel, pushpkg, rustc (with Cargo), compiler toolchain (LLVM/Clang)
  2. mkdir -p /buildroots/buildit
  3. cd /buildroots/buildit && git clone https://github.com/AOSC-Dev/buildit
  4. cd /buildroots/buildit && ciel new with maintainer called AOSC OS Maintainers <maintainers@aosc.io>, making sure to create an instance named "main" when asked
  5. cp /buildroots/buildit/buildit/systemd/buildit-worker.service /etc/systemd/system
  6. $EDITOR /etc/systemd/system/buildit-worker.service:update ARCH
  7. $EDITOR /buildroots/buildit/buildit/.env: set BUILDIT_SERVER, BUILDIT_WORKER_SECRET BUILDIT_SSH_KEY and BUILDIT_WORKER_PERFORMANCE; for workers with special network environments, optionally set BUILDIT_PUSHPKG_OPTIONS
  8. systemctl enable --now buildit-worker
  9. chmod 600 /buildroots/buildit/buildit/.env
  10. Generate a new SSH key at the location of BUILDIT_SSH_KEY, and setup authorized_keys on repo.aosc.io (contact infra team)
  11. Add SSH known hosts from repo.aosc.io and github.com: ssh-keyscan repo.aosc.io >> ~/.ssh/known_hosts && ssh-keyscan github.com >> ~/.ssh/known_hosts

About

AOSC BuildIt! remote building automation

Resources

License

Stars

Watchers

Forks

Contributors 14

AltStyle によって変換されたページ (->オリジナル) /