mirror of
https://codeberg.org/scip/jaildk.git
synced 2026-02-04 11:50:57 +01:00
Compare commits
4 Commits
try-freebs
...
41b864
| Author | SHA1 | Date | |
|---|---|---|---|
| f4bd950ec7 | |||
| 03ea2de4c4 | |||
| be4f01877d | |||
|
|
1e115c49f6 |
@@ -1,6 +1,6 @@
|
|||||||
## Running CI Tests with Woodpecker-CI on FreeBSD
|
## Running CI Tests with Woodpecker-CI on FreeBSD
|
||||||
|
|
||||||
By default the woodpecker intance on Codeberg doesn't support
|
By default the woodpecker instance on Codeberg doesn't support
|
||||||
FreeBSD. Running FreeBSD inside a qemu VM in a linux docker image
|
FreeBSD. Running FreeBSD inside a qemu VM in a linux docker image
|
||||||
didn't work. Also, this particular tool needs to run outside a jail,
|
didn't work. Also, this particular tool needs to run outside a jail,
|
||||||
since it is a jail management tool.
|
since it is a jail management tool.
|
||||||
@@ -8,7 +8,7 @@ since it is a jail management tool.
|
|||||||
So, this is my setup:
|
So, this is my setup:
|
||||||
|
|
||||||
I deployed a freebsd VM on Hetzner Cloud: `ci-agent.daemon.de`. It
|
I deployed a freebsd VM on Hetzner Cloud: `ci-agent.daemon.de`. It
|
||||||
runs the `woodpecker-agent` build for freebsd. The agent runs as rool
|
runs the `woodpecker-agent` built for freebsd. The agent runs as root
|
||||||
directly on the host. This is a security risk and the reason why we
|
directly on the host. This is a security risk and the reason why we
|
||||||
use a VM.
|
use a VM.
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ Execute:
|
|||||||
GOOS=freebsd go build
|
GOOS=freebsd go build
|
||||||
```
|
```
|
||||||
|
|
||||||
Copy the newly built binaries `dist/woodpecker-agent` into the VM to
|
Copy the newly built binaries into the VM to
|
||||||
`/usr/local/bin`.
|
`/usr/local/bin`.
|
||||||
|
|
||||||
```default
|
```default
|
||||||
|
|||||||
Reference in New Issue
Block a user