infra/cicd.git
4 years agoFIX: Sent Slack notification when Jenkins job is back to normal. 27/1627/1
robert.tomczyk [Wed, 10 Jul 2019 17:22:49 +0000 (18:22 +0100)]
FIX: Sent Slack notification when Jenkins job is back to normal.

Change-Id: I3d38eb39179e87cab694d56b1fcb273385002bec

4 years agoAcumos: Fix rebase job template 02/1602/1
robert.tomczyk [Tue, 9 Jul 2019 08:06:34 +0000 (09:06 +0100)]
Acumos: Fix rebase job template

Change-Id: Ic4295f43f2dd2ffd219015003c6e7da41222a770

4 years agoOpenDaylight: Fix rebase job 00/1600/1
robert.tomczyk [Mon, 8 Jul 2019 21:21:31 +0000 (22:21 +0100)]
OpenDaylight: Fix rebase job

Change-Id: Ie38c142d7c5f8210689d3b7cac116f7cd8f6f4dd

4 years agoGlobal: Sent Slack notification when Jenkins job is back to normal. 92/1592/2
robert.tomczyk [Mon, 8 Jul 2019 08:45:45 +0000 (09:45 +0100)]
Global: Sent Slack notification when Jenkins job is back to normal.

Change-Id: Iea83a29ddf597388238a56b43845b92d214fea02

4 years agoOpenDaylight: Improve jenkins jobs for OpenDaylight projects 82/1582/1
robert.tomczyk [Fri, 5 Jul 2019 08:52:58 +0000 (09:52 +0100)]
OpenDaylight: Improve jenkins jobs for OpenDaylight projects

- Mirror branches from OpenDaylight upstream project to Nordix.
- Do not force the git user.name to be the gerrit id.
  Git authorship can be independent from the
  gerrit review ownership now.
- Cache the repository on the Jenkins slave nodes
  when rebasing repositories.
- Make sure the commit hash in the local repo is the same
  as in nordix Gerrit and the same as the commit hash
  in the upstream gerrit.
- Decrease number of jobs required for project in Jenkins

Change-Id: Ia0bb2094375ec3ccf14af28ce65f09ad0613fb3f

4 years agoONAP: Add ci-management onap repository 55/1555/2
robert.tomczyk [Wed, 3 Jul 2019 07:24:09 +0000 (08:24 +0100)]
ONAP: Add ci-management onap repository

Change-Id: I9de352257ee60c17d1b7dbc17e6dffec30f2bdec

4 years agoONAP: Add Dublin branch to integration repo 35/1535/1
robert.tomczyk [Mon, 1 Jul 2019 09:08:30 +0000 (10:08 +0100)]
ONAP: Add Dublin branch to integration repo

Change-Id: I6749d38c8ca252dbfdfe31bbee27a1c726e3d95f

4 years agoAcumos: Introducing namespace, adding new projects 16/1516/3
robert.tomczyk [Fri, 28 Jun 2019 09:53:01 +0000 (10:53 +0100)]
Acumos: Introducing namespace, adding new projects

In order to avoind JJB project clash we need to have
namespace for acumos. The following projects are added:
- acumos/ci-management
- acumos/workbench
- acumos/workbench/cmlpstudio
- acumos/workbench/zeppelin

Change-Id: I688b0d553aa8ffddd5675abb913fad944205cbdb

4 years agoReplacing the Infra build server for jjb builds 07/1507/1
robert.tomczyk [Thu, 27 Jun 2019 13:24:09 +0000 (14:24 +0100)]
Replacing the Infra build server for jjb builds

Change-Id: Ief6d1d4415481d3b3e036cf663461d33de090ee8

4 years agoReplacing the Infra build server. 03/1503/2
robert.tomczyk [Thu, 27 Jun 2019 11:24:50 +0000 (12:24 +0100)]
Replacing the Infra build server.

The existing Infra build server is running out
of disk space. It needs to be replaced with
new build server provisioned by OpenStack plugin

Change-Id: I7b2ce7393ea400d0fbbbcf23c3ef5aad163c6d0a

4 years agoONAP: Creating ONAP repositories under 'onap' namespace 94/1494/4
robert.tomczyk [Wed, 26 Jun 2019 16:56:11 +0000 (17:56 +0100)]
ONAP: Creating ONAP repositories under 'onap' namespace

For the ONAP repositories that have open reviews pending
in the Nordix Gerrit we have to setup separate jobs
to keep both old and new repos in sync with ONAP gerrit
until the reviews are closed for old reositories.

-policy/pap
-policy/apex-pdp
-appc
-dcaegen2
-dcaegen2/collectors/datafile
-dcaegen2/services/pm-mapper
-dmaap/datarouter
-integration
-integration/csit
-sdc
-so
-so/docker-config

Change-Id: I5f4fb802c136382be5456ac4ee2e3702ffa73f47

4 years agoONAP: Moving ONAP repositories under onap namespace 93/1493/1
robert.tomczyk [Wed, 26 Jun 2019 15:42:59 +0000 (16:42 +0100)]
ONAP: Moving ONAP repositories under onap namespace

- policy/api
- policy/models
- ccsdk/cds
- dcaegen2/platform/blueprints
- oom
- oom/offline-installer

Change-Id: I2d77ec848344ddeccb368c7594e9a2b9f90392b7

