diff --git a/.woodpecker/README.md b/.woodpecker/README.md index 36ab086..36e56f8 100644 --- a/.woodpecker/README.md +++ b/.woodpecker/README.md @@ -2,10 +2,15 @@ By default the woodpecker intance on Codeberg doesn't support FreeBSD. Running FreeBSD inside a qemu VM in a linux docker image -didn't work. So, this is my setup: +didn't work. Also, this particular tool needs to run outside a jail, +since it is a jail management tool. + +So, this is my setup: I deployed a freebsd VM on Hetzner Cloud: `ci-agent.daemon.de`. It -runs the `woodpecker-agent` build for freebsd. +runs the `woodpecker-agent` build for freebsd. The agent runs as rool +directly on the host. This is a security risk and the reason why we +use a VM. The VM does **NOT** run continuously. So in order to execute workflows, first unsuspend the VM: diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 576ceb7..c8a9aad 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -4,7 +4,7 @@ matrix: release: - - 14.3-RELEASE + - 14.3-RELEASE-p7 labels: platform: freebsd/amd64 @@ -22,6 +22,8 @@ steps: - sysctl hw.physmem - sysctl hw.usermem + - rm -rf /jail + - ifconfig vtnet0 172.16.0.1/32 alias - ifconfig vtnet0