summaryrefslogtreecommitdiffstats
path: root/jjb/scripts
AgeCommit message (Collapse)AuthorFilesLines
2020-06-16vpp-checkstyle-verify-{stream}: add the step to API checkAndrew Yourtchenko1-0/+30
This patch adds calling the crcchecker.py --check-patchset in the initial checkstyle path. (see change ID I5f13c0976d8a12a58131b3e270f2dc9c00dc7d8c) It adds also: - gerrit-refspec-parameter to be able to specify the patchset manually - credentials-binding for a WebEx Teams bot - I had them added via IT-19800 - necessary plumbing to use these credentials. It is done by a minimal curl setup, which posts into room "VPP API check failures", which I created to be able to monitor the behavior and jump in to discuss and help to sort out the changes that may be problematic. Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> Change-Id: I4833aa929044413a1ac08ab80668f25c0db8b3ff
2020-06-01Add MAKE_PARALLEL_JOBS parameterJuraj Linkeš3-12/+12
VPP uses the MAKE_PARALLEL_JOBS variable to limit the number of cpus used for build. Make that varialbe configurable as job paramter instead of setting it in script for easier job management. Change-Id: Iaaafdb216c3af9244827b270c540a70b5844021f Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-03-27Fix csit branch for perf timed jobsJan Gelety1-1/+3
- performance timed jobs in different csit branches need to be independent from other csit branches Change-Id: Iec841864cdab4374094042d27b3d68a30b7427a1 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2020-03-11fix vpp-sphinx-docs-verify-master job failurePaul Vinciguerra1-1/+1
Job is failing because it is asking to install newer packages. Apparently the 'make docs' is called from docs and expects different environment variables set in the base makefile's 'make docs'. Fixes: b81e5c92687238d60331dd11e9b079657b2aa5bc Change-Id: I7613cde1178e5e27fdb3e457b4e03969080236c9 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2020-03-10fix vpp-sphinx-docs-verify-master job failurePaul Vinciguerra1-1/+1
Job is failing because it is asking to install newer packages. Do you want to continue? [Y/n] Abort. Makefile:31: recipe for target 'html' failed make[1]: *** [html] Error 1 make[1]: Leaving directory '/w/workspace/vpp-sphinx-docs-verify-master/docs' Change-Id: Iab11cded2fef85a78686fae6b7e19845c33418f7 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2020-01-15Comment usage of parallel-vars.shVratko Polak2-0/+12
+ Add comments to scripts that need the values. + Add comments to shell stanzas to not split inclusions. + Remove parallel-vars.sh from a job that does not use the values. - It seems compilation time is not affected by the values. Change-Id: If844486411753fcac7bece1db8416f2d23ea3749 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-01-09VPP: Make script inclusion more readableVratko Polak16-0/+616
Historically, scripts names started with include-raw-vpp- prefix. That was not only long and superfluous, but also confusing, as the actual way of including uses "include-raw-escape", which is a command behaving differently than "include-raw", suggested by the previous name. This Change shortens script names to the part that actually says something about the script. + Delete include-gcc8-prefer.sh as it is orphaned since https://gerrit.fd.io/r/c/ci-management/+/20443 + Move the scripts to jjb/scripts/vpp/. - "absolute" paths are not used, as ci-man root is not in search path. + Put each path on a separate line to avoid long lines. + Put each include in a separate shell to make sure return code of each script is checked. + Update copyright year where present. - Copyright notices are not added when not present. Change-Id: I48920542ff20810cc87fb01844236350348bae59 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-01-09CSIT: Make script inclusion more readableVratko Polak15-0/+643
Historically, scripts names started with include-raw-csit- prefix. That was not only long and superfluous, but also confusing, as the actual way of including uses "include-raw-escape", which is a command behaving differently than "include-raw", suggested by the previous name. This Change shortens script names to the part that actually says something about the script. + Move scripts to jjb/scripts/csit/. - "Absolute" paths are not used, as ci-man root is not in serarch path. + Put each path on a separate line to avoid long lines. + Update copyright years, add missing copyright notices. Change-Id: Ifcfad5833577d78bf9105f494d5bf6187abc2a68 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-07-25Add arm 1n-tx2 VPP Device jobsjuraj.linkes1-1/+8
Change-Id: I7bd77d96c3451415dabe20e097185b871eb2c8a2 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-07-18VPP: centos removing correct repo fileEd Kern1-1/+5
Centos now matching ubuntu bionic behaviour when on non master branch Change-Id: I5fb7ab4074ed9882bd44931ce866eab4add6539d Signed-off-by: Ed Kern <ejk@cisco.com>
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>