4 years agoDisable concurrent execution for push-upstream jobs 80/1480/3
robert.tomczyk [Wed, 26 Jun 2019 10:10:59 +0000 (11:10 +0100)]
Disable concurrent execution for push-upstream jobs

Parallel push from nordix can triggered a race condition in
upstream gerrit that will resulted in a duplicated review
instead of a single review for the first push and the second push.

Change-Id: I613531329aa4185d3f21f1c42c8d031e6cf95b4e

4 years agoONAP: Moving ONAP policy repositories under onap namespace 79/1479/2
robert.tomczyk [Wed, 26 Jun 2019 09:56:17 +0000 (10:56 +0100)]
ONAP: Moving ONAP policy repositories under onap namespace

- aai/oom
- aai/schema-service
- appc/cdt
- appc/deployment
- appc/parent
- ccsdk/apps
- dcaegen2/collectors
- dcaegen2/deployments
- dcaegen2/services/prh
- dmaap/buscontroller
- dmaap/dbcapi
- portal
- sdnc/oam
- testsuite
- vid

Change-Id: I8238bb8525e3a6a4505bede4cfbc03bc5436e8c6

4 years agoONAP: Moving policy repos under 'onap' namespace 67/1467/1
robert.tomczyk [Tue, 25 Jun 2019 09:27:00 +0000 (10:27 +0100)]
ONAP: Moving policy repos under 'onap' namespace

Projects migrated:
- policy/engine
- policy/common
- policy/core
- policy/distribution
- policy/docker
- policy/drools-applications
- policy/drools-pdp
- policy/gui
- policy/oom
- policy/parent
- policy/pdp
- policy/xacml-pdp

Change-Id: I63723988b5e84e68c4e140554daa65ca925de9cf

4 years agoDisable verify-centos and periodic jobs 66/1466/2
Fatih Degirmenci [Tue, 25 Jun 2019 09:14:22 +0000 (11:14 +0200)]
Disable verify-centos and periodic jobs

The jobs are disabled in order to reduce the queue while
verifying changes. Centos will be looked into once things
stabilize on ubuntu.

Change-Id: If4f2209d9da5523dca12ff013cfc8c71353618a6

4 years agoACUMOS: Improve jenkins jobs for Acumos projects 56/1456/4
robert.tomczyk [Mon, 24 Jun 2019 08:43:47 +0000 (09:43 +0100)]
ACUMOS: Improve jenkins jobs for Acumos projects

- Mirror branches from Acumos upstream project to Nordix.
- Do not force the git user.name to be the gerrit id.
  Git authorship can be independent from the
  gerrit review ownership now.
- Cache the repository on the Jenkins slave nodes
  when rebasing repositories.
- Make sure the commit hash in the local repo is the same
  as in nordix Gerrit and the same as the commit hash
  in the upstream gerrit.
- Decrease number of jobs required for project in Jenkins

Change-Id: I29ea8b9b2573b5d894246f47b537aeb61027f6f8

4 years agoOPENDEV: Parse json using jq tool 51/1451/1
robert.tomczyk [Fri, 21 Jun 2019 16:45:34 +0000 (17:45 +0100)]
OPENDEV: Parse json using jq tool

Change-Id: I864a0a229728337246a18aa28ddcff57481f1e50

4 years agoONAP: Add new projects from ONAP upstream 46/1446/3
robert.tomczyk [Thu, 20 Jun 2019 18:47:01 +0000 (19:47 +0100)]
ONAP: Add new projects from ONAP upstream

- dcaegen2/platform/plugins
- ccsdk/platform/plugins

Change-Id: Icb15cd244d95998da9043e0a27bbae0f124e3934

5 years agoOPENDEV: Add new projects, update rebase.sh job 30/1430/2
robert.tomczyk [Wed, 19 Jun 2019 12:41:02 +0000 (13:41 +0100)]
OPENDEV: Add new projects, update rebase.sh job

- openstack/os-traits
- openstack/os-resource-classes

Change-Id: Ia65db71e89802cb517654cb4d9233c604d6669c4

5 years agoOPENDEV: Update jobs to track all OpenDev branches 28/1428/1
robert.tomczyk [Wed, 19 Jun 2019 10:11:11 +0000 (11:11 +0100)]
OPENDEV: Update jobs to track all OpenDev branches

The rebase and push-upstrem jobs are updated to track
and sync with Nordix gerrit all OpenDev branches.

Change-Id: I6c5acdfeeb6aa6cb333bb9d266cb3839f04d8228

5 years agoOPENDEV: Add additional parameters to SCM module 24/1424/2
robert.tomczyk [Tue, 18 Jun 2019 16:20:26 +0000 (17:20 +0100)]
OPENDEV: Add additional parameters to SCM module

The projects should have control about their workspace.
Following parmaters are introduced for git-scm and git-scm-gerrit
to control what should be done with git repository when the
jenkins job is executed:
- wipe_workspace: Wipe out repository and force clone (default: true)
- clean_before: Clean up the workspace before every checkout
  by deleting all untracked files and directories (default: false)

Change-Id: I6216334251d9af8c0c6b9818b2ef3280d6196ef5

5 years agoOPENDEV: TEST-Update SCM to checkout master branch 13/1413/2
robert.tomczyk [Tue, 18 Jun 2019 10:53:22 +0000 (11:53 +0100)]
OPENDEV: TEST-Update SCM to checkout master branch

