summaryrefslogtreecommitdiffstats
path: root/jjb/scripts
AgeCommit message (Collapse)AuthorFilesLines
2019-05-02Fix JVPP merge deps for release buildsMichal Cmarada1-0/+11
At the time when JVPP release is done VPP packages are already in the release repository. This fixes repository setup to use release repository for dependencies in case of release build. Change-Id: I12bbf02e9c27b54a8641253ab903abd96d8a5201 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-04-17Fix JVPP stable branch buildsMichal Cmarada1-0/+4
Change-Id: I95d0d6dd529c596e7fad413e234155c6bd953d0d Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2019-04-16VPP: ubuntu update before deps installEd Kern1-1/+1
force package update before deps install Change-Id: Iafb8958f0b1bff179c00f8f7f0b5dc8e4ffae8f4 Signed-off-by: Ed Kern <ejk@cisco.com>
2019-04-12VPP: packagecloud branch checkEd Kern1-1/+6
If branch is not master it removes preinstalled pointer and runs packagecloud repo install script Change-Id: I450b749a199cb431e04029174d28424969bccc91 Signed-off-by: Ed Kern <ejk@cisco.com>
2019-02-20Run maven in non-interactive mode.Paul Vinciguerra1-1/+1
Stop mvn from printing the download progress of each file transfer. ------- mvn -h usage: mvn [options] [<goal(s)>] [<phase(s)>] Options: ... -B,--batch-mode Run in non-interactive (batch) mode Change-Id: I5cd0fc2843bece11b3d437c1d6e563cbe835cd2a Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2019-02-19VPP: cover opensuse reporting differenceEd Kern2-0/+19
Cover opensuse leap-15 reporting as either opensuse or opensuse-leap Change-Id: I79c077ecff33e1473120a21b418a8af89b4a00d5 Signed-off-by: Ed Kern <ejk@cisco.com>
2019-02-19Merge "Allocate sufficient shm for the number of cores."Ed Kern1-1/+4
2019-02-19Allocate sufficient shm for the number of cores.Paul Vinciguerra1-1/+4
# for 4 cores: # framework.VppTestCase.MIN_REQ_SHM + (num_cores * framework.VppTestCase.SHM_PER_PROCESS) # 1073741824 == 1024M (1073741824 >> 20) Change-Id: Iac56d69a48df019426e6b914d085635c8cd4df74 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2019-02-19Fix opensuse packagecloud push failures.Paul Vinciguerra1-1/+4
For an example failure, see: https://jenkins.fd.io/job/vpp-merge-master-osleap15/2443/console Change-Id: I84a05512b1a7d5ef0e8fce963e3917f42929605e Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2019-02-15JVPP-22: introduce jvpp-verify jobMichal Cmarada1-0/+43
Change-Id: Ie762e087046224b458eda9184b741ce2707edccb Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-10-29VPP: add sudo for non root userEd Kern2-11/+11
Add sudo to certain shell lines so they can run as non root user Change-Id: If3c2bc2afbd6a0f7f7cc8ee7fbd096525ac63a04 Signed-off-by: Ed Kern <ejk@cisco.com>
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>