summaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
2018-05-18Merge "Fix Docker Container Build Tagging"Aric Gardner1-1/+8
2018-05-18Merge "Disable Daisy Jobs"Aric Gardner4-8/+8
2018-05-18Disable Daisy JobsTrevor Bramwell4-8/+8
All ZTE Pods are offline so there is nowhere for these to run. Disabling until resources are available again. Change-Id: Ic57d9d690622ad6e019fa90c512bf3f1a4992fc6 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-18openci: Add event publisher to ODL and ONAP Autorelease jobsFatih Degirmenci3-8/+86
Change-Id: I1efdff3dbcfdcc9b0820b43d982f686bbe1db4a7 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-18Merge "[Dovetail] Changing the path of the ssh key in pod.yaml for yardstick"mei mei1-2/+3
2018-05-18Merge "openci: Add skeletons for ODL autorelease and promotion jobs"Fatih Degirmenci1-0/+71
2018-05-18Merge "openci: Add skeletons for ONAP autorelease and promotion jobs"Fatih Degirmenci1-0/+71
2018-05-17Fix Docker Container Build TaggingTrevor Bramwell1-1/+8
Builds triggered by tags have a typo in the extraction of the tag name. This change includes a method for retriggering a tag build with the comment "retag TAG_NAME". Change-Id: Ie035e0922f8c073d3e360917ea7ccd6fa76d7b20 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-17openci: Add skeletons for ONAP autorelease and promotion jobsFatih Degirmenci1-0/+71
The jjb will be proposed to ONAP Releng once it is verified on OPNFV Jenkins. The flow is - ONAP autorelease job publishes an ArtifactPublishedEvent to make the availability of a new version that is tested known to the world - ONAP promote job gets triggered by a ConfidenceLevelModifiedEvent published by OPNFV CI to promote autorelease artifact further. The prototype doing realistic stuff will be built on top of these jobs and - parse the triggering event to find the location of autorelease artifact - download the artifact for composing ONAP scenario - run the deployment and testing of ONAP scenario Please note that this change just adds the basic structure for the jobs to share the idea. Further changes will add triggering, message costruction, and publishing. Change-Id: Ib8939ab44d664ff71f472db66a0e2171ed7b56c5 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-17openci: Add skeletons for ODL autorelease and promotion jobsFatih Degirmenci1-0/+71
The jjb will be proposed to ODL Releng once it is verified on OPNFV Jenkins. The flow is - ODL autorelease job publishes an ArtifactPublishedEvent to make the availability of a new version that is tested known to the world - ODL promote job gets triggered by a ConfidenceLevelModifiedEvent published by OPNFV CI to promote autorelease artifact further. The prototype doing realistic stuff will be built on top of these jobs and - parse the triggering event to find the location of autorelease artifact - download the artifact for composing ODL scenario - run the deployment and testing of ODL scenario Please note that this change just adds the basic structure for the jobs to share the idea. Further changes will add triggering, message costruction, and publishing. Change-Id: I51d7e0cfcb5f2552fcc9ac287ed12ed70f582895 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-17Remove reverify for opnfv-lint and gate-securityAric Gardner2-4/+0
This is temporary, using reverify does not work in global-jjb for for now remove surrounding jobs so that users dont think its working. I've been told we can add reverify into global-jjb after that is done, I will re-add these. Change-Id: I533ff7c15d55d2630504ca18416583c167228c0d Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-05-17Bump JJB Build Timeout to 60 MinutesTrevor Bramwell1-1/+1
Without caching enable or when updating the JJB version all jobs get reconfigured, which can take upwards of 30 minutes. Setting this to a higher value should keep the build from being failed while still running. Change-Id: Ie2ed11da919ed9114700423591ebfaef94e61c88 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-17Merge "Update postbuildscript syntax for JJB 2.0.3"Trevor Bramwell5-31/+65
2018-05-17Update JJB to 2.0.3 and Global-JJB to 0.18.0Trevor Bramwell2-1/+1
Also updates global-jjb to 0.18.0 as it includes fixes to Postbuildscript required by the update to JJB 2.0.3. Link to Global-JJB 0.18.0 commit: https://gerrit.linuxfoundation.org/infra/#/c/10101/ Change-Id: I246e60d6c63cf6ba40aeba30d2a7e3985e57d5ad Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-17Update postbuildscript syntax for JJB 2.0.3Thanh Ha5-31/+65
JJB 2.0.3 changed the postbuildscript syntax a bit and requires changes so that they work properly with version 2.x of PostBuildScript plugin. This patch requires that Jenkins also be updated to install the 2.x release of PostBuildScript. Change-Id: I65e52c8d9b2efa38a3d16193c176c65e87e704c1 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2018-05-17[Dovetail] Changing the path of the ssh key in pod.yaml for yardstickGeorg Kunz1-2/+3
The ssh key is already available in the userconfig directory mounted by Dovetail inside the Yardstick container. Change-Id: Ic72473e9e47b625fbf4a0f8a8fb140aaed72b69a Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-05-17xci: Fix scenario determination for changes coming to releng-xciFatih Degirmenci1-25/+42
Earlier change took the possibility of dynamically determining the default scenario. This change puts part of it back which is based on the changed installer and/or other changed files. Change-Id: Ie6d9a9b0622ac4ae5ff0cf0e679fd26beed51747 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-17Merge "Combine generic and external scenario determination to one"Fatih Degirmenci1-51/+29
2018-05-17Merge "jjb: xci: Do not check for the WORKSPACE variable"Fatih Degirmenci1-2/+2
2018-05-17Combine generic and external scenario determination to oneFatih Degirmenci1-51/+29
Previously we were determining the impacted generic scenario by looking into changeset in releng-xci. Since we moved the scenarios to releng-xci-scenarios, this is not needed anymore and same function can be used for determining the scenario. Change-Id: I06a65599e03dff4016d0d9d78116e505d84b5061 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-17jjb: xci: Do not check for the WORKSPACE variableMarkos Chandras1-2/+2
The WORKSPACE variable is always set so we do not need to check it in the script. Change-Id: I33d2e17b9a4a7b262c781c7442cc69c2433f8729 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-16Rename files under jjb from 'yml' to 'yaml'Trevor Bramwell110-2/+2
global-jjb only supports the .yaml file ending for jjb jobs. Instead of waiting for a release we're going to rename the files. Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-16Use Global-JJB for Releng merge/verify JobsTrevor Bramwell2-116/+9
Replaces the releng templates: - releng-verify-jjb - releng-merge-jjb With the job group '{project-name}-ci-jobs' which includes: - releng-jjb-verify - releng-jjb-merge - releng-jenkins-cfg-merge - releng-jjb-deploy JIRA: RELENG-397 Change-Id: If8160a67d8d665dcb8f86b6649288a710cc0fe13 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-16Merge "Clone Releng with submodules to include jjb"Trevor Bramwell2-25/+13
2018-05-16Clone Releng with submodules to include jjbAric Gardner2-25/+13
Needed for JJB verify and Merge to work. These jobs are going away, but first we need to get a verified +1 from jenkins Also remove releng-comment-jjb its unused Change-Id: Ice2ad625f87f1d9c841979ede4bb1943110691c8 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-05-15Update global-jjb to v0.17.0Trevor Bramwell1-0/+0
Since the commit submodule commit can't be set to an explicit tag, please see this link[1] for verification that 90e4e825b3d0ac5959122c50e457419ad0cfe137 is v0.17.0. [1] https://gerrit.linuxfoundation.org/infra/#/c/9386/ JIRA: RELENG-398 Change-Id: I9d4e90cc073c8b9cb741735a2ba582a2c7882087 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-15Merge "Disable git tagging during Jenkins git clone"Trevor Bramwell1-0/+4
2018-05-15Merge "jjb: xci: xci-run-functest: Switch to dynamic inventory"Markos Chandras1-1/+1
2018-05-15jjb: xci: xci-run-functest: Switch to dynamic inventoryMarkos Chandras1-1/+1
We no longer have static inventory files per installer and flavor so we need to switch to the dynamic inventory option. Change-Id: I5b8bf800264b1b297b61d09d010552cd22636627 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-14Disable git tagging during Jenkins git cloneTrevor Bramwell1-0/+4
Even with per-build-tag set to false, JJB 1.6.2 does not seem to remove 'Create tag for each build' from the git-scm settings. Though the option is deprecated it is still supported, so setting both of these should disable tagging when Jenkins clones a git repo. Change-Id: I5977149ad581df67d938ce2b46794d47c5e06fe3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-14Merge "Specify CI jobs time intervals for armband"Aric Gardner1-6/+6
2018-05-11jjb: xci: Connect new releng-xci-scenarios repositoryMarkos Chandras2-2/+2
The scenarios have been moved from the releng-xci to releng-xci-scenarios repository so we should connect Jenkins to that repo as well. Change-Id: Ifcb4f02b8532dd94c8a622185328f7316e726c6b Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-10Yardstick needs export EXTERNAL_NETWORK to envxudan1-0/+1
Change-Id: I380008fe2cadbce8f6b7b1f84c9f3bf720df485e Signed-off-by: xudan <xudan16@huawei.com>
2018-05-10jjb: xci: xci-start-new-vm: Fix passing YAML var files to AnsibleMarkos Chandras1-1/+1
When passing a YAML variables file to Ansible, we need to prefix it with '@'. Change-Id: I884f4698a1033cca9ad55bf3592e1dd817273f81 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-09jjb: xci: xci-start-new-vm: Fix gerrit variable for git SHAMarkos Chandras1-2/+2
The gerrit variable for the git SHA is GERRIT_PATCHSET_REVISION instead of GERRIT_CHANGE_ID. We also need to export the XCI_ANSIBLE_PARAMS variable. Change-Id: I206820f1155a4876fb7d87cc0b5ae1b8afb06bd6 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-09Specify CI jobs time intervals for armbandCharalampos Kominos1-6/+6
Since there is only one CI pod available for armband at the moment, we instruct CI to run only one job per day. Four jobs for master branch and 3 for stable branch. Change-Id: I645a98d922c00b2237cb5aeeb280d00ecdf0e288 Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
2018-05-09Merge "jjb: xci: xci-start-new-vm: Create scenario overrides file"Markos Chandras1-3/+12
2018-05-08Bugfix: Dovetail failed to upload results to artifactsxudan1-2/+4
That's mainly because of that 1. The owner of all results files are root:root 2. Sometimes there are some files that can only be read by root 3. User jenkins failed to upload these files Solutions: 1. Change the owner to be jenkins:jenkins 2. Remove these files which are useless for users Change-Id: I0b5e72e8d5045c7e0d64e32a13ba559612460a84 Signed-off-by: xudan <xudan16@huawei.com>
2018-05-08jjb: xci: xci-start-new-vm: Create scenario overrides fileMarkos Chandras1-3/+12
Pass scenario information using the new override mechanism. This patch depends on the matching releng-xci change https://gerrit.opnfv.org/gerrit/#/c/56643/ Change-Id: Ib8473249e424f259f5757ebdaed7d73fa4b0adce Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-08Merge "JJB 2.0.X does not allow scenario to be passed here"mei mei1-6/+2
2018-05-07Merge "Disable vnf runs for aarch64"Aric Gardner1-2/+2
2018-05-04Merge "Disable Snaps Fraser Verify Job"Trevor Bramwell1-1/+1
2018-05-04Merge "[yardstick] debug dump image ID"Trevor Bramwell1-0/+1
2018-05-04Disable vnf runs for aarch64Delia Popescu1-2/+2
Functest VNF tests are not adapted for aarch64. The tests can be reactivated when they are adapted to execute on aarch64. JIRA: FUNCTEST-964 Change-Id: I2413a6eff831c8dd2751b7bc73ad583f55a00dcf Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-05-04Merge "fuel, armband: basic healthcheck in verify jobs"Trevor Bramwell2-68/+42
2018-05-04JJB 2.0.X does not allow scenario to be passed hereagardner1-6/+2
With this change releng/jjb/* now passes on: Jenkins Job Builder version: 2.0.1 and 1.6.2 Error: TypeError: write() argument must be str, not list Explanation: in jjb 1.6.2 it would allow the list in and then the job would convert the list into a literal string of "['var1', 'var2']" - 'compass-{scenario}-{pod}-daily-{stream}' Can have scenario passed, {scenario} is part of the job name so it knows which scenario to add. - 'compass-deploy-{pod}-daily-{stream}' cannot have scenario passed, there is not one job generated per scenario so its tryting to add "['senario1', 'scenario2', 'etc']" into the {scenario} value, which is not allowed. This worked on jjb 1.6.2 becasue we overwrite the scenario information later: - trigger-builds: - project: 'compass-deploy-{pod}-daily-{stream}' predefined-parameters: | DEPLOY_SCENARIO={scenario} jjb/armband/armband-ci-jobs.yml is very simillar to this job and passes a default, which works, so that is what I have done here: - string: name: DEPLOY_SCENARIO default: 'os-odl-nofeature-ha' addendum: removed scenario: '{scenario}' from 'compass-{scenario}-{pod}-daily-{stream}' even though it is valid, Trevor rightly pointed out that there is nothing to consume this value. Change-Id: I134b2bd5888dcdfa5b768a7db2bdc98ad32ec28e Signed-off-by: agardner <agardner@linuxfoundation.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-02Apex: Fix resources/images directory usage with deployTim Rozet1-3/+2
Change-Id: If50ad310049edca687da8e0acf412a7e1eacd2b6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-02Apex: disable iso verify for master branchTim Rozet1-0/+5
Change-Id: I46753983e1fb37300df70700c474c3dda3532ffa Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-02Apex: Update for master upstream deploymentsTim Rozet5-57/+99
Change-Id: I92635178ddc354dd7773cd372a34d46f5ee0bf2a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-02Add Bottlenecks Fraser Docker Push JobYang Yu1-0/+4
Change-Id: I4d6c4015ca36f743dadbb6524a1ca8d5619ce3d6 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>