It looks like SCM can't determinate which branch to checkout
when we specify 'refs/heads/*' we can specify 'refs/heads/master'
as the script will checkout correct branch.

Fix project parameter for push-upstream: opendev/{project}

Change-Id: I7b320a63611ead0e3693e3edc886739c1424b024

5 years agoOPENDEV: TEST - Update rebase job to track and sync all upstream branches 09/1409/8
robert.tomczyk [Fri, 14 Jun 2019 16:08:58 +0000 (17:08 +0100)]
OPENDEV: TEST - Update rebase job to track and sync all upstream branches

Change-Id: I9c26c34d2375a6a0f0de392ef3d893cd42c4d8c3

5 years agoOPENDEV: Add patchset-created trigger for push upstream jenkins job. 05/1405/2
robert.tomczyk [Fri, 14 Jun 2019 10:51:51 +0000 (11:51 +0100)]
OPENDEV: Add patchset-created trigger for push upstream jenkins job.

Updating all remaining OpenDev repositories with this change.

Change-Id: Ib22df459acd28350968c0a9405dd3b11719eba0c

5 years agoOPENDEV: Add patchset-created trigger for push upstream jenkins job. 00/1400/1
robert.tomczyk [Fri, 14 Jun 2019 09:42:22 +0000 (10:42 +0100)]
OPENDEV: Add patchset-created trigger for push upstream jenkins job.

Change-Id: I10b919e92255731ba45f8f5e536811b76c31d100

5 years agoChange ccsdk jobs to add Dublin branch 77/1377/1
ottero [Thu, 6 Jun 2019 15:24:02 +0000 (16:24 +0100)]
Change ccsdk jobs to add Dublin branch

Change-Id: I99107966cd671269f0be5a9f10f79c50a7d5e620

5 years agoONAP: Add Dublin branch to doc project 59/1359/1
robert.tomczyk [Wed, 5 Jun 2019 15:36:45 +0000 (16:36 +0100)]
ONAP: Add Dublin branch to doc project

Change-Id: I5b721b720d9dd388f44cadcfa415f6de3551bad3

5 years agoONAP: Add rebase, push-upstrea jobs for doc project under new onap namespace. 47/1347/2
robert.tomczyk [Wed, 5 Jun 2019 11:03:09 +0000 (12:03 +0100)]
ONAP: Add rebase, push-upstrea jobs for doc project under new onap namespace.

Change-Id: I2e0b352931dccf580171e011111b25cdcca98ae7

5 years agoSimplify OpenDev push-upstream job 13/1313/6
Balazs Gibizer [Thu, 30 May 2019 08:58:51 +0000 (10:58 +0200)]
Simplify OpenDev push-upstream job

This patch adjust the OpenDev push-upstream jenkins job to follow the
following rules:
* do not change the commit that is being upstreamed
* do not force the git user.name to be the gerrit id. Git authorship can
  be independent from gerrit review ownership. Query Nordix Gerrit about
  the user name instead.
* consider 'no new changes' error from OpenDev Gerrit as success as it
  means the current patch is up-to-date upstream

Change-Id: Ib7a0d9d6052db357148d07f57b141730b837055f

5 years agoOPENDEV: The openstack-dev/sandbox project renamed to opendev/sandbox in upstream 36/1336/1
robert.tomczyk [Mon, 3 Jun 2019 12:42:32 +0000 (13:42 +0100)]
OPENDEV: The openstack-dev/sandbox project renamed to opendev/sandbox in upstream

Change-Id: I2079fe81f7cfc0cddb0c81cb59bdbb9906458080

5 years agoOPENDEV TEST: Enable push-upstream test script for openstack-dev/sandbox project 34/1334/1
robert.tomczyk [Mon, 3 Jun 2019 11:59:17 +0000 (12:59 +0100)]
OPENDEV TEST: Enable push-upstream test script for openstack-dev/sandbox project

Change-Id: Id2f53e43cfa27443579dfb0e8601537030bb1b1e

5 years agoOPENDEV: Add rebase and push-upstream Jenkins jobs for the projects: 20/1320/2
robert.tomczyk [Thu, 30 May 2019 12:05:07 +0000 (13:05 +0100)]
OPENDEV: Add rebase and push-upstream Jenkins jobs for the projects:

 - openstack-python-novaclient
 - openstack-nova-specs
 - openstack-osc-placement
 - openstack-placement
 - openstack-project-team-guide
 - openstack-neutron-lib
 - openstack-neutron-specs
 - openstack-python-neutronclient
 - openstack-devstack
 - openstack-devstack-gate
 - openstack-tempest
 - openstack-tempest-lib
 - openstack-cinder
 - openstack-python-cinderclient
 - openstack-networking-l2gw
 - openstack-networking-l2gw-tempest-plugin
 - openstack-networking-bagpipe
 - openstack-networking-bgpvpn
 - openstack-networking-midonet
 - openstack-networking-odl
 - openstack-networking-sfc
 - openstack-neutron-fwaas
 - openstack-neutron-lbaas
 - openstack-neutron-tempest-plugin
 - openstack-neutron-vpnaas
 - openstack-requirements
 - openstack-releases
 - openstack-openstackclient
 - openstack-project-config
 - openstack-glance
 - zuul-project-config
 - zuul-zuul
 - zuul-zuul-base-jobs
 - zuul-zuul-jobs
 - opendev-base-jobs
 - opendev-project-config
 - openstack-aodh
 - openstack-ceilometer
 - openstack-grenade
 - openstack-heat
 - openstack-horizon
 - openstack-keystone
 - openstack-oslo-cache
 - openstack-oslo-concurrency
 - openstack-oslo-config
 - openstack-oslo-context
 - openstack-oslo-db
 - openstack-oslo-i18n
 - openstack-oslo-limit
 - openstack-oslo-log
 - openstack-oslo-messaging
 - openstack-oslo-middleware
 - openstack-oslo-policy
 - openstack-oslo-privsep
 - openstack-oslo-reports
 - openstack-oslo-rootwrap
 - openstack-oslo-serialization
 - openstack-oslo-service
 - openstack-oslo-tools
 - openstack-oslo-upgradecheck
 - openstack-oslo-utils
 - openstack-oslo-versionedobjects
 - openstack-oslotest
 - openstack-osprofiler
 - openstack-trove
 - openstack-openstacksdk
 - openstack-keystoneauth
 - openstack-os-vif
 - openstack-rally
 - openstack-rally-openstack

