summaryrefslogtreecommitdiffstats
path: root/jjb/vpp/include-raw-vpp-build.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-02-15VPP: csit add unattended for install-depEd Kern1-1/+1
Change-Id: Ibdd8586d7c98f5945de382f5269393204236f966 Signed-off-by: Ed Kern <ejk@cisco.com>
2017-11-29Remove no-longer required branchMarco Varlese1-16/+6
With the support to create RPMs added for openSUSE the branch to execute different build commands is no longer required. It makes maintainance much simpler too. Change-Id: Ia280f026535f523c6866652e623941e46e572fd6 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2017-11-01openSUSE support and some rework to identify OSMarco Varlese1-6/+23
Rework to identify OS: Same approach followed by Makefiles and building scripts in the VPP repository. It is much cleaner and easier to simply use the environment variables in /etc/os-release openSUSE support: Some of the code added to the scripts can be removed once a separate patch from Vanessa is merged. The purpose here is to save the changes made since they will be lost otherwise. Change-Id: I06a041bbc5f5b7e3fa3510db43acf7d1462ec24c Signed-off-by: Marco Varlese <marco.varlese@suse.com> Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-07-12Fix: Add install-dep for VPP-CSIT* jobsPeter Mikus1-0/+1
Add "make install-dep" to satisfy DPDK dependencies. Change-Id: I290db04bed67bcf8a0f19a8ec2f7961efe6b9d3b Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-07-06Fix backward compatibility issue with vagrant directory moveMaciek Konstantynowicz1-3/+3
build-root/vagrant -> ../extras/vagrant. Change-Id: Ic6a46345d2cb82d4d9c9eba78eb66d21559a1d24 Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
2017-06-28CSIT-682 Usage of make-verify for vpp-csit-verify jobsPeter Mikus1-3/+4
Solve DPDK dependency in vpp-csit-verify* jobs, so that every time vpp-csit-verify* is triggered the latest DPDK is build and used. This patch will allows us to verify latest DPDK changes and be able to link dpdk-plugin dependencies. It suppose the remove the dependency of upgrading DPDK_DEV manually in CSIT branch. Change-Id: Id560e4798ae9261bc98497a1ffb211b39131d0e3 Signed-off-by: Peter Mikus <pmikus@cisco.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-12-05Use make verify only after its working and not for CSIT builds.Ed Warnicke1-11/+14
This patch does the following: 1) Introduces a new PARAMATER called is-csit-vpp-job 2) Sets that PARAMETER to 'True' for csit-vpp-jobs 3) Changes the include-raw-vpp-build.sh so that: a) It uses make verify only if this is not a csit job *and* if the patch has as a parent a point from which make verify is known to work b) It uses the old build.sh if its building CSIT jobs or the patch is from before make verify. The result is, patches should verify or not on their own merit, not on the happenstance of coming before or after make verify, and we don't do the extra make verify work for jobs were CSIT just needs packages built. Note: This patch is a fixed version of https://gerrit.fd.io/r/#/c/4083/ and has been tested using the 'DRYRUN' env variable. Change-Id: Ie6f1e6ce2809e21ea025bccfaec703cd7519e20e Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2016-12-05Revert "Use make verify only after its working and not for CSIT builds."Ed Warnicke1-14/+18
This reverts gerrit https://gerrit.fd.io/r/#/c/4083/ This reverts commit 12420b9347e5c92554b45f844dc31dd69d31beff. Change-Id: If92739ef507f079d5e45fa412924837f8b358c33 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-12-05Use make verify only after its working and not for CSIT builds.Ed Warnicke1-18/+14
This patch does the following: 1) Introduces a new PARAMATER called is-csit-vpp-job 2) Sets that PARAMETER to 'True' for csit-vpp-jobs 3) Changes the include-raw-vpp-build.sh so that: a) It uses make verify only if this is not a csit job *and* if the patch has as a parent a point from which make verify is known to work b) It uses the old build.sh if its building CSIT jobs or the patch is from before make verify. The result is, patches should verify or not on their own merit, not on the happenstance of coming before or after make verify, and we don't do the extra make verify work for jobs were CSIT just needs packages built. Change-Id: I1066c6a8087e639d81e9afab809f4a02b1f6b99c Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-12-05Merge "Revert "Put in check to make sure the patch is rebased late enough""Vanessa Rene Valderrama1-5/+0
2016-12-02Add a IS_CSIT_JOB parameter with the goal of having CSIT just build packagesEd Warnicke1-0/+1
Change-Id: Ie3892c5b5e90af1083889aa8166cee4e022873bc Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-12-02Revert "Put in check to make sure the patch is rebased late enough"Ed Warnicke1-5/+0
This reverts gerrit https://gerrit.fd.io/r/#/c/4061/ This reverts commit 9ee4a123ed5faebc5f795e2c88c8e1e5ea6947ac. Change-Id: I3bdeb6b0be6ea4013995b11ea626b03a04bb5069 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-12-01Put in check to make sure the patch is rebased late enoughEd Warnicke1-0/+5
Change-Id: Ia32ad82a3d8ee91282b26f70b4728e252e7453fd Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-30Add UNATTENDED=yes to make verify for vppEd Warnicke1-1/+1
Change-Id: Ic677efb56973b50d1701171153e7648ec6fbf46e Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-29Migrate vpp-verify-* to using make verifyEd Warnicke1-1/+1
Also retires vpp-clang-* and vpp-lite-verify-* as they are now covered by make verify. Change-Id: I19967cd82b67029a7396bdba6907aa3d4d7da865 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-11Add a vpp-verify-{stream}-{os}-clang jobEd Warnicke1-1/+1
Fixed to have vpp clang job use make verify Change-Id: Ic59713a72af156fd9a32ac9f43e96c36b3ece6b6 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-11Revert "Add a vpp-verify-{stream}-{os}-clang job"Ed Warnicke1-1/+1
This reverts commit 61f46f6471fac2bdb09c6e9fb23eaceb4122a433. Change-Id: I85b5a1244feaeacded793c83191b5a21d8948dd7 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-11Add a vpp-verify-{stream}-{os}-clang jobEd Warnicke1-1/+1
Change-Id: Ic71029c36a2f3bab65e9bcd36a711b4d2b417577 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-10-10Do not revert to java 7C.J. Collier1-7/+0
* find and remove all instances of update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64 Change-Id: I2fe5167cc0210b6bb68d2fb072d020574ec3c42f Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-07-21Ignoring failure in update-java-alternativesC.J. Collier1-1/+1
* The script fails, though the failure can be ignored. http://askubuntu.com/questions/599105/using-alternatives-with-java-7-and-java-8-on-14-04-2-lts Change-Id: Ie7b70fb189505a46b6640f1a961001f0c75a21b5 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-02Be less agressive with the setEd Warnicke1-1/+1
Change-Id: I221374b6515e145f4fc5a31e3c30192732e6aeab Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-02Fix propogation of build errors.Ed Warnicke1-6/+5
Change-Id: I3e600ab74f5290008489cdbaa1624559067ad8b2 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-20Document the process of re-spinning an imageC.J. Collier1-3/+3
* Document the process of respinning jcloud images in README.txt * Create /scripts/respin-jcloud-images.sh * Create /vagrant/lib/respin-functions.sh * Automate the process of fetching latest base images * Automate the process of creating new "LF upload" snapshots * Automate process of creating jcloud image - Boot fresh VM - run bootstrap.sh - run system_reseal.sh - snapshot re-sealed system * Unable to automate updating jcloud image regex for staging nodes * Correct shasum to sha1sum * Add cloud-initramfs-* to PACKAGES list * Install cloud-init during system reseal Change-Id: Ie70d5f1fdee0e9f06810da6f37bfc710e3e06b8e Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-05-16Provide clarity as to when merge job fails are build or pushEd Warnicke1-0/+5
Merge jobs can fail because a build has failed, or because a push of artifacts has failed. This should make it clear which occurrred in the build logs. Change-Id: I77e2ed0c756104492ee7a16378a5445162406f40 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-16Instrument Jenkins images/builds (take2)Ed Warnicke1-0/+7
Change-Id: I167cb259fce64f96d385294268a78bf6d161c8de Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-16Instrument Jenkins images/buildsEd Warnicke1-0/+10
This patch instruments so we can be certain *what* bootstrap.sh was used to build the running image and what include-raw-vpp-build.sh was run for the Job Change-Id: I69782c3bca71f24d24133205130be059a14a114c Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-09Check to see if a VPP patch needs rebasingEd Warnicke1-0/+18
Change-Id: I9eca0b820a82dac4dbe58759a47f3294c6fcb14b Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-06Fix for javahome updateEd Warnicke1-1/+1
Change-Id: Ifbe5962e0161ccf223baa4bb4fc03f8c86d859b1 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-06Fix for java home for honeycombEd Warnicke1-0/+7
Change-Id: Ib4381c10763251105ca1fc418e70c0e06905ba9a Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-28Use build.sh for vpp buildEd Warnicke1-15/+1
https://gerrit.fd.io/r/#/c/765/ is refactoring the vagrant to have a separate build.sh suitable for use outside of vagrant. It autodetects supported distros, installs dependencies, etc. This patch switches vpp jenkins jobs over to using build.sh. This should give us a unified path where: 1) CI Builds 2) Vagrant 3) Users starting out on their own Centos/Ubuntu boxes for the first time are all using the same build.sh. Change-Id: Iae7bca4e2a9e183e878d7638701e66735b388cbc Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-20Support for ubuntu1604 in CI verifyEd Warnicke1-11/+14
This patch should enable ubuntu1604 verify in CI management. Change-Id: I17b6e8addcfddf6cbbc3774205beecc00c4d3fcf Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-12Enabled centos7 buildEd Warnicke1-0/+4
Change-Id: I7fafacbe2fa58313e320de2e3a8a498898e89601 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-12Machinery for multi-os build.Ed Warnicke1-3/+9
This patch should provide machinery for multi os build It also provides machinery for multi-branch build Change-Id: I29db20f159f18af2cab512ab6df6b03d9f81ff15 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-02-02Enabled CCACHE_DIR to persist between jobsEd Warnicke1-0/+7
Change-Id: I7d7fc9c8c0dd561e4abbab481ccf4f879763e2e6 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-02-01Add V=0 to make command line;TAG=vpp_debug -> TAG=vppEd Warnicke1-1/+1
Change-Id: I4235334db36609be45b1e31e80659d5cda1827da Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-09Change back to building install-debEd Warnicke1-1/+1
Change-Id: Iea348a42c289fc654c52fcddff0f05f5b01d5d71 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-08Fix for make targetEd Warnicke1-1/+1
Change-Id: Ifeb5e21203f034f479b662e20649a3d990e2741f Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-08Fixes for vpp JJB and vagrant fileEd Warnicke1-1/+1
Change-Id: Iffc3076ffa2c69913fa3473d9debbe753d680883 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-08Initial commit of vpp JJB JobsEd Warnicke1-0/+8
Change-Id: I0ee210ac926bf5ffc7a5efa72b7e044e04fb6fa0 Signed-off-by: Ed Warnicke <eaw@cisco.com>