mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-17 12:41:10 +01:00
no woodpecker freebsd support, stay with github actions for now
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
labels:
|
||||
platform: linux/amd64
|
||||
|
||||
|
||||
steps:
|
||||
test:
|
||||
when:
|
||||
event: [push]
|
||||
image: aygpdr/freebsd:14.2-RELEASE
|
||||
commands:
|
||||
- df -h
|
||||
- FREEBSD_VERSION=14.3-RELEASE /scripts/entrypoint.sh start
|
||||
- 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"
|
||||
|
||||
Reference in New Issue
Block a user