summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-01-21 20:11:59 +0100
committerChristian Poessinger <christian@poessinger.com>2019-01-21 20:12:11 +0100
commitf33c047da1350ec47cf01385359e12085373944d (patch)
treef85f3b14cb83d67d20febdb66b0f8fb835a1e844 /Jenkinsfile
parent1bc7b2b3154ff13922f49285848f6800df548244 (diff)
downloadvyos-build-f33c047da1350ec47cf01385359e12085373944d.tar.gz
vyos-build-f33c047da1350ec47cf01385359e12085373944d.zip
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.
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile11
1 files changed, 11 insertions, 0 deletions
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
'''
}