summaryrefslogtreecommitdiffstats
path: root/jjb/global/releng-macros.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-02-05Refactor qtip jobsYujun Zhang1-2/+1
- rename jobs to verify and validate - add job for validate-setup - move all scripts to helpers folder - use auto variables to merge job templates Change-Id: Ie1199e35e48b6a95861d9b7281fa7bdcc94212d9 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-03[doctor] enable joid jobsRyota MIBU1-0/+6
This patch enables doctor joid jobs for verification. This patch also makes sure there is no log files before starting tests. Change-Id: Idee794490c4ce794f3e7b7621fffcd5edeed9c83 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-6/+6
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-30Revert "[doctor] not to reset verified status with experimental jobs"Yujun Zhang1-1/+0
This reverts commit 75c49787bd6cc357d44769e30a2b6d9832eca765. `silent-start` didn't resolve the issue of losing verified status when experimental jobs are triggered. Change-Id: Ib0f2b05594cac2cd378321a84b42873b16808b7b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-25dovetail: Create jenkins jobs to deploy compass colorado and run dovetail ↵MatthewLi1-0/+5
from master JIRA: DOVETAIL-180 Change-Id: I745e4747418a880a635922ea7a0cc5d6ec09e872 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-20[macro] property logrotateRyota MIBU1-0/+9
This patch defines 'logrotate-default' property and replace 'logrotate' by it, as 'logrotate' is deprecated on jenkins>=1.637 . Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-20[doctor] fix doctor profiling jobRyota MIBU1-0/+24
Doctor profiling jobs have to be executed on ool-* pods, since we need pre-deployed OpenStack for those jobs. This patch also: - merge job templates for verify job and profiling job - move experimental trigger to jjb/global/releng-macros.yml Change-Id: If0283a734bec77d3f1bbab72d169f44ff1cd1c99 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-05Merge "cleanup releng-macros"Ryota Mibu1-23/+28
2017-01-04cleanup releng-macrosRyota MIBU1-23/+28
- sort in execution order - remove unused macro ('weekly-trigger-disabled') Change-Id: If72f2554985e8e632ad731c3dc17a23fbc8cd630 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-03Add YAMLLint for static checkKingPoo1-2/+3
JIRA: OCTO-160 1)Install yamllint first in case pod didn't install. If installed, it would info "already satisfied". 2)delete virtualenv of releng_yamllint. Current CI commit gate is simple, just have flake8 check in part of projects, it's better to apply more check tools to more projects. Yaml files could be checked by YAMLLint when the project is configed in releng. YAMLLint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc. Change-Id: I8591385ed32942e0af7f7afdde435313af5707e5 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-12-24Add YAMLLint for static checkKingPoo1-0/+33
JIRA: OCTO-160 Current CI commit gate is simple, just have flake8 check in part of projects, it's better to apply more check tools to more projects. Yaml files could be checked by YAMLLint when the project is configed in releng. YAMLLint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc. Change-Id: Ie90afd4a07ad10cc723f31efd35e5605f765583c Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-12-19fix git-scm-gerrit by adding $GERRIT_REFSPECRyota MIBU1-0/+1
Change-Id: I5ead532eb282cea6da683fefe7ad850e3889a263 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19fix ssh-credentials to static paramRyota MIBU1-5/+1
Change-Id: I1f11e5db53f8902ce16cab00452d8d350fd7081e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU1-15/+18
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-11-29Rearrange Releng Job and Parameter FilesTrevor Bramwell1-0/+357
Individual project jobs can now be tested using: jenkins-jobs test -r jjb/global:jjb/$project - Rename '.yaml' files to '.yml' so they get checked by the verify-releng.sh script, and update the script to include checking of '.yaml' files. - Move parameter and macro files under new 'global' directory. Change-Id: I6b74f5d8af2bced3256a7f4a33983df5310511a2 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>