summaryrefslogtreecommitdiffstats
path: root/jjb/global
AgeCommit message (Collapse)AuthorFilesLines
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-21[opera] create opera verify/daily/build jobsmeimei1-0/+13
Change-Id: Ide4d879106683a9adab5ea4bf195982eadf6bcb8 Signed-off-by: meimei <meimei@huawei.com>
2016-12-19Merge "changing scenario to be able to run bgpvpn tests"Jose Lausuch1-1/+1
2016-12-19changing scenario to be able to run bgpvpn testsNikolas Hermanns1-1/+1
Change-Id: I12235e379620c55ade9af21fbb261c4c4be025d1 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-19Merge "Introduce new installer for Netvirt-ODL pipeline"Jose Lausuch1-1/+1
2016-12-19Introduce new installer for Netvirt-ODL pipelineNikolas Hermanns1-1/+1
The netvirt odl pipline has a special setup. Cause of that we add a new installer type. As elaborated with the Functest team we can then differentiate in functest what tests need to be executed for our special case. Change-Id: I8d7f18aef74b64ba46c6ed712ed5d58bd94c900e Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.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 MIBU2-20/+19
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-12-14bugfix: Correct the GIT_BASE for odl-netvirt slavesFatih Degirmenci1-1/+1
Change-Id: Ie3ebf31fda67ca04cc8f6ebb86a635ecb2e82d51 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-143rd party ci: Create functest jobs for netvirtFatih Degirmenci1-0/+19
This is probably not the best way to fix this and will hopefully be aligned with the rest. Change-Id: I0a7602c34c3b5941f36ae0073e7abfdf4b4a9cb4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-14Add functest to pipeline and add odl-netvirt-virtual-defaultsNikolas Hermanns1-6/+2
For the functest change we use the new cli which provides us with comma seperation of the test cases. Change-Id: Id6c88bd3e13ecce7bf5a738ead8ad98df4e00b5a Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-133rd party ci: Pass APEX_ENV_NUMBER to apex-create-vms jobFatih Degirmenci1-1/+1
Change-Id: I073a27045db93fcf3c9906abe1c18ad3d26743b2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-133rd party ci: Create job to bring up apex vmsFatih Degirmenci1-2/+16
This is a temporary fix in order to continue with the netvirt parts. Once Apex team finishes their work with APEX-360, this job will be aligned with it. The job to bring up apex vms will be run on ericsson-virtual5. The rest of the jobs will run on ericsson-virtual6, which is virtual jumphost for the apex environment. Apart from this, the job can now be (re)triggered by putting keyword opnfv-test on ODL Gerrit. There are still flaws and things to improve with the jobs such as finding out if the downloaded artifact is real or just a file not found response from ODL Jenkins and so on but these will be fixed later. Change-Id: Ie38e513df08c6c76eacee53a112c09171b1f6c7d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-123rd party ci: Override GIT_BASE to use ODL Gerrit for 3rd party ci jobsFatih Degirmenci1-0/+4
Change-Id: Ia105d32133c5b2df3bea363ff8cb94b2984fb172 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-123rd party ci: Create jobs for ODL netvirt testing in OPNFVFatih Degirmenci1-0/+6
This change creates basic job structure for ODL netvirt testing in OPNFV. The job should be triggered once the below job is completed https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon and fetch the artifact that is already built by the job. The build result codes OPNFV is interested in are SUCCESSFUL and UNSTABLE. Once the job gets triggered, the build URL will be fetched from ODL Gerrit using Gerrit REST API and the artifact will be downloaded from ODL Jenkins. The downloaded artifacts will then be installed on the Apex environment. There are 3 points that need to be highlighted. - The Apex environment will be created using the promoted snaphots/qcow2 images and already deployed VMs will be brought up. See below for the details. https://jira.opnfv.org/browse/APEX-360 - The hardcoded values in download-netvirt-artifact.sh are there to get the basics in place. (branch name, job name, etc.) Once things work as expected, they will be made dynamic. - A workaround using Gerrit REST API is put in place to get build number of the job netvirt-patch-test-current-carbon to download the artifact. The reason why we use Gerrit REST API is that the OPNFV Jenkins has an older version of Gerrit Trigger Plugin which lacks feature that injects review comments as environment variables. Upgrading Gerrit Trigger Plugin will not help either since OpenStack JJB does not support the new version of Gerrit Trigger Plugin and does not generate the new job XML. JIRA: RELENG-171 Change-Id: I7ff8c5809dcb2e8ffa5c7c5aeb9cdf70e4e7e2f4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-11-29Rearrange Releng Job and Parameter FilesTrevor Bramwell4-0/+1200
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>