summaryrefslogtreecommitdiffstats
path: root/jjb/scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-09-28Use os-release for opensuse infoEric Ball1-6/+7
Puppet, and therefore facter, are not officially supported on OpenSUSE, and currently not available for OpenSUSE 15. Using the os-release file to get the version info should be a viable alternative. Change-Id: Id4787d9b836a783792e5e5ae3b895e87b95f08cf Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2018-09-20VPP: dev-contrib to ext-debsEd Kern4-11/+11
Sync to final naming on external dep packaging deps not debs Change-Id: I0e222f2e943be26bdd2959c1fd5e11d4c06f08b2 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-09-19VPP: install dpdk and contrib for nowEd Kern1-4/+4
Installing both dep packages for now Change-Id: Ib41dc85cc0e08992928f813a45cf04a00ee4fe79 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-09-18VPP: replace dpdk-dev with dev-contribEd Kern4-6/+15
VPP internal package renaming requires setup changes Change-Id: I24b5132a0b73be99e6ef1e93a17c743f399bc1a1 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-09-16Make sure to install facter on OpenSuseEd Warnicke1-0/+5
Change-Id: I7fdd34157f2e37f32fec818a5a744f06c4c54437 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-09-15Add packagecloud push for OpenSuse.Ed Warnicke1-0/+5
Change-Id: I401270ae9603393917823a0d9d0200fc63704f4d Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-09-14Also remove spurious apt repos...Ed Warnicke1-1/+8
Change-Id: I9b47c377c793e64ca1ac69c945f7399486083f21 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-09-14Remoe fdio-master.repo file for centos builds to avoidEd Warnicke1-0/+3
breakage on non-master branches Change-Id: Ib03647b27f74b03e5cb9a6ba3d736d3889b39672 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-09-14Switch over to using packagecloud.io as source of dpdk packagesEd Warnicke1-10/+2
Change-Id: Ifd1b2320c226fa725b361a37c5b918958e07a190 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-09-12Configure script to look in home directoryVanessa Rene Valderrama1-1/+1
Configuring the script to look in the home directory for the packagecloud files to allow the script to work in the containers and the openstack environments Change-Id: Ibfad7111b87ed570d8cdca9b6243b0ab2e848483 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-08-21VPP: expand arm builds to 2G shmEd Kern1-0/+57
At request of test im expanding default shm on arm builds to 2G from 512M Change-Id: Ib0283fba5228083d578c66f9b382e5d4c06e72f3 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-07-17Temporary fix for sorting out reposEd Warnicke1-1/+1
Change-Id: Ie05ed97210c41a0339f2e72abffdd3ae563e67a0 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-06-19VPP: list out preinstalled packagesEd Kern1-0/+12
Few echos and ls to list out preinstalled or cached deps on ubuntu images. Change-Id: I4ea5dfdafec66c29b94ce116f25d0a23c0a6a870 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-04-27VPP: made nexus repo trusted for ubuntuEd Kern1-1/+1
ubuntu 1804 a bit more strict about using untrusted repos causing script failure. So just make the nexus repo trusted across the board. Change-Id: I200f8af16c70b150a939cbdbe6045cbcba9be358 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-04-23Modify the location of the packagecloud filesVanessa Rene Valderrama1-2/+5
This change is to modify the location of the packagecloud files to work within the containers. Change-Id: I1c2378a56b380e39848d9fdb7d8e89f7f8d81cfa Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-04-17VPP: opensuse dpdk proper pull and pushEd Kern1-0/+10
Reinstitutes opensuse rpm package push and introduces proper opensuse dpdk pull Change-Id: Ie8f1f2f218bb5de1787d4f6c2f2a64fbaaed70fb Signed-off-by: Ed Kern <ejk@cisco.com>
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>