Change-Id: I2f28faa748d56beeeffc23e3c6b02dfe61a0217d

5 years agoOPENDEV: Add rebase, push-upstrea jobs for openstack-dev/sandbox project 09/1309/1
robert.tomczyk [Wed, 29 May 2019 12:56:45 +0000 (13:56 +0100)]
OPENDEV: Add rebase, push-upstrea jobs for openstack-dev/sandbox project

Change-Id: I766f2ce31cdb7459e4e8ecd1f11006225cec7c14

5 years agoMoving opendev project under jjb directory 03/1303/1
robert.tomczyk [Tue, 28 May 2019 20:50:39 +0000 (21:50 +0100)]
Moving opendev project under jjb directory

Change-Id: Icca1c96dbfaee055563a1b5710bb674c6462474f

5 years agoOpenDev: Introducing OpenDev to Nordix 96/1296/1
robert.tomczyk [Tue, 28 May 2019 10:43:02 +0000 (11:43 +0100)]
OpenDev: Introducing OpenDev to Nordix

Adding initial OpenStack repositories:
- Openstack Neutron
- Openstack Nova

Change-Id: I4f2505d10d0879500182320a972b4957a5e32711

5 years agoONAP: Add Dublin branch for so project 91/1291/1
robert.tomczyk [Fri, 24 May 2019 14:18:42 +0000 (15:18 +0100)]
ONAP: Add Dublin branch for so project

Change-Id: Ic91211aa23ad969280e0ca4d1533a3e7dfddcd3e

5 years agoONAP: Add rebase, push-upstrea jobs for policy-oom project 81/1281/1
robert.tomczyk [Thu, 23 May 2019 13:07:18 +0000 (14:07 +0100)]
ONAP: Add rebase, push-upstrea jobs for policy-oom project

Change-Id: Ied9d6ae1b561acc128c199f8766083d865476a3d

5 years agoOpendaylight: Introducing Opendeyight to Nordix 76/1276/2
robert.tomczyk [Wed, 22 May 2019 17:19:17 +0000 (18:19 +0100)]
Opendaylight: Introducing Opendeyight to Nordix

Adding the rebase and push upstream for the ODL projects:
- controller
- intergration/test
- mdsal
- netconf

Change-Id: I64a434d6ae596b63f6c323073acea58f34e66a14

5 years agoFix skip-vote by not using gerrit-trigger macro 61/1261/1
Fatih Degirmenci [Wed, 22 May 2019 09:04:34 +0000 (11:04 +0200)]
Fix skip-vote by not using gerrit-trigger macro

It seems gerrit-trigger skip-vote is not overriden correctly
so this change rolls the changes made as part of [1] and instead
uses full gerrit-trigger configuration in cloud-infra-verify-engine
jjb.

[1] https://gerrit.nordix.org/#/c/1256/

Change-Id: I29e76c627a80819f86677515e8d508cc974ebdd5

5 years agoMerge changes from topic 'add-odl-gerrit'
Fatih Degirmenci [Tue, 21 May 2019 20:48:26 +0000 (20:48 +0000)]
Merge changes from topic 'add-odl-gerrit'

* changes:
  Add change-merged trigger for ODL Gerrit
  Addd ODL Gerrit parameters to global jjb macros

5 years agoMerge "Acumos: Add jobs for acumos-java-client project"
Robert Tomczyk [Tue, 21 May 2019 17:07:56 +0000 (17:07 +0000)]
Merge "Acumos: Add jobs for acumos-java-client project"

5 years agoMove skip-vote from global macros to job templates 56/1256/1
Fatih Degirmenci [Tue, 21 May 2019 12:29:55 +0000 (14:29 +0200)]
Move skip-vote from global macros to job templates

We want some jobs to be run in none-voting fashion such as
cloud-infra-centos while the work is going on with them.

This change moves skip-vote setting into the job templates
so we can control it per job rather than globally.

Change-Id: Ic654181fc66eafae0079e97b405a94f71a68c25e

5 years agoAdd change-merged trigger for ODL Gerrit 52/1252/1
Fatih Degirmenci [Tue, 21 May 2019 10:18:01 +0000 (12:18 +0200)]
Add change-merged trigger for ODL Gerrit

