move to codeberg

This commit is contained in:
2025-12-15 21:57:22 +01:00
parent b5efc90d29
commit 64fdecbcf4
3 changed files with 43 additions and 4 deletions

39
.woodpecker/build.yaml Normal file
View File

@@ -0,0 +1,39 @@
labels:
platform: linux/amd64
steps:
test:
when:
event: [push]
image: aygpdr/freebsd:4.3-RELEASE
commands:
- freebsd-version
- sysctl hw.model
- sysctl hw.ncpu
- sysctl hw.physmem
- sysctl hw.usermem
- ls -la
- ifconfig em0 172.16.0.1/32 alias
- ifconfig -a
- set -x -e
- sysrc jail_enable="YES"
- cp .github/assets/jail.conf /etc/
- cp src/jaildk.sh jaildk
- sh jaildk setup /jail
- fetch https://download.freebsd.org/ftp/releases/amd64/amd64/14.1-RELEASE/base.txz -o /jail/base/14.1-RELEASE-base.txz
- mkdir -p /jail/base/14.1-RELEASE
- tar -xf /jail/base/14.1-RELEASE-base.txz -C /jail/base/14.1-RELEASE --unlink
- /jail/bin/jaildk create test
- ls -l /jail/etc/test
- /jail/bin/jaildk build test -m start
- df -h /jail/build/test/etc
- echo 'sshd_enable="Yes"' > /jail/build/test/usr/local/etc/rc.conf
- chroot /jail/build/test /etc/rc.d/sshd keygen
- /jail/bin/jaildk start test
- /jail/bin/jaildk status | grep -E "test|Jail"

View File

@@ -1,4 +1,4 @@
[![Actions](https://github.com/tlinden/jaildk/actions/workflows/ci.yaml/badge.svg)](https://github.com/tlinden/jaildk/actions)
[![Actions](https://codeberg.org/scip/jaildk/actions/workflows/ci.yaml/badge.svg)](https://codeberg.org/scip/jaildk/actions)
## jaildk - a FreeBSD jail development kit v2.0.4
@@ -656,7 +656,7 @@ that's the best way for me to forget to do something.
In order to report a bug, unexpected behavior, feature requests
or to submit a patch, please open an issue on github:
https://github.com/TLINDEN/jaildk/issues.
https://codeberg.org/scip/jaildk/issues.
## Copyright and license
@@ -670,5 +670,5 @@ F.Sass (Culsu)
## Project homepage
https://github.com/TLINDEN/jaildk
https://codeberg.org/scip/jaildk

View File

@@ -1781,7 +1781,7 @@ jaildk_update() {
rcscript=update
force=''
repo="https://github.com/TLINDEN/jaildk.git"
repo="https://codeberg.org/scip/jaildk.git"
mustberoot
OPTIND=1; while getopts "f" arg; do