- Update builder to deploy in shared folder
oginstaller/pipeline/head There was a failure building this commit Details

- Create Jenkinsfile
move-to-docker
Nicolas Arenas 2024-10-25 12:48:26 +02:00
parent 9f342c750e
commit bc17e884c7
2 changed files with 15 additions and 1 deletions

14
Jenkinsfile vendored 100644
View File

@ -0,0 +1,14 @@
pipeline {
agent {
label 'jenkins-slave'
}
stages {
stage('Build') {
steps {
sh "echo root > root_passwd"
sh "docker run --privileged -v /dev:/dev -v /run:/run -v $(pwd):/installer -w /installer --rm opengnsys/oginstallerbuilder ./builder.sh"
}
}
}
}

View File

@ -10,7 +10,7 @@ DIST=noble
VARIANT=minbase
CLEAN=${CLEAN:-1}
CLEAN_CHROOT=${CLEAN_CHROOT:-1}
OUTPUT_DIR=/root
OUTPUT_DIR=/installer
IMAGE_DIR=$DIR/image
DEBOOT_STRAP_URL=http://mirror.raiolanetworks.com/ubuntu/