From f33c047da1350ec47cf01385359e12085373944d Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 21 Jan 2019 20:11:59 +0100 Subject: Jenkins: force usage of self compiled packages Remove all references to the vyos package mirror via Python vyos_repo_entry variable. Thus we ensure that only the packages the have been compiled from source are used. --- Jenkinsfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index b5210544..d1d8ad95 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,12 +40,23 @@ pipeline { sh 'scripts/build-submodules --verbose' } } + stage('Build ISO') { steps { sh ''' #!/bin/sh + + # we do not want to fetch VyOS packages from the mirror, + # we rather prefer all build by ourself! + sed -i '/vyos_repo_entry/d' scripts/live-build-config + + # Configure the ISO ./configure --build-by="autobuild@vyos.net" --debian-mirror="http://ftp.us.debian.org/debian/" + + # Debug to see which Debian packages we have so far ls -al packages/*.deb + + # Finally build our ISO sudo make iso ''' } -- cgit v1.2.3