Change-Id: I4a2b7c5d7f4f80172ae22f240301e9d295725ed8

5 years agoAddd ODL Gerrit parameters to global jjb macros 51/1251/1
Fatih Degirmenci [Tue, 21 May 2019 10:14:29 +0000 (12:14 +0200)]
Addd ODL Gerrit parameters to global jjb macros

Change-Id: I320360138310b1d5bd43a890cb89086f762cb2d8

5 years agoAcumos: Add jobs for acumos-java-client project 48/1248/1
robert.tomczyk [Tue, 21 May 2019 06:56:15 +0000 (07:56 +0100)]
Acumos: Add jobs for acumos-java-client project

Change-Id: I3e48b2f906dee296cc84a3f80982bfb6095acfc0

5 years agoAcumos: Add jobs for portal-marketplace project 28/1228/1
robert.tomczyk [Thu, 16 May 2019 21:28:04 +0000 (22:28 +0100)]
Acumos: Add jobs for portal-marketplace project

Change-Id: Iadeaf1d76894e14e4471958025b2042ba658cbaa

5 years agoUpdate .gitignore 19/1219/1
Fatih Degirmenci [Thu, 16 May 2019 11:54:41 +0000 (13:54 +0200)]
Update .gitignore

Change-Id: I13f59324cd3f7bf0deef98c499843936e5ac927c

5 years agoAcumos: Add jobs for face-privacy-filter project 00/1200/1
robert.tomczyk [Wed, 15 May 2019 08:35:01 +0000 (09:35 +0100)]
Acumos: Add jobs for face-privacy-filter project

Change-Id: Ia020eb0c4e4a6896ab9bff276e6ab7ff3dfdd56b

5 years agoAdd push,rebase,verify jobs for Dublin branch of sdnc/oam project 87/1187/1
robert.tomczyk [Mon, 13 May 2019 14:21:24 +0000 (15:21 +0100)]
Add push,rebase,verify jobs for Dublin branch of sdnc/oam project

Change-Id: I3ad81f37bf4da69925fcbd88049a490eee343791

5 years agoAdd push,rebase,verify jobs for Dublin branch of dmaap/datarouter and integration... 79/1179/1
robert.tomczyk [Mon, 13 May 2019 08:58:28 +0000 (09:58 +0100)]
Add push,rebase,verify jobs for Dublin branch of dmaap/datarouter and integration/csitc projects

Change-Id: I86c051d99191ea9afc3db09491e9a1c92dc141bc

5 years agoMerge "Fix the build blocker in verify scenario job"
Fatih Degirmenci [Thu, 9 May 2019 15:12:25 +0000 (15:12 +0000)]
Merge "Fix the build blocker in verify scenario job"

5 years agoFix the build blocker in verify scenario job 68/1168/1
Fatih Degirmenci [Thu, 9 May 2019 15:11:20 +0000 (17:11 +0200)]
Fix the build blocker in verify scenario job

Change-Id: Ifbccd9f2d0a319feb30e9c5266e3f49b5c6ee9f2

5 years agoMerge "Add push and rebase jobs for Dublin branch of sdc project"
Conor Ward [Thu, 9 May 2019 15:05:36 +0000 (15:05 +0000)]
Merge "Add push and rebase jobs for Dublin branch of sdc project"

5 years agoAdd push and rebase jobs for Dublin branch of sdc project 67/1167/1
robert.tomczyk [Thu, 9 May 2019 14:16:58 +0000 (15:16 +0100)]
Add push and rebase jobs for Dublin branch of sdc project

Change-Id: I92c3d5c1b77f60c539dbd9ebe8b33ec6ce92d357

5 years agoFix build blockers due to introduction of centos support 66/1166/1
Fatih Degirmenci [Thu, 9 May 2019 13:21:22 +0000 (15:21 +0200)]
Fix build blockers due to introduction of centos support

Change-Id: I627d4bcabbb4a5e65e0f6ae10d4804b969f8c99a

5 years agoRefactor jobs for introduction of Centos7 support 63/1163/4
Fatih Degirmenci [Thu, 9 May 2019 10:50:05 +0000 (12:50 +0200)]
Refactor jobs for introduction of Centos7 support

engine is currently being updated to introduce support for Centos7.
During that work, engine code has been refactored, aligning how things
are called and done when it comes to various configuration options based
on the distribution.

Engine now uses single variable to do things based on the distribution
selected by user using -o argument. This argument can take either ubuntu1804
or centos7. Based on that, we determine DIB stuff using vars files per
distro. This results in the removal of DIB parameters from jobs and DISTRIBUTION
parameter and only use DISTRO parameter which is then used by engine
accordingly.

Centos7 jobs for engine and scenario verification are enabled in a none-voting
fashion so if they fail due to development work, they will not block a change
from being merged. Only Ubuntu1804 jobs will vote until we prove Centos7 works
for all the scenarios we have.

Periodic jobs for engine and scenario are not enabled for Centos7 in order not
to waste the resources we have until Centos7 is proving to be working.

Change-Id: I09ab256ce1904b2c9d7b968e3be399ff82c099aa

5 years agoUse common phase jobs for scenario periodic jobs 58/1158/1
Fatih Degirmenci [Wed, 8 May 2019 20:04:42 +0000 (22:04 +0200)]
Use common phase jobs for scenario periodic jobs

