This commit is contained in:
2026-03-21 14:41:41 +01:00
parent 3174262151
commit 82cf9bdfd4
4 changed files with 45 additions and 10 deletions

35
Jenkinsfile vendored
View File

@@ -4,12 +4,28 @@ pipeline {
filename 'Dockerfile'
dir '.'
label 'pyDABFActory-CIAgent'
additionalBuildArgs '--no-cache-filter fetcher'
// additionalBuildArgs '--no-cache-filter fetcher'
args '--privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined -u root:root'
}
}
stages {
stage('Build ISO') {
stage('Prepare Docker cache markers') {
steps {
sh '''
mkdir -p .docker-cache
git ls-remote https://gitea.chacha.ddns.net/chacha/glide.git refs/heads/retrodebian \
| awk '{print $1}' > .docker-cache/glide.ref
test -s .docker-cache/glide.ref
echo "glide ref: $(cat .docker-cache/glide.ref)"
git ls-remote https://gitea.chacha.ddns.net/chacha/UT99-Official.git refs/heads/master \
| awk '{print $1}' > .docker-cache/ut99.ref
test -s .docker-cache/ut99.ref
echo "ut99 ref: $(cat .docker-cache/ut99.ref)"
'''
}
}
stage('Configure ISO') {
steps {
dir('root')
{
@@ -49,7 +65,7 @@ pipeline {
--bootappend-live "elevator=deadline" \
--hostname RetroDebian \
--iso-application RetroDebian \
--syslinux-splash config/splash.png \
--syslinux-splash config/binary_syslinux/splash.png \
--union-filesystem unionfs \
--username bob \
-k retrodebian1
@@ -65,13 +81,24 @@ pipeline {
cp /root/desktop config/chroot_local-packageslists/
mkdir -p config/chroot_local-includes/usr/share/wallpapers
cp /root/wallpaper.jpg config/chroot_local-includes/usr/share/wallpapers/retrodebian.jpg
cp /root/editions/voodoo2/splash.png config/
cp /root/editions/voodoo2/splash.png config/binary_syslinux/
'''
}
}
}
stage('Configure games') {
steps {
sh '''
mkdir -p config/chroot_local-includes/usr/local/games/ut99/
cp -R /root/ut-game/* config/chroot_local-includes/usr/local/games/ut99/
'''
}
}
stage('Build ISO') {
steps {
dir('root/live')
{
sh 'lh_build'
}