summaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
2018-05-26Revert "Remove noop for tag creation."Aric Gardner1-1/+1
This reverts commit dc4b9d1ad316e9055ccb3767c4572ad22cbe43a5. Change-Id: I3bec4ef84dcb7e56d80b4df78b487f7caa931f3e
2018-05-26Remove noop for tag creation.Aric Gardner1-1/+1
This script is tested, and should now be allowed to create tags. Change-Id: Ia87341c9cb6397700442a11c38d502fed8dd4743 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-05-26Merge "Verify and Create Tags from Release File"Aric Gardner3-32/+93
2018-05-25Verify and Create Tags from Release FileTrevor Bramwell3-32/+93
Updates the releases verify and merge jobs to check release files for the following: - commits exist - commits are on stable-branch If both of these criteria are met and the patch is merged, the repos will be tagged at the specified commits and pushed. If a repo has already been tagged but not on stable-branch the job will not exit, but will warn that the commit doesn't exist on the correct branch. This is because tags should never be removed. This adds an additional script 'repos.py' that provides an quick interface for pulling out information from release files, along with the script 'release-status.sh' for checking the status of tags. NOTE: The branch creation script has been disabled until it can be reworked. Change-Id: I498bc74f20aa50d2bd321771f20a77905b246399 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-25Apex: More CSIT promotion fixesTim Rozet3-7/+14
Changes-Include: - Use 2 computes as required by ODL team - Get rid of checking JOB_NAME var for csit, and simply check if PROMOTE var is True - Pass PROMOTE all the way from top-down into deploy job - Use CSIT network settings file when deploying CSIT Change-Id: I56d953516ce690749634b474e553baad3a762364 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-25Merge "Apex: Fix blocking on promote and artifact ver"Trevor Bramwell3-6/+9
2018-05-25Merge "Fix armband functest job suite name"Trevor Bramwell1-1/+1
2018-05-25Apex: Fix blocking on promote and artifact verTim Rozet3-6/+9
Change-Id: I274dba9398ef549d20fa106eda88abebfbf48c9e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-25Apex: migrate promote jobs to use virtual deploy jobTim Rozet2-42/+8
This job already does deploy and test, so just use that rather than triggering seperate jobs. Change-Id: Ie62088f434de93ebb7638ba4d4ef8791ac01aa1f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-25Fix armband functest job suite nameDelia Popescu1-1/+1
Change-Id: Iea3269a25e88790d335456508ad0de904ed4706e Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-05-24Merge "Cleanup functest jobs"Trevor Bramwell1-29/+0
2018-05-24Apex: Always build RPM in build jobTim Rozet1-2/+2
Change-Id: Ie2d0a730801bc7f5bb784ee90e60e8e30562ef47 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-24Apex: Fix scenario name for promote jobsTim Rozet2-10/+16
Promotion name for master OS should just be nofeature. Change-Id: I60086e94bbef87a1754f4f2cc00d096454668ded Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-24Apex: fix unbound variable in artifact dlTim Rozet1-3/+2
We still need VERSION_EXTENSION var to figure out which RPM files to remove on the slave. Change-Id: I03cc9c3318edec9860c8f3ffc01db52517a644b4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-23Cleanup functest jobsDelia Popescu1-29/+0
Remove unnecessary arm-daily testsuite arm-daily does not require special builder or parameter changes Increase job-timeout to fit both architectures JIRA: FUNCTEST-917 Change-Id: Id31709740906fa9ea3918c8694d04fd88191f03f Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-05-22Apex: enable RPM build on master verifyTim Rozet3-9/+14
Now that we only build apex python rpm in master, we can afford to build RPM everytime and ensure it builds correctly. Change-Id: Ica1efe1cc2c3db0dfe1c5677b5ab47df121c0966 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-21Apex: Updates daily master scenario namesTim Rozet2-4/+26
Change-Id: I881634a57f1d28cfcc3346476dc095873c014a22 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-21Merge "xci: Enable verification of changes coming to prototypes folder"Markos Chandras1-2/+0
2018-05-21Fix Manual Triggering of Docker JobsTrevor Bramwell1-1/+1
When manually triggering a docker job (or even through timed builds), GERRIT_EVENT_TYPE will not get set. This does gets set when the job is triggered by a Gerrit event (ex: ref-updated, comment-added). Specifying the variable lookup to default to nothing (ex: "${FOO:-}") should allow non-Gerrit triggered jobs to complete successfully. Change-Id: Ic1ba8ebef0967b0f20a2d6385ce0e0b4876901dc Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-18Update Global-JJB to masterTrevor Bramwell1-0/+0
This is a temporary update until a new release of Global-JJB comes out. Updating Global-JJB to a commit on master past 0.19.2 which allows jjb jobs to run on the same builder without tripping over each other. The related Gerrit change for the current tip of master can be seen here: https://gerrit.linuxfoundation.org/infra/#/c/10717/ Change-Id: I4205fc74d8af805ac29ac93d4c5b033c145a00b9 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-18xci: Enable verification of changes coming to prototypes folderFatih Degirmenci1-2/+0
Change-Id: I62095327781153eaff81999f5f3fdddc652dc550 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-18openci: bugfix: Fix var names and event headersFatih Degirmenci3-4/+5
Change-Id: I449037e727abed363766ca47a26ea3d2bd6abf4e Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-18Merge "openci: Add OPNFV scenario composition and test jobs for the demo"Fatih Degirmenci3-0/+202
2018-05-18Merge "openci: Further filter triggering events based on scenario for ODL ↵Fatih Degirmenci2-0/+4
and ONAP"
2018-05-18Merge "Fix Docker Container Build Tagging"Aric Gardner1-1/+8
2018-05-18openci: Add OPNFV scenario composition and test jobs for the demoFatih Degirmenci3-0/+202
The flow is - OPNFV compose job gets triggered by the ArtifactPublishedEvents published by ODL and ONAP autorelease jobs, composing the corresponding scenarios. At the end, CompositionDefinedEvent is published for the composed scenario. - OPNFV test job gets triggered by the CompositionDefinedEvents published by OPNFV compose jobs, deploying and testing the composed scenario. At the end, ConfidenceLevelModifiedEvent is published for the tested scenario which can be consumed by ODL and/or ONAP Jenkinses, doing further promotion. Change-Id: Ice1736d65f3f2b26e849302fec2bb0c579da4a1c Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
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: Further filter triggering events based on scenario for ODL and ONAPFatih Degirmenci2-0/+4
Change-Id: If05f7922d5888775eff113877b8bdd319948956a Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
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