Change-Id: I4dd1c6eaee69f8790bcf82b9405edfbf37bf3dd4

5 years agoAbort the scenario periodic job in case of phase failure 57/1157/2
Fatih Degirmenci [Wed, 8 May 2019 20:00:36 +0000 (22:00 +0200)]
Abort the scenario periodic job in case of phase failure

Change-Id: I6cbf39355b9767137d3c304db7a715d585338814

5 years agoCreate periodic jobs for k8-multus-nofeature 56/1156/1
Fatih Degirmenci [Wed, 8 May 2019 16:12:42 +0000 (18:12 +0200)]
Create periodic jobs for k8-multus-nofeature

Change-Id: I471e357e21537023a84ed245af4c493707d695ee

5 years agoFix downstream jobs for scenario periodic jobs 54/1154/1
Fatih Degirmenci [Wed, 8 May 2019 16:07:55 +0000 (18:07 +0200)]
Fix downstream jobs for scenario periodic jobs

Change-Id: I02db71657c854bafac26a9d233a6c5492829e236

5 years agoCreate periodic jobs for scenarios 51/1151/7
Fatih Degirmenci [Wed, 8 May 2019 09:38:56 +0000 (11:38 +0200)]
Create periodic jobs for scenarios

These jobs will be used for promoting scenarios based on deployment
and testing on baremetal.

The jobs are currently triggered daily without checking if anything
changed. This will be updated and they will only be triggered if
infra/engine or infra/swconfig/<scenario> change so we build only
when something happens.

Promotion logic is not implemented yet and will be done in a separate
change.

In addition to periodic jobs for scenarios, trigger for baremetal
engine periodic job is switched to daily in order to free up time
for scenario periodic jobs.

And as usual, lots of duplications here and there and these will be
fixed by refactoring jobs and scripts once the basic pipeline is
in place.

Change-Id: Iaf0da0191fbde1abad60b5ca14dd191095fac761

5 years agoSet installer type for periodic-engine jobs 52/1152/1
Fatih Degirmenci [Wed, 8 May 2019 11:25:08 +0000 (13:25 +0200)]
Set installer type for periodic-engine jobs

Change-Id: I98bf52c09b92415d24bb2b69450110e055dc7517

5 years agoSet yardstick dispatcher for engine verify jobs 47/1147/1
Fatih Degirmenci [Wed, 8 May 2019 09:40:27 +0000 (11:40 +0200)]
Set yardstick dispatcher for engine verify jobs

Change-Id: Id082b41da571ec1ae9ec4a0abdbe3df05607a9e4

5 years agoSet yardstick dispatcher for testfw verify jobs 45/1145/1
Fatih Degirmenci [Wed, 8 May 2019 09:25:19 +0000 (11:25 +0200)]
Set yardstick dispatcher for testfw verify jobs

Change-Id: Ia0711aa1defad9b59eba60ccd91f8dc9243d8323

5 years agoEnable InfluxDB reporting for Yardstick on baremetal 42/1142/1
Fatih Degirmenci [Wed, 8 May 2019 08:54:02 +0000 (10:54 +0200)]
Enable InfluxDB reporting for Yardstick on baremetal

Change-Id: I1bb74f445ff25204f85a96f95e39486b244bf4e2

5 years agoEnable scenario input for engine verify jobs 34/1134/2
Fatih Degirmenci [Wed, 8 May 2019 06:56:52 +0000 (08:56 +0200)]
Enable scenario input for engine verify jobs

There will be cases where we need to specify the scenario to
verify the engine with. Most obvious example to this is while
adding newly implemented scenarios into sdf.yml.

Change-Id: Ia60ac75a9f65f9c29efd9804095f15e2338f9be9

5 years agoRemove trailing quote in build description 21/1121/1
Fatih Degirmenci [Tue, 7 May 2019 10:32:56 +0000 (12:32 +0200)]
Remove trailing quote in build description

Change-Id: I925f44c12afd0796cc03687664da1f076b6e596b

5 years agoUse uri for sdf and stop setting DEPLOY_SCENARIO parameter 20/1120/1
Fatih Degirmenci [Tue, 7 May 2019 09:20:53 +0000 (11:20 +0200)]
Use uri for sdf and stop setting DEPLOY_SCENARIO parameter

Change-Id: Ied5bd18d3b0090ee8d41810b4a68e30c5677b39f

5 years agoWrite change.properties file for scenario-verify jobs 15/1115/1
Fatih Degirmenci [Tue, 7 May 2019 09:00:11 +0000 (11:00 +0200)]
Write change.properties file for scenario-verify jobs

Change-Id: Ia27182ee90377c470835745763427e05e21a03d6

5 years agoFix scenario verification jobs 14/1114/2
Fatih Degirmenci [Tue, 7 May 2019 08:39:31 +0000 (10:39 +0200)]
Fix scenario verification jobs

Change-Id: I9d99820cd1d3493fa24d23b2af061fb455afa280

5 years agoCreate jobs to verify changes to scenarios 49/949/6
Fatih Degirmenci [Wed, 10 Apr 2019 07:36:03 +0000 (09:36 +0200)]
Create jobs to verify changes to scenarios

Currently only commit message based scenario determination is
in place. Determining the scenario based on the changed files
is yet to be implemented.

