summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-05-16Use correct server-name PrimaryThanh Ha1-3/+3
Perhaps 'Default' was the name at one point and then got renamed to 'Primary' and we forgot to update the configuration. Default is not currently a valid server-name so resulted in Gerrit Trigger not watching any valid Gerrit instance for the event-stream. The current name of the Gerrit server-name is 'Primary' as defined in Jenkins > Manage Jenkins > Gerrit Trigger. Change-Id: Ic9481b53424d6fc8358131d384157779a7753fb0 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-05-13Enable jobs for throttle branchesEd Warnicke1-0/+7
Change-Id: I70cd178f52480bcab2bd84b7bdb967f1799acdbd Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-12Machinery for multi-os build.Ed Warnicke1-0/+8
This patch should provide machinery for multi os build It also provides machinery for multi-branch build Change-Id: I29db20f159f18af2cab512ab6df6b03d9f81ff15 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-29Make robot framework output-path parametrizable.Stefan Kobza1-1/+1
csit-vpp-verify-virl job is blocked now, because output-path is not a variable in robot-framework macro. This patch changes that. Change-Id: I1c31342af6dfae66ce3e21e751470e476cc5be39 Signed-off-by: Stefan Kobza <skobza@cisco.com>
2016-03-09Fix typo for git-scmThanh Ha1-1/+1
Change-Id: Ibb8ddd694792ba82545d9d0abc25f3080ee6c3b3 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-02-23Add manual triggered csit-vpp-functional-hw-tb2 job.Stefan Kobza1-0/+15
This job would be create from the same template as csit-vpp-functional-virl, but for the time being this have to be manually triggered. I didn't find a way how to parametrize gerrit-trigger-patch-submitted so I've created gerrit-trigger-manually-triggered. Change-Id: I2d4f2c6bb8ebb94cd8563132feac765d46e1b56d Signed-off-by: Stefan Kobza <skobza@cisco.com>
2016-02-18Enable robot framework jenkins plugin.Stefan Kobza1-0/+7
Change-Id: I506ea3dd431b559c3ce1e756f2310103da05024d Signed-off-by: Stefan Kobza <skobza@cisco.com>
2016-02-12Fix ci-management-verify not testing the submitted commitThanh Ha1-1/+1
The ci verify job was testing branch HEAD which doesn't help us verify code submissions. This patch fixes it so that we pass a parameter {commit} to represent the branch or commit that we should run against. Sets the merge job to run against $ZUUL_BRANCH while the verify job runs against $ZUUL_COMMIT. Change-Id: I9516bfc14a9981c5e8348e0a6324a3c15b5afc32 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>