summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
AgeCommit message (Collapse)AuthorFilesLines
2021-04-23Separate VPP stacktrace generation from artifact archivingDave Wallace1-8/+0
- Separate removal of socket files in workspace archive directory from archiving of artifacts - Clean up deprecated workspace-archive-artifacts-parameter macro Change-Id: I11c7fe55d3412fb7261da9f0cfb809a152ae1d51 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-04-08Use fdio-infra-publish for nomad executor based jobsDave Wallace1-1/+1
- Separate post build executor info dump into its own script file. - Remove backup_upload_archives.sh from fdio-infra-shiplogs which is now only used for openstack executors. - Add setup_executor_env.sh to run first for all jobs which run on nomad/dockerhub images. Change-Id: I564201b8c578e6541152e6af74537d1d007ba1a7 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-02-16Change 'make test' os on VPP/master to ubuntu-20.04Dave Wallace1-0/+8
- remove beta job templates which should have been done in a previous gerrit change. Change-Id: Id27bc54b86fa0affaaae40e97149ed49d760bdc3 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-01-18CSIT: Make tox job gating (as VPP checkstyle)Vratko Polak1-9/+6
+ Add code comments explaining how CSIT device tests can be started. Change-Id: Icc5bd800f8fdc4616366a32559304977fba9fb04 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2021-01-08upload the logs to backup storage location as wellAndrew Yourtchenko1-1/+3
Change-Id: Ib3e9c9ae1fd053c06840f7bc5124aae48fe58e76 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2020-12-15Use 'lftools deploy archives' for log uploadDave Wallace1-0/+72
- This is a pre-requisite for using amazon S3 for log storage. - Requires docker images built by updated docker scripts to include packages required by 'lftools' or other project specific docker images to be upgraded with same packages. This change only updates jobs which are using fdiotools docker images. - Add FD.io specific global macros to avoid inflating docker images with packages required by unneeded global-jjb scripts. - Sort VPP job parameters alphabetically - Dump installed python3 packages in setup_executor_env.sh Change-Id: Ifddd8f2b70b10acf834ffc837b27ef5453213a86 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-07-20Merge "vsap build"Dave Wallace1-0/+8
2020-07-17vsap buildxiaolongx.jiang1-0/+8
Signed-off-by: xiaolongx.jiang <xiaolongx.jiang@intel.com> Change-Id: Ibb780f3c9e319a2aa49db5f846539db6c86e0848
2020-06-01Add MAKE_PARALLEL_JOBS parameterJuraj Linkeš1-0/+8
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-12Use the same perf triger for vpp and csitVratko Polak1-7/+7
+ Rename arguments. + Make skip-vote and trigger word configurable in the macro. + Keep the old skip-vote and trigger word values. + Improve vpp-csit job description highlighting the difference. Change-Id: Ie9ca68d422f8514bc8b0cd79f36a83181911feb9 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-03-12Order macros alphabeticallyVratko Polak1-244/+255
+ Rename csit-vpp and vpp-csit macros to similar naming convention. Change-Id: I042db66cf52e19f08a60854e8672146a0d6a0fc0 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-01-09Move VPP and CSIT macros to globalVratko Polak1-0/+177
+ Add copyright notice. Change-Id: Ib5de5738a031ce94bbaf145a7cd1e58e882470f4 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-11-28Apply BMRR parameters to each MRR jobVratko Polak1-0/+16
+ Define global macros to make values configurable on demand. + Define minimal values to be used as global default. + The vpp-csit and csit-vpp jobs need different values. + Ndrpdr jobs do not use the values. Change-Id: I868da5fdf16cfb627c48b44a028ed2f6a708ce77 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-09-11Mark jobs that should not tolerate CRC mismatchVratko Polak1-1/+1
CRC checking is only needed in a small subset of jobs that are required for maintaining CRCs. Other jobs are more useful if they skip CRC checking, in order to uncover real incompatibility (or confirm compatibility). Change-Id: I08113b3bec5e38650a6e7331a9513feb17908e48 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-09-05Disable CRC checking for some vpp-csit jobsVratko Polak1-0/+8
+ Except the API CRC job, of course. + See comments for reasons. Change-Id: Ida87cac3cf4a85fdf25d8d579ad48a484eb1d2b8 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-11-05Fix linting in global-macrosVanessa Rene Valderrama1-322/+318
This change is to fix linting errors in global-macros Change-Id: I387c49b90e3d2750e6e41e27fb18d16ad97a90ae Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-10-26Revert post-build-script to old fd.io oneThanh Ha1-2/+11
Change-Id: I3ea65cb0da467021b39bdce755ea8d25d9d7bbcc Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2018-10-18Fix publisher macro causing JJB 2.5.0 errorsVanessa Rene Valderrama1-13/+10
Fixing postbuildscripts publisher to resolve JJB 2.5.0 errors Change-Id: Iab07fe7a419b2084591b4f386340accf9ec47064 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-09-28Update ci-management submodules recursivelyEric Ball1-0/+14
To enable compatibility with global-jjb, the scm needs to update submodules recursively. Adding the param to the old scm would require changing every reference to that object, so a new scm was created. Change-Id: Ib514d06891f50a24bb2f38449b5b094db602f7e6 Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2018-09-06CSIT-1264: Job for per-patch VPP perf testingVratko Polak1-0/+25
Most logic is in CSIT repository. + Hardcode topology type of vpp-csit-verify-perf-{stream}- job. + Introduce gerrit related parameters to enable Sandbox testing. + Add the parameters to vpp-csit and csit-vpp perf verify jobs. Change-Id: I8643b4ba352122c51289db923f0d0ebe597d08e4 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-07-11CSIT-1117: Update jenkins job infrastructure for 2-node/3-node testingTibor Frank1-0/+15
+ 'csit-vpp-perf-{stream}-{topo}-{arch}' - {stream} [branch_id] - {topo} [2n|3n] - {arch} [skx|hsw|arm] Change-Id: I5f01a1035cec4dbc663fa06c67e2a4d4ae692d28 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-03-26Do not trigger verify jobs on creation of DraftsVratko Polak1-3/+3
The patch sets will be verified upon Publish anyway. Owners who wish to verify before Publish can add JJB reviewer manually and comment "recheck". Change-Id: I80789e762a0f0adf1d88a18b7673590da51fd21e Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-02-22VPP: renames -os triggers to os-Ed Kern1-3/+3
Regex still hits recheck on recheck-os which is bad. So changing: recheck-os to os-check remerge-os to os-merge reverify-os to os-verify Change-Id: Id541eaf3e4e45add0f21b0ec6b6c7bee42f6dcac Signed-off-by: Ed Kern <ejk@cisco.com>
2018-02-20VPP: Add os set of jobs to use openstack builderEd Kern1-1/+46
Introducing -os- set of verify and merge jobs to always use the openstack builder as a backup to cpoc Change-Id: I21437c7a0d25b6eca2554eee4886618bc5545aa8 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-02-20VPP: run on trivial rebase add docs/virl jobsEd Kern1-1/+1
Change-Id: I1ac602a4c848bcf0b1f290199c9ea932ab50cec5 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-02-12VPP: cpoc out of test but still skip voteEd Kern1-0/+27
Change-Id: I613cf44ca7c9ea2c8aa39105a7f09ce3ffed5b93 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-02-07VPP stop verify runs without code change or trivial rebaseEd Kern1-0/+22
Change-Id: I6b42b128446e2e33f3b49d4b637ad49ff8cda960 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-02-01Set reply-to to blankThanh Ha1-1/+1
We need to pass a blank string if we really want the setting to be blank. Change-Id: I91e498cdfa8be55b5deb0a8d309aaed2f9cf56a5 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2017-10-20Update build timeout values on all csit jobsPeter Mikus1-25/+0
Change-Id: Iccf1437a05623568c1199b947177fa7b71c62127 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-10-20Create new timeout wrapper for performence jobsPeter Mikus1-0/+25
Change-Id: Ic502821589ccff5290f97f9db7e177cedb76e91d Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-09-26Add global macro to enable the Naginator pluginVanessa Rene Valderrama1-0/+6
This change is to allow FD.io jobs to use the Naginator plugin and configure the number of retries after a failed build. Change-Id: I3a6ce27e60c4e052af2e1cca29d2bac55a2489f3 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-02-16Add packer verify and merge jobsAnil Belur1-0/+57
- These jobs have been ported from ODL releng - Jobs are designed to build new images first of every month - Verify runs a packer validation on the templates and verifies the syntax of provision scripts - Merge job is designed to trigger a build only relevent to the change rather than building all images Change-Id: I882fdf9d60a49221e1d9f50809c5fda1d8ebf4fb Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2017-01-31Csit-Honeycomb job for 17.01selias1-0/+8
- relates to https://gerrit.fd.io/r/4933 Change-Id: I78e0a28d529b3308d0acd6a11a45ff49b24a8919 Signed-off-by: selias <samelias@cisco.com>
2016-12-21Global log shipping macroVanessa Rene Valderrama1-0/+31
Ship all console and environment logs as well as anything in $WORKSPACE/archives to https://logs.fd.io. All text files will be pre-compressed for quicker serving from the log hosting which is configured to properly serve the files so they will expand properly in the browser. Change-Id: Ica8be1ca9af82dfc64d063a5d3fa30be3585253c Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-12-19Configure OpenStack minions for single useVanessa Rene Valderrama1-0/+4
This converts OpenStack Jenkins build minions as single use minions Change-Id: I6cad42d8b7d6e770a312135938a3ab8d073a07b8 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-12-02Add a IS_CSIT_JOB parameter with the goal of having CSIT just build packagesEd Warnicke1-0/+8
Change-Id: Ie3892c5b5e90af1083889aa8166cee4e022873bc Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-11Add a vpp-verify-{stream}-{os}-clang jobEd Warnicke1-0/+8
Fixed to have vpp clang job use make verify Change-Id: Ic59713a72af156fd9a32ac9f43e96c36b3ece6b6 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-11Revert "Add a vpp-verify-{stream}-{os}-clang job"Ed Warnicke1-8/+0
This reverts commit 61f46f6471fac2bdb09c6e9fb23eaceb4122a433. Change-Id: I85b5a1244feaeacded793c83191b5a21d8948dd7 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-11Add a vpp-verify-{stream}-{os}-clang jobEd Warnicke1-0/+8
Change-Id: Ic71029c36a2f3bab65e9bcd36a711b4d2b417577 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-10-24Add parameter to allow options for mvn executableVanessa Rene Valderrama1-0/+9
Some jobs are hard coding the maven path. This change allows a for a variable or hard coded path Change-Id: I583abbdeec277f8eafc8c368e93a23cbebb79b73 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-10-20Adding new wrapper to allow no-activity timeoutsVanessa Rene Valderrama1-5/+12
Adding fdio-infra-wrappers-non-activity-timeout wrapper to allow additional configuration timeout options. Configured CSIT timeouts using the new wrapper. Change-Id: I40b3288b788f1acc2c5682adb0b544af85d75335 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-10-20Merge "No-activity timeout for csit-perf jobs"Ed Warnicke1-0/+8
2016-10-17No-activity timeout for csit-perf jobsMiroslav Miklus1-0/+8
Absolute timeout is not an option for csit perf jobs, but we can declare perf job as dead if there is no console output for some time. Change-Id: If075c2be8a139c859f80bc55e64e9dac291ac9f8 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-10-14Use fdio-infra-wrappers to simplify common wrapper useThanh Ha1-1/+4
- Move timestamps to fdio-infra-wrappers as every job is using it - Move ssh-credentials into fdio-infra-wrappers as every job is using it - Ensuer ALL jobs are using fdio-infra-wrappers (this should be policy!) FD.io has this convenient wrapper called fdio-infra-wrappers which is a simple macro to configure common wrapper functionality that all jobs should be configured with all jobs are already configuring it too so simplify job configuration and ensuring we don't have duplication everywhere. Less lines of code and more code reuse makes for easier maintenance :) Change-Id: Ia73b09dfc556f684c43853797231da84a9c517af Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-10-07Force Jenkins to not change votes on mergeAndrew Grimberg1-6/+11
Make sure that Jenkins doesn't try to change it's vote during any phase of a merge job. Change-Id: I072e7b73a9a6a68e744527d27094b4a0126076e6 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-10-07Force Jenkins to not change it's votes for mergeAndrew Grimberg1-0/+3
Jenkins by default resets the votes it has in Gerrit to 0. Gerrit 2.13 has problems with this and causes us to catch an error. As such, we should make sure that Jenkins does not try to change its votes when it starts during a merge job. We assume that any merge run will be with our normal mechanically set votes. Change-Id: Ia45eb7ca605ee904f211065a2877fc0cc1ee5f42 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-10-07Skip voting on merge jobsAndrew Grimberg1-0/+5
As of Gerrit 2.13 we get an error if we vote on a change that has been merged. As the votes couldn't be before, nor now, changed after Gerrit submission has been merged (closed) there is no point in voting. NOTE: This is putting back the recently reverted change Change-Id: Ie14c308f198a79f23d717e07cb762fae6bf985f4 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-10-07Revert "Skip voting on merge jobs"Andrew Grimberg1-5/+0
This reverts commit 65f5b4a0f8344eb4ab7badc382999036e3209da2. Change-Id: I0e1d6d021f079dbf3374f368f07bd481a7cc33e2 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-10-07Skip voting on merge jobsAndrew Grimberg1-0/+5
As of Gerrit 2.13 we get an error if we vote on a change that has been merged. As the votes couldn't be before, nor now, changed after Gerrit submission has been merged (closed) there is no point in voting. Change-Id: I267cc0db3ca8515056bd0c428ffbdbc7879509c1 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-09-06Configuring minions for single useVanessa Rene Valderrama1-0/+13
Change-Id: I6b517099f68c71f40ccf2bb192544a8035c7389f Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>