add missing stuff
This commit is contained in:
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -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/
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
[submenu] (Tools) </usr/share/icons/gnome/24x24/apps/gnome-control-center.png>
|
||||
[end]
|
||||
[submenu] (Diags) </usr/share/icons/gnome/24x24/apps/gnome-cpu.png>
|
||||
[exec] (v2-tmu-memtester) {urxvt -e sh -c '/usr/local/bin/v2-tmu-memtester --help; exec sh'}
|
||||
[end]
|
||||
[end]
|
||||
[separator]
|
||||
|
||||
Reference in New Issue
Block a user