The scripts and the jobs will be refactored to increase the
reuse and reduce the duplication once the basic scenario verification
is working.

Change-Id: I4b936c955828f34f263e9825a465bba25e4688c1

5 years agoAdd push,rebase,verify jobs for Dublin branch of dcaegen2/collectors/datafile 08/1108/2
robert.tomczyk [Fri, 3 May 2019 14:52:16 +0000 (15:52 +0100)]
Add push,rebase,verify jobs for Dublin branch of dcaegen2/collectors/datafile

Change-Id: Ib611f2e4670b03d9d49e4226fbed2203ea27ce65

5 years agoAdd push,rebase,verify jobs for Dublin branch of dcaegen2/collectors/datafile 94/1094/1
robert.tomczyk@est.tech [Thu, 2 May 2019 12:52:03 +0000 (13:52 +0100)]
Add push,rebase,verify jobs for Dublin branch of dcaegen2/collectors/datafile

Change-Id: Iff614492391b7c3df75b7854368910a6d8135cfb

5 years agoAdd rebase/push jobs for ONAP project so/docker-config 88/1088/2
robert.tomczyk@est.tech [Thu, 2 May 2019 08:56:31 +0000 (09:56 +0100)]
Add rebase/push jobs for ONAP project so/docker-config

Change-Id: Ie83f387d16def5324cf14ed6423ddc593d4f30d4

5 years agoMerge "Create jobs for microservice-generation in Acumos project"
Robert Tomczyk [Wed, 24 Apr 2019 13:48:51 +0000 (13:48 +0000)]
Merge "Create jobs for microservice-generation in Acumos project"

5 years agoCreate jobs for microservice-generation in Acumos project 38/1038/2
robert.tomczyk@est.tech [Wed, 24 Apr 2019 06:56:12 +0000 (07:56 +0100)]
Create jobs for microservice-generation in Acumos project

Change-Id: I0bb5315c5443aa44f7af191818a9379a5f61e868

5 years agoSwitch to functest-smoke suite for periodic jobs 42/1042/2
Fatih Degirmenci [Wed, 24 Apr 2019 10:35:02 +0000 (12:35 +0200)]
Switch to functest-smoke suite for periodic jobs

Functest Smoke suite will be used for testing new versions of the
platform and the scenarios in order to decide if a certain version
should be promoted to the next level.

Change-Id: I1be4289b1d15e77d064033b8cba1f73546383e5e

5 years agoUse correct slave label based on deploy type 34/1034/2
Fatih Degirmenci [Tue, 23 Apr 2019 18:11:39 +0000 (20:11 +0200)]
Use correct slave label based on deploy type

Change-Id: If4e87b417a4164b2a58ef6e7fe84e281ebec574d

5 years agoConfigure jobs for baremetal deployments 33/1033/3
Fatih Degirmenci [Tue, 23 Apr 2019 15:54:19 +0000 (17:54 +0200)]
Configure jobs for baremetal deployments

Change-Id: Ie4a05e35c5109543fced915ef57ef678104d0624

5 years agoCreate jobs for license manager Acumos project 32/1032/2
robert.tomczyk@est.tech [Tue, 23 Apr 2019 13:07:28 +0000 (14:07 +0100)]
Create jobs for license manager Acumos project

Change-Id: If73613f5fad81c7171b78ef70fc785351d6dcf74

5 years agoCreate jobs for acumos/kubernetes-client 31/1031/1
Fatih Degirmenci [Tue, 23 Apr 2019 12:34:31 +0000 (14:34 +0200)]
Create jobs for acumos/kubernetes-client

Change-Id: Ie83d9c43a4b9c37a48e1107b7a41655754e99d9f

5 years agoMerge "Reenable yardstick for virtual deployments"
Fatih Degirmenci [Tue, 23 Apr 2019 10:25:03 +0000 (10:25 +0000)]
Merge "Reenable yardstick for virtual deployments"

5 years agoReenable yardstick for virtual deployments 29/1029/1
Fatih Degirmenci [Tue, 23 Apr 2019 09:02:28 +0000 (09:02 +0000)]
Reenable yardstick for virtual deployments

The failures were probably due to instability of the cloud so attempting to reenable Yardstick to see if that is the case. If things don't work as expected, Yardstick might need to be disabled again.

This reverts commit 676634418826beb45e728d3e0e34be97a7a69ebe.

Change-Id: Iff081a4b72237e60e14b4c3a37aa00ed47e0dcdd

5 years agoMove verify and periodic jobs to City Cloud instances 18/1018/1
Fatih Degirmenci [Thu, 18 Apr 2019 12:44:57 +0000 (14:44 +0200)]
Move verify and periodic jobs to City Cloud instances

Change-Id: I56dc843cedf5992d78bf930455aa4dcdd9edb341

5 years agoDisable yardstick for virtual deployments 09/1009/1
Fatih Degirmenci [Wed, 17 Apr 2019 19:05:12 +0000 (21:05 +0200)]
Disable yardstick for virtual deployments

Virtual deployments are not suited for running performance
tests as it can be seen in build history. As we are working
on bringing in baremetal in place, we can stop running yardstick
for virtual deployments which we already made it working.

Change-Id: Ic97fe7a60931e3b9e4b462fc9ff0134098e4ba27

