summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/vpp/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-02-15vpp: enable multi-worker make test on Debian10Andrew Yourtchenko1-0/+11
This patch enables the multi-worker make test on the branches that support it, as a voting job directly, to capture the working tests and avoid the new non-working multiworker testcases. Change-Id: Ibeedd8f8aa2851c022b045d37505bb75bf460de8 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2021-02-10vpp build.sh: move from "make verify" to "make pkg-verify" + "make test"Andrew Yourtchenko1-17/+36
Problem: The VPP CI merge and verify jobs use the "make verify", which has special handling depending on the OS. So, to make meaningful changes like running the test suite on more platforms, one would need to make the changes in two places, which is error-prone and slow. Solution: move the logic on which OS to run the "make test" into the ci-management scripts, and stop using "make verify" Change-Id: Icc7daa9364198f455ed8ca5bae5e5da5f15baf48 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2021-02-09Add the core file decoding+cleanup for the verify jobsAndrew Yourtchenko1-4/+19
- Add better failure reporting and dry run handling for build scripts. Change-Id: Ia19bae15ff4880b07094f4f665e5e00030eda27c Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-01-26Skip VPP build for merge jobs with Gerrit ID != git HEAD.Dave Wallace1-15/+22
- Since merge jobs are serialized after the patches have been merged into git, all merge jobs which do not have the same Gerrit ID as git HEAD are redundant. Skip them to save useless cycles and to reduce the size of the build queues when multiple patches are merged in a short amount of time. - This also fixes the issue with packagecloud packages containing different contents then the associated Gerrit ID when built & pushed in this state. Change-Id: I822492bd1d523576373bb268258c181a9c5edb42 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-10-13Clean up vpp jenkins scripts & docker dirDave Wallace1-55/+41
- Remove docker/vpp Dockerfile definitions and colateral files for image now being build by https://gerrit.fd.io/r/c/ci-management/+/28022 - Remove opensuse support which has been elided from the vpp build in https://gerrit.fd.io/r/c/vpp/+/28999 - Remove unused scripts. - Output script name marker for all jjb scripts following LFIT practices. - Remove old/unused output from scripts. - Add logic to use vpp-ext-deps download cache in the executor images to speed up build jobs. - Add copyright notifcations to modified files without an existing copyright. - Make all vpp/docs jobs use '-{stream}-{os}-{executor}' suffix in their names. - Consolidate executor logging into setup_executor_env.sh and call it first for all jobs. Change-Id: I4ffb67ed476659f0127ca8c84f20a305d06149bf Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-07-24Unify echo MAKE_PARALLEL vars with CSITJuraj Linkeš1-8/+17
CSIT differes in how MAKE_PARALLEL flags are logged to stdout before build. Unify based on https://gerrit.fd.io/r/c/csit/+/27821. Change-Id: I48bced4792e65da504e9a1815e598633315aecab Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-07-08Unify arm and x86 vpp jobsJuraj Linkeš1-2/+14
There are two sets of scripts doing basically the same thing, one set for arm and one for x86. Use the same scripts for both x86 and arm jobs, remove the unnecessary ones and update the scripts so that they work on both architectures. Change-Id: Ie9c29578d0f6af41e65c0f4723bc248e664cb8dd Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-06-01Add MAKE_PARALLEL_JOBS parameterJuraj Linkeš1-0/+5
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-01-09VPP: Make script inclusion more readableVratko Polak1-0/+64
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>