Commit efb22eef8a

efb22eef8a2b14f010be51d8476ecb865e12201b

parent: 95f1e0af6a

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-09 23:14 UTC

gitbay-runner 1.17.0, gitbay 1.17.0

Layout: unified · split

Formula/gitbay-runner.rb added +39
@@ -0,0 +1,39 @@
1class GitbayRunner < Formula
2 desc "CI runner for gitbay: builds the repositories you attach it to"
3 homepage "https://gitbay.org/krz/gitbay"
4 url "https://gitbay.org/krz/gitbay.git",
5 tag: "v1.17.0",
6 revision: "315847fa7864df2e1f29700ee5bb856a637dce8b"
7 license "0BSD"
8 head "https://gitbay.org/krz/gitbay.git", branch: "main"
9
10 depends_on "go" => :build
11
12 def install
13 system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/gitbay-runner"
14 end
15
16 service do
17 # No arguments: the runner reads ~/.config/gitbay-runner/config.toml,
18 # which `gitbay-runner init` writes.
19 run [opt_bin/"gitbay-runner"]
20 keep_alive true
21 log_path var/"log/gitbay-runner.log"
22 error_log_path var/"log/gitbay-runner.err.log"
23 end
24
25 def caveats
26 <<~EOS
27 Generate this machine's key and config, and print the key to attach:
28 gitbay-runner init -remote git@gitbay.org
29 Attach it to each repository it should build, as a repository admin:
30 gitbay repo runner add owner/name < ~/.config/gitbay-runner/id_ed25519.pub
31 Then:
32 brew services start krz/tap/gitbay-runner
33 EOS
34 end
35
36 test do
37 assert_match "gitbay-runner", shell_output("#{bin}/gitbay-runner -version")
38 end
39end
Formula/gitbay.rb +2 −2
@@ -2,8 +2,8 @@ class Gitbay < Formula
2 desc "CLI for gitbay, the CLI-first git forge" 2 desc "CLI for gitbay, the CLI-first git forge"
3 homepage "https://gitbay.org" 3 homepage "https://gitbay.org"
4 url "https://gitbay.org/krz/gitbay.git", 4 url "https://gitbay.org/krz/gitbay.git",
5 tag: "v0.4.0", 5 tag: "v1.17.0",
6 revision: "b4684c088d2b99f0f42c4e95231c4c0edc122323" 6 revision: "315847fa7864df2e1f29700ee5bb856a637dce8b"
7 license "0BSD" 7 license "0BSD"
8 head "https://gitbay.org/krz/gitbay.git", branch: "main" 8 head "https://gitbay.org/krz/gitbay.git", branch: "main"
9 9