5 years agoReduce ansible verbosity 08/1008/1
Fatih Degirmenci [Wed, 17 Apr 2019 17:20:21 +0000 (19:20 +0200)]
Reduce ansible verbosity

Change-Id: Ice1ce68656bbf14ae9011513a13da1ec0c3335a1

5 years agoMerge "acumos: Add jobs for federation project"
Fatih Degirmenci [Mon, 15 Apr 2019 06:42:08 +0000 (06:42 +0000)]
Merge "acumos: Add jobs for federation project"

5 years agoAdd ENGINE_ANSIBLE_PARAMS to enable debugging 80/980/2
Wenqing Gu [Fri, 12 Apr 2019 07:52:40 +0000 (09:52 +0200)]
Add ENGINE_ANSIBLE_PARAMS to enable debugging

We add -vvv to the periodical jobs so that we can see what is going
on for the issues.

Change-Id: I650ec786787a0fb4535b8be6f6be0a5c3507d1f1

5 years agoacumos: Add jobs for federation project 66/966/1
Fatih Degirmenci [Thu, 11 Apr 2019 13:58:03 +0000 (15:58 +0200)]
acumos: Add jobs for federation project

Change-Id: Ibff0a987919362299da7f13a8bc75969862e03a4

5 years agoGather macros used by jobs in same file 20/920/1
Fatih Degirmenci [Tue, 9 Apr 2019 06:39:51 +0000 (08:39 +0200)]
Gather macros used by jobs in same file

Nearly all the jobs use same macros so it is better to move
them to a file to ease the handling of them.

Change-Id: I46a9b1f7f1894b8994332f7dc42d7676043faf3b

5 years agoRemove incorrectly added files to git 17/917/1
Fatih Degirmenci [Mon, 8 Apr 2019 22:09:13 +0000 (00:09 +0200)]
Remove incorrectly added files to git

Change-Id: I445a3215e65db89e09fdfd13595e7fab6f92425a

5 years agobugfix: Use correct macros for cloud-infra-verify-engine jobs 16/916/1
Fatih Degirmenci [Mon, 8 Apr 2019 22:04:41 +0000 (00:04 +0200)]
bugfix: Use correct macros for cloud-infra-verify-engine jobs

Change-Id: Ib69dc57b7f7efbe4d88b5456ebce5818dfd8f8b3

5 years agoFix cloud-infra-periodic job build job macros 97/897/1
Fatih Degirmenci [Fri, 5 Apr 2019 17:12:59 +0000 (10:12 -0700)]
Fix cloud-infra-periodic job build job macros

Change-Id: Ia83660b1a5bf9619bb2a9d077dabe056ebafb3f9

5 years agoAdapt jobs to integrate yardstick 67/867/5
Fatih Degirmenci [Wed, 3 Apr 2019 18:18:28 +0000 (11:18 -0700)]
Adapt jobs to integrate yardstick

Integrating yardstick requires all jobs to be adapted accordingly.
- cloud-infra-test.sh: we now started using arguments to set values
explicitly.
- cloud-infra-periodic-engine.yaml: periodic runs now include yardstick
as well. it is ok to run yardstick kubernetes testing but it will probably
not work with an openstack deployment due to lower performance of virtual
deployments.
- cloud-infra-verify-engine.yaml: additional parameters are declared to
set variables explictly.
- cloud-infra-verify-test.yaml: we now verify changes coming to infra/test
repo for both of the test frameworks, functest and yardstick, to ensure
changes do not cause problems for any of these.

Change-Id: I2ec82bc7c0424ca190dcf51d032eec5e52855062

5 years agocloud-infra: Add periodic jobs to verify the stability 01/801/1
Fatih Degirmenci [Fri, 29 Mar 2019 12:30:28 +0000 (12:30 +0000)]
cloud-infra: Add periodic jobs to verify the stability

Change-Id: I3d96126b6a6da5655fd6612ef5b01a6672c9bab3

5 years agoAdd verify jobs for mirrored Acumos projects 66/766/2
Fatih Degirmenci [Wed, 27 Mar 2019 08:40:03 +0000 (09:40 +0100)]
Add verify jobs for mirrored Acumos projects

This change adds globals for Acumos due to lack of namespacing
imported projects.

Using Acumos globals, verify jobs are created for portal-marketplace
and security-verification repos.

Change-Id: I53c1c4fc14c521732d3229a7116bfa3b2ddfb108

5 years agoChdir before removing the dir we are in 42/742/1
Fatih Degirmenci [Mon, 25 Mar 2019 11:58:03 +0000 (12:58 +0100)]
Chdir before removing the dir we are in

Change-Id: Ibc1b2bb41cdeed0c11a7d2491aecce89063e1b12

5 years agoRemove WORKSPACE to ensure we can clone infra/test repo 35/735/1
Fatih Degirmenci [Mon, 25 Mar 2019 09:48:56 +0000 (10:48 +0100)]
Remove WORKSPACE to ensure we can clone infra/test repo

Change-Id: I36c4a62608bd22fcda34be31b1a1a9eb8272249f

5 years agoEnsure infra/test repo is cloned to WORKSPACE 33/733/1
Fatih Degirmenci [Mon, 25 Mar 2019 08:53:32 +0000 (09:53 +0100)]
Ensure infra/test repo is cloned to WORKSPACE

Change-Id: I042ccceee6f1d66f65ede057acbd41908e92b0cc