Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2024 20:32:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277352] [NEW PORT] devel/act-runner Gitea Actions Runner
Message-ID:  <bug-277352-7788-KDFLOLpZwM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277352-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277352-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277352

--- Comment #6 from Vick Khera <vivek@khera.org> ---
A couple of notes building the port from this patch.  Thanks so much for ma=
king
it! Hopefully it can be committed soon.

Building in Poudriere fails the build step with a bunch of DNS query failure
(see below).

Building directly in the port directory succeeds.

The pkg-message file has a typo "supoprt" instead of support.

When registering the runner one must first `cd ~act-runner` so the `.runner`
file is written to the right place.

Before starting the daemon, one must edit the
`/usr/local/etc/act-runner/act-runner.conf` file to comment out the docker
"labels", since this is not built with docker support.  I'm hoping we can u=
se
the podman support to run linux images eventually.

I'm still figuring out how to write the action scripts to run on the local
machine, and how to make it use a jail instead of just its own home directo=
ry.

Errors from poudriere building (I tried two different DNS servers, one local
and one remote):

=3D=3D=3D>  Building for act-runner-0.2.10
go build -v -tags '' -ldflags '-extldflags "-static" -s -w  ' -o act_runner
go: downloading code.gitea.io/actions-proto-go v0.4.0
go: downloading connectrpc.com/connect v1.15.0
go: downloading github.com/docker/docker v25.0.3+incompatible
go: downloading github.com/joho/godotenv v1.5.1
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading gitea.com/gitea/act v0.261.1
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading github.com/spf13/cobra v1.8.0
go: downloading golang.org/x/term v0.18.0
go: downloading golang.org/x/time v0.5.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/avast/retry-go/v4 v4.5.1
go: downloading google.golang.org/protobuf v1.33.0
internal/app/cmd/register.go:16:2: code.gitea.io/actions-proto-go@v0.4.0: G=
et
"https://proxy.golang.org/code.gitea.io/actions-proto-go/@v/v0.4.0.zip": di=
al
tcp: lookup proxy.golang.org on 192.168.135.1:53: write udp
127.0.0.1:50796->192.168.135.1:53: write: can't assign requested address
internal/app/cmd/register.go:17:2: code.gitea.io/actions-proto-go@v0.4.0: G=
et
"https://proxy.golang.org/code.gitea.io/actions-proto-go/@v/v0.4.0.zip": di=
al
tcp: lookup proxy.golang.org on 192.168.135.1:53: write udp
127.0.0.1:50796->192.168.135.1:53: write: can't assign requested address
... bunches more ...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277352-7788-KDFLOLpZwM>