summaryrefslogtreecommitdiffstats
path: root/jjb/scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-03-14VPP: remove opensuse hand built dpdkEd Kern1-0/+2
While opensuse doesnt install dpdk from the repo handbuilt prebuilt image still must be removed. Change-Id: I48615e3f56cfc6ccd0f493f814922afe8d5f6245 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-03-13VPP: forcing removal of old dpdk packagesEd Kern1-0/+12
this is for building older vpp branches with older dpdk releases Removes older dpdk before older version attempts to install. Using remove and install approach over downgrade for more consistent results Change-Id: I43e64e1cd281e2b51b0eb408d89cd477c686d339 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-03-08VPP: removed dpdk deb copy for csit runsEd Kern1-6/+0
they will look in copy source directory for this deb if needed Change-Id: Id78fac6b0adf8d17be7d89733d9abf1ec9a5f2d1 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-03-06VPP: Altered dkms from download to cached copyEd Kern1-1/+1
Previously was driving pkg download with every vpp-csit build. This will now used a cached copy instead to avoid failures when dpdk repo has outages Change-Id: I3d9bf6c369cc161a8a53cb22df93d10dd17c0031 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-02-21VPP: add container server detectionEd Kern1-0/+4
Adding grep one-liner to detect server node where container build is happening since we may want that information long after the build happened Change-Id: Iad26c06ac659998f6ac1b3563660ca77eb817e55 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-02-21VPP: ASSuME proof pkg listerEd Kern1-5/+6
Change-Id: Ie4e6289ef024ad0b40734d01d5990c43ff845b52 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-02-21VPP: drop yum from opensuse pkg discoveryEd Kern1-1/+0
Change-Id: Iaab17f472fc1587d3de19a0a513ac85019f6900d Signed-off-by: Ed Kern <ejk@cisco.com>
2018-02-15VPP: add pkg and pip list for csit buildsEd Kern1-0/+19
Change-Id: Ib41bdffa79e6ff0551ec8fd4d96cbd2da5c4b052 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-01-17Expand shm for docker ubuntu imagesEd Kern1-0/+14
Change-Id: Ida2d9bc4974795b4d9e6277ca191356ddecaba9a Signed-off-by: Ed Kern <ejk@cisco.com>
2017-11-08Fix capitalization issue in OS_ID for ubuntuEd Warnicke1-1/+1
Change-Id: Iddf8db64e0fddd470e5ce352b35cd6b4023fcf1c Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-11-08Use OD_ID instead of the defunct DISTRIB_IDEd Warnicke1-2/+2
Change-Id: I41045c8ff1b43dd28731658c4c5a69eaeed43f19 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-11-01openSUSE support and some rework to identify OSMarco Varlese1-16/+4
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-08-10Configure Jenkins packagecloud promote jobVanessa Rene Valderrama1-0/+15
Add VPP job to promote artifacts from packagecloud.io staging repository to packagecloud.io release repository Add packagecloud_api Jenkins managed file Add packagecloud_promote script Change-Id: If1ef1162f82201ea41b685eb45d0f09c0c7d1ce9 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-06-28CSIT-682 Usage of make-verify for vpp-csit-verify jobsPeter Mikus1-0/+1
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>
2017-04-26Configure VPP to publish to packagecloud.ioVanessa Rene Valderrama1-0/+2
Adding a sleep to the packagecloud push script to troubleshoot an issue where the merge jobs are failing intermittently due to the .packagecloud file not being created before the packagecloud scripts run Adding the packagecloud_push script to the VPP merge job to allow artifacts to be published to packagecloud repositories in addition to Nexus repositories Change-Id: Ic22e6d5d8ca90bf41ff64fca7d14504c5b0f33d7 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-04-17Make packagecloud push conditional on existence of ~/.packagecloudEd Warnicke1-14/+15
Change-Id: I34d88bfd6f4c55c00d354aae13536a8e3eb8e613 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-04-17Configure VPP to publish to packagecloud.ioVanessa Rene Valderrama1-0/+19
Added a packagecloud_push script to push artifacts to the packagecloud.io repository Added the stream-parameter and packagecloud_push script to the VPP merge job to allow artifacts to be published to packagecloud repositories in addition to Nexus repositories Change-Id: I9076ee35a6d330579ba72aa19a455b3d7a22e7f5 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-03-03For rpms its vpp-dpdk-devel not vpp-dpdk-devEd Warnicke1-1/+1
Change-Id: Ida214d01c72d2b4e8e34d3f87eb134b0dc0902fd Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-03-03Re-enable installation of vpp-dpkg-devEd Warnicke1-1/+1
Change-Id: I1dd5c9f51a0f228c977191de7b5432a6244124e3 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-03-02Temporarily disable vpp-dpkg-dev installEd Warnicke1-1/+1
Change-Id: I0880fbee7eae8dfda6764d855214f8c097cacf97 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-03-02Forgot to negate a conditionalEd Warnicke1-1/+1
Change-Id: I6868c171f0738b0a820b12a66bf2a49e237e0abd Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-03-02Fix vpp merge jobsEd Warnicke1-0/+43
This patch switches to installing the vpp-dpkg-dev whenever possible rather than building it. This means no duplicative pushing of vpp-dpkg-dev, which should fix the merge jobs. It also should mean faster vpp builds since we generally won't need to build DPDK either. Change-Id: I602fb09a847bb4b0d54c5844dc4c79a27393580d Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-03-01Revert "Fix vpp merge jobs"Ed Warnicke1-44/+0
This reverts gerrit: https://gerrit.fd.io/r/#/c/5575/ This reverts commit 149bea0a7637967d625995ed0ee10c8575009e7a. Change-Id: I7e11c9aa44ffa93afb03665c502b3ac01f0863b2 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-03-01Fix vpp merge jobsEd Warnicke1-0/+44
This patch switches to installing the vpp-dpkg-dev whenever possible rather than building it. This means no duplicative pushing of vpp-dpkg-dev, which should fix the merge jobs. It also should mean faster vpp builds since we generally won't need to build DPDK either. Change-Id: I8a892b053989d0c95e0605e8dc54a6b7a205dc0c Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-10-24Don't forcibly hardcode maven locationAndrew Grimberg1-1/+1
It's bad form to hard code the path to maven in any of the build scripts. Doing so makes it difficult to switch back to using the dynamically installed maven system which makes the builds more flexible. Change-Id: Ide4e595c9e9f561bb404c2491e528b3129e2ecca Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-09-19Source common functions from jjbC.J. Collier1-1/+3
Now using !include-raw-escape to include maven push functions for vpp as done with honeycomb Change-Id: Iae34c2db057203c5ac0d5a0c8336e87725bbd394 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-09-02Clean-up environment injectionVanessa Rene Valderrama1-1/+1
Change-Id: I95deb674b0a5b792d66596fb9dc448e7a15c4b4d Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-09-02Clean-up environment injectionVanessa Rene Valderrama1-1/+1
Change-Id: I6a657c5dcd447ddf5d490d6d393cbf900c02ce10 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-09-01Clean-up environment injectionVanessa Rene Valderrama1-1/+1
Change-Id: I4eca9c3a844ed2f49946c188e7b81ee862e063f7 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-09-01Adding Maven environment variablesVanessa Rene Valderrama1-0/+3
Change-Id: I9c18f2219c811eaaa7dcada8af8c198a021fcb86 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-08-30Fix for honeycomb packages not showing up in apt repo indexesEd Warnicke1-1/+1
Change-Id: Ie17e06a07ba88642788bc514e6ee8b7a15e55fc5 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-08-17Fix artifactId and version of deployed jarsMarek Gradzki1-2/+6
Jar name can consist of more than two groups separated by a hyphen. Last group should be treated as a version, rest as artifact name. Examples: jvpp-registry-16.09.jar jvpp-16.09.jar Add example jar names to source to ease comprehension Change-Id: Ica0b490c4213224abc70774aa41c60e62f0360f0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-07-21Use maven from /optC.J. Collier1-7/+1
Change-Id: I6173e24be1efbabf9b9507af593210803f8fff21 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-21Correct jjb and mvn parameters for honeycomb deploymentC.J. Collier1-2/+6
* remove deprecated MaxPermSize argument from mvn * add repo-name parameter to job template definition Change-Id: Ic202a8cbf56df52970c22996980206ce3849e1a3 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-17Revert "Create script to automate deployment"Ed Warnicke1-6/+6
https://gerrit.fd.io/r/#/c/1606/ This reverts commit afd303bc155a27d1ddccfc8add7d510c731decf5. Change-Id: Ie169e3cad3433953d6f21064ec90b33d6b2dc49a Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-17Create script to automate deploymentC.J. Collier1-6/+6
* as per #24343 * re-factored to use common code from include-raw-vpp-maven-push and maven_push_functions.sh Change-Id: I197c114bcf61b0dd2ea81e2be0505793cf594e49 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-16Setup honeycomb to build and push rpms on mergeEd Warnicke1-0/+90
This patch depends on the merging of https://gerrit.fd.io/r/#/c/1574/ which must merge before it. Please also note, while there is a first step to getting the package pushing scripts into a common sharable place, the vpp script for pushing has *intentionally* not been changed to use it yet because of the release later this week as a matter of risk management. Change-Id: Ifad185d35f582a62bb750ece3c022a24d2153b4e Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-08Add common setup for vpp plugin verifiesEd Warnicke1-0/+43
Change-Id: Iac8b1d5408a9187fd39276881e21501c247c2231 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-08Fix issue in cleanup scriptEd Warnicke1-1/+1
Change-Id: I06c1b51a423fac735767abf6c5f5ffdc602b0126 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-08Provide common cleanup script to be used across projectsEd Warnicke1-0/+31
Change-Id: Iebafbd25bee5cbf9c09fe0183b5d7e4c1eef8bb8 Signed-off-by: Ed Warnicke <eaw@cisco.com>