summaryrefslogtreecommitdiffstats
path: root/jjb/joid
AgeCommit message (Collapse)AuthorFilesLines
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU2-6/+4
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-26clean and fix build errorNarinder Gupta1-16/+3
This patch is cleanup of non required code and fix the EOF issue ssen in deployment. Change-Id: I55fb52bbc7d4048975fc0ce0b29caca8e4137d2d Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-25recover MAAS 2.0Narinder Gupta1-8/+15
code has been modified to recover the environment for MAAS 2.0 as new deployment failed for MAAS 2.0 Change-Id: I80a0fab8f01a5600b04c7e95509f88617783215e Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-24Merge "added support for kubernetes job."Morgan Richomme2-38/+107
2017-01-20[macro] property logrotateRyota MIBU2-0/+4
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-19added support for kubernetes job.Narinder Gupta2-38/+107
This patch is to add support for Kubernetes jobs in JOID. We have added os (openstack) or k8 (kubernetes) during deployment. Change-Id: Ide33cb3c1d1d0e8c4b99af2acd721c0a41073dd6 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-09Remove colorado jobs and create danube jobsFatih Degirmenci2-35/+35
Danube stream for the projects with daily jobs is disabled. Danube stream for the projects without daily jobs is left as enabled as there will be no changes coming to danube branch until branch is created. Dovetail, Apex and Fuel jobs have not been updated yet. Change-Id: Ice39826c8f829157fa864370557837290838f634 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-19fix ci jobs (daily && no branch param)Ryota MIBU1-0/+2
Change-Id: Iad856adf625a56c2f5c366fb414746d1e9e16691 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU2-18/+5
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-01Restrict Gerrit Triggers to OPNFV Gerrit ServerTrevor Bramwell1-0/+1
With the addition of ODL and OpenStack Gerrit servers, it's important we don't generate additional noise by accidentally building against these Gerrit servers when we don't intend to. JIRA: RELENG-179 Change-Id: Ia163c6c3eaa58e8e21dc6548a839062fcbde39ed Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-09-27joid: Rename daily job templates file accordinglyFatih Degirmenci1-0/+0
Change-Id: I21a1c3f2c8670f4ed2894f6c7d0f8372fc006b8b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-24joid: Enable colorado triggers and disable jobs of inactive podsFatih Degirmenci1-35/+58
Change-Id: I1ddd6e59c7b55cd5107122a97652da97abb8ca97 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-23Adjust build blocker for fuel and joidFatih Degirmenci1-2/+2
Change-Id: Id33731d5c4d4b76450598ed2f19cd2b14097d748 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-23joid: Create jobs for ColoradoFatih Degirmenci2-3/+20
Please note that the triggers for colorado haven't been created yet. It will be done once the basics in place. This change depends on Id5eb8c406d34ff9f3ac59f73243034cbf49b23f0 Change-Id: I637f9cb54858f4b63c0b44478dfcafa30dde97a1 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-22[Joid] Recover config UBUNTU_DISTRO=trusty for onos-sfczhangyuanyou1-0/+5
Because it was deleted by https://gerrit.opnfv.org/gerrit/#/c/18937/ Change-Id: Ic276ef624edbdb46801262e197c309a678b3ed1b Signed-off-by: Yuanyou Zhang<zhangyuanyou@huawei.com>
2016-08-19Merge "[JOID] Update Joid deploy script"Fatih Degirmenci1-109/+24
2016-08-19joid: Create jobs for orange-pod1 and remove brahmaputra jobsFatih Degirmenci1-131/+25
Change-Id: I61b68a7db60193f5525de7151e43b7752e5dd604 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-18Added job for nosdn noha scenario and autorun it daily.Narinder Gupta1-2/+38
This patch will enable the job for nosdn noha scenario and marked as auto build for that scenario. Currently I am running this scenario and its passing. But no subsequent daily runs are happening. This patch will fix this. Change-Id: I7246e04458ec3e809a9bc4b76ceffb6d4c8742aa Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-08-18[JOID] Update Joid deploy scriptDavid Blaisonneau1-109/+24
Change-Id: I96e28cf416c7a8e1b1200677eb974ff0075aec03 Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
2016-08-11scheduling CI for lxd jobs as functest supports lxd nowNarinder Gupta1-5/+5
Change-Id: I87e58ba9d56be1d09dceab5b1066f04a1e5f5d79 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-08-08rename the maas installation script.Narinder Gupta1-1/+1
Change-Id: I0296579255492f68782216d0f4ae5fc7682f2109 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-07-25enable onos-sfc-ha daily deployment.zhangyuanyou1-2/+30
Change-Id: I9e7033eb9c64e9f922f61e4dca20be1de8f06383 Signed-off-by:Yuanyou Zhang<zhangyuanyou@huawei.com>
2016-07-20change the region from Canonical to default regionOneNarinder Gupta1-1/+6
Enabling the onos with sfc for trusty only. Change-Id: I052eb82b2d4ccccad958c5564ede53a923e00aa5 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-07-20Merge "RELENG-131 Add CI task for joid-os-onos-sfc-ha."mei mei1-0/+8
2016-07-19joid: Revert the order of functest and yardstickNarinder Gupta1-2/+2
Change-Id: I70318bc7c7197fdd67dc42fcd13e0d529b3f018d Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-07-18joid: Update verify jobs and introduce Multijob and verify phasesFatih Degirmenci2-61/+220
This is the first step towards improved Commit Gating and this change does not impact the current way of working for Joid. This means that no additional verification activities will be done for changes/patches coming to Gerrit for Joid as of yet. Because of this, the execute shells contain nothing but simple echos. Functest job hasn't been created/connected either since we don't do full commit verification. This change - switches verify job to Multijob project type since Freestyle does not support aborting all the downstream jobs when a new patch for same change comes to Gerrit for existing change. When Gerrit Trigger aborts the upstream verify job that was triggered for the previous patch of the same change, Multijob then aborts the downstream phase jobs, not leaving orphaned phase jobs behind. - creates phase jobs to do limited verification activities in order to provide more granular feedback. Earlier phases fail the patch verification in order to provide feedback for the failed phase rather than whole basic, deploy, and smoke test. Change-Id: If6723b06bb937329e104ca85865b0d750c45e91e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-14RELENG-131 Add CI task for joid-os-onos-sfc-ha.zhangyuanyou1-0/+8
Change-Id: Ifd51f2923b8f79e8400e05661e68db585d118399 Signed-off-by: Yuanyou Zhang <zhangyuanyou@huawei.com>
2016-07-01Set build description to node name for easy identificationFatih Degirmenci1-0/+4
Change-Id: Iaa1b15badf9750f47a68612f4dae48952de3a3d4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-06-30Add Project Option to Throttle PropertyTrevor Bramwell1-0/+2
This is a required field for JJB > 1.4 Change-Id: Ifb6f5d4b3a28f2d85f546151ca9aca4a4061f3ef Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-06-30joid: Change the order of functest and yardstickFatih Degirmenci1-3/+3
Change-Id: I85a36f8241a99f3365b6eacbb323a0bf6e851916 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-06-28read vip from phase1 services.Narinder Gupta1-1/+1
This change is to read the keystone vip from phase1 services now. Change-Id: I27c32e6c49e7b6213ed15b10341bb4909c2141f6 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-06-17modfiied to include the feature.Narinder Gupta2-2/+78
This patch will enable the feature for joid deployment. Few of them are LXD, DPDK etc. Change-Id: Icb863ddbbf3ffb4bb8f015ce77bef0b9dc5d10ca Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-06-15Tie all verify/merge/build to opnfv-build-ubuntuFatih Degirmenci1-1/+1
We reconfigured centos build server now and it is important to know which jobs require centos and which ones ubuntu. The machines with ubuntu were labelled with opnfv-build previously, preventing us from keeping track of which projects require what OS. This tries to solve that. Change-Id: I1fb2912ec49f5bc2781853e500508d9992d59fbb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-06-09joid: Enable job concurrency and set job block levelFatih Degirmenci1-1/+3
Change-Id: I964ac47ca07975e07894a0dc0c9bae60c8f597f7 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-06-07modified to use mitaka by default rather than Liberty.Narinder Gupta1-23/+0
This patch to modify the default deployment to mitaka. Ans also disable the creation of external network as now joid deploy.sh will create the external network itself based on labconfig.yaml Change-Id: I282eaa803af47f04348532ffd1a7a5990d50d380 signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-06-03joid: Disable brahmaputra jobs, enable master jobsFatih Degirmenci1-6/+6
Change-Id: Ic97671af63b9405fab8fd99de758170095c57934 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-26joid: Switch using labels instead of slavesFatih Degirmenci1-58/+41
This change switches joid jobs to use labels instead of tying jobs to slaves. The changes in detail are: - Joid jobs can roam on any pod that is labelled with joid-baremetal and joid-virtual. - Above means that there is no branch/pod allocation anymore. - New jobs are created in order to get rid of pod names from them and just use baremetal or virtual in names. - Old jobs are removed. - Related test jobs are updated. - POD specific parameters are updated and instead of adding pod specific parameters, they now become parameters for all the pods labelled with same label. It is not a problem at the moment as both Intel PODs (pod5, pod6) have same parameters but a different pod with different parameters will require alignment between pods. Job structure remains same; one parent job calling 3 downstream jobs: deploy, functest, yardstick. Change-Id: I30d270cd05ba3756f6f161d65ee5160eab6b80f4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-24[joid] correct auth url with good admin portDavid Blaisonneau1-1/+1
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
2016-05-17[joid] enhance adminrcDavid Blaisonneau1-1/+8
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
2016-05-12Merge "Rename Orange Jenkins Slaves"Fatih Degirmenci1-2/+0
2016-05-12include the mutiple Ubuntu distro and architectureNarinder Gupta1-2/+2
for mitaka we can enable trusty and xenial and wip to include arm64 and power8 architecture as well. Change-Id: I7624367fcb6464d9619097775448b9b768a73025 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-05-12Rename Orange Jenkins SlavesFatih Degirmenci1-2/+0
orange-test1 -> orange-pod5 orange-fr-pod2 -> orange-pod2 Change-Id: Id5a31db98d349bef654fb59ab03e52e6cc50611f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-04Rename Juniper Jenkins SlaveFatih Degirmenci1-2/+0
juniper-us-test-1 -> juniper-pod1 Change-Id: I6f36dbee3159f1c53252dba8a82bd87f7ea1a427 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-03-08joid: Disable triggers on intel-pod6 during troubleshootingFatih Degirmenci1-3/+3
Change-Id: I131bc19e95f19c97c8083b30bd5faae30c3e1a66 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-03-01joid: remove orange pod2 from CI triggersDavid Blaisonneau1-3/+3
Change-Id: I577dd5e4e6222b756491f6a0ec8bbaa3e9320cc0 Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
2016-02-18joid: Adjust scenario/POD/branch assignments and triggers accordinglyDavid Blaisonneau1-15/+108
The scenario/POD/branch assignments and triggers are adjusted as below - os-nosdn-nofeature-ha: intel-pod5: stable/brahmaputra, 02:00 daily orange-pod2: stable/brahmaputra, 02:00 daily intel-pod6: master, 02:00 daily - os-odl_l2-nofeature-ha: intel-pod5: stable/brahmaputra, 10:00 daily orange-pod2: stable/brahmaputra, 10:00 daily intel-pod6: master, 10:00 daily - os-onos-nofeature-ha: intel-pod5: stable/brahmaputra, 18:00 daily orange-pod2: stable/brahmaputra, 18:00 daily intel-pod6: master, 18:00 daily Change-Id: I01bf530d704ee899e8127c5f98688315b4c9b170 Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com> Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-02-15joid: Disable os-onos-nofeature-ha trigger on pod5Fatih Degirmenci1-1/+1
Troubleshooting is ongoing so the automatic triggers are disabled until the work is done. Change-Id: I6394c3caf61d40f3b73e9728ed3655c99e09f2ac Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-01-30[onos] set timer for joid+onos deployment jobmeimei1-1/+21
Change-Id: If9ba3f14f47d52630774479250c4e4e4881e84aa Signed-off-by: meimei <meimei@huawei.com>
2016-01-29joid: remove ceph_disk_controllers param and correct ext-net name replaceDavid Blaisonneau1-9/+2
Change-Id: I86a4b8164b3d371ff7b4e8e340f7ae924c52f70c Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
2016-01-29joid: correct sdn controller address error for ODLDavid Blaisonneau1-1/+1
Change-Id: I2344610c2451995a06375e00df9bb1c72ce270d1 Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>