diff --git a/Jenkinsfile b/Jenkinsfile index 6506ede..a9bf0df 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,13 @@ pipeline { - agent { label 'pyDABFActory-CIAgent' } + agent { + docker { + label 'pyDABFActory-CIAgent' + image 'alpine:3.21' + reuseNode true + } + } stages { - stage('Prepare Docker cache markers') { + stage('GIT get refs and download some standard things') { steps { sh ''' mkdir -p .docker-cache @@ -20,6 +26,13 @@ pipeline { | awk '{print $1}' > .docker-cache/icons.ref test -s .docker-cache/icons.ref echo "icons ref: $(cat .docker-cache/icons.ref)" + + curl -s "https://gitea.chacha.ddns.net/api/v1/repos/chacha/V2TMUMemTester/releases" \ + | jq -r 'map(select(.draft == false)) | .[0].assets[] | select(.name=="v2-tmu-memtester") | .browser_download_url' \ + | xargs -n1 curl -L -o v2-tmu-memtester + + chmod +x v2-tmu-memtester + ''' } } @@ -159,6 +172,7 @@ pipeline { cp /root/neofetch config/chroot_local-includes/usr/local/bin/neofetch chmod +x config/chroot_local-includes/usr/local/bin/neofetch cp /root/editions/voodoo2/splash.jpg config/binary_syslinux/ + cp v2-tmu-memtester config/chroot_local-includes/usr/local/bin/ ''' } } @@ -169,7 +183,7 @@ pipeline { sh ''' mkdir -p config/chroot_local-includes/usr/local/games/ut99/ cp -R /root/ut-game/* config/chroot_local-includes/usr/local/games/ut99/ - cp /root/icons-collection/small/ut99.png /usr/share/icons/ + cp /root/icons-collection/small/ut99.png config/chroot_local-includes/usr/share/icons/ ''' } } diff --git a/internal/rootfs/opt/retrodebian/fluxbox/retrodebian-menu.section b/internal/rootfs/opt/retrodebian/fluxbox/retrodebian-menu.section index bf949e6..dba0375 100644 --- a/internal/rootfs/opt/retrodebian/fluxbox/retrodebian-menu.section +++ b/internal/rootfs/opt/retrodebian/fluxbox/retrodebian-menu.section @@ -20,6 +20,7 @@ [submenu] (Tools) [end] [submenu] (Diags) + [exec] (v2-tmu-memtester) {urxvt -e sh -c '/usr/local/bin/v2-tmu-memtester --help; exec sh'} [end] [end] [separator]