infra/cicd.git
5 years agoORANSC: Introduce ssh keys with passphrase for push-upstream jobs 36/2536/2
robert.tomczyk [Wed, 9 Oct 2019 09:10:26 +0000 (10:10 +0100)]
ORANSC: Introduce ssh keys with passphrase for push-upstream jobs

Change-Id: Ib7f06824fb496905aee6ff4780cc10c1686bb87b

5 years agoMerge "ci: Synchronize Nordix repositories regularly with upstream"
Maël Kimmerlin [Fri, 4 Oct 2019 06:56:44 +0000 (06:56 +0000)]
Merge "ci: Synchronize Nordix repositories regularly with upstream"

5 years agoci: Synchronize Nordix repositories regularly with upstream 74/2374/9
Jaakko Kuuskoski [Fri, 27 Sep 2019 08:16:03 +0000 (11:16 +0300)]
ci: Synchronize Nordix repositories regularly with upstream

included repos (to be updated on need basis):
- Nordix/cluster-api-provider-baremetal.git
- Nordix/cluster-api.git
- Nordix/baremetal-operator.git
- Nordix/metal3-docs.git
- Nordix/metal3-dev-env.git

Change-Id: I00630c6b043be5be7143a5e0c5774c051c0a05b9

5 years agoONAP: Adding sdc/dcae-d repos to ONAP 00/2500/1
robert.tomczyk [Thu, 3 Oct 2019 13:51:48 +0000 (14:51 +0100)]
ONAP: Adding sdc/dcae-d repos to ONAP

Added jenkins rebase, java verify
- sdc/dcae-d/ci
- sdc/dcae-d/dt
- sdc/dcae-d/dt-be-main
- sdc/dcae-d/dt-be-property
- sdc/dcae-d/fe
- sdc/dcae-d/rule-engine
- sdc/dcae-d/tosca-lab

Change-Id: Ia3294f65eade5d001124622e264002022a665db4

5 years agoGEODE: Update branch to: release-nordix/1.10.0 97/2497/1
robert.tomczyk [Thu, 3 Oct 2019 11:24:59 +0000 (12:24 +0100)]
GEODE: Update branch to: release-nordix/1.10.0

Change-Id: I430fbff4da7248430c46ce52411fcb46be6d7266

5 years agoonap: Run healthcheck jobs sequentially 95/2495/1
Fatih Degirmenci [Thu, 3 Oct 2019 09:26:59 +0000 (11:26 +0200)]
onap: Run healthcheck jobs sequentially

Change-Id: Ia17a446f2ace0c4bfcd72309e28ab88ff8bad417

5 years agoMerge "Do not log ssh public key to console"
Fatih Degirmenci [Wed, 2 Oct 2019 19:36:23 +0000 (19:36 +0000)]
Merge "Do not log ssh public key to console"

5 years agoONAP: Adding AAF repos to ONAP 82/2482/2
robert.tomczyk [Wed, 2 Oct 2019 12:30:25 +0000 (13:30 +0100)]
ONAP: Adding AAF repos to ONAP

Added jenkins rebase, java verify
- and push-upstream jobs for:
- aaf/authz
- aaf/cadi
- aaf/inno
- aaf/luaplugin
- aaf/oom
- aaf/sms
- aaf/sshsm
- sdc/sdc-workflow-designer

Change-Id: Ia8d7a6fe5b4af23690fc12d4eb84e3632b6f9175

5 years agoDo not log ssh public key to console 83/2483/1
Fatih Degirmenci [Wed, 2 Oct 2019 12:33:05 +0000 (14:33 +0200)]
Do not log ssh public key to console

Change-Id: I289cdd8496d2909a4364e598826412c2e81c5572

5 years agonolabs: Switch back to single-use slave 76/2476/1
Fatih Degirmenci [Wed, 2 Oct 2019 07:50:24 +0000 (09:50 +0200)]
nolabs: Switch back to single-use slave

Change-Id: I1a392317a352a2418e99d2f2b3c3daaa66e08f7a

5 years agoAvoid venv activate failure 75/2475/1
Fatih Degirmenci [Wed, 2 Oct 2019 06:14:38 +0000 (08:14 +0200)]
Avoid venv activate failure

Change-Id: I361b74d05eea051e75757571cb3ce891cc957f61

5 years agonolabs: Set bash options 72/2472/1
Fatih Degirmenci [Wed, 2 Oct 2019 05:38:02 +0000 (07:38 +0200)]
nolabs: Set bash options

Change-Id: Ifd45e3ec791121388532209b96e8d0ceb9927e83

5 years agonolabs: Move jobs to nolabs tenant 67/2467/3
Fatih Degirmenci [Tue, 1 Oct 2019 18:13:47 +0000 (20:13 +0200)]
nolabs: Move jobs to nolabs tenant

Change-Id: I8526d23b4e720355db493de78c51cd561a38fbd6

5 years agonolabs: Delete user public key from OpenStack 66/2466/1
Fatih Degirmenci [Tue, 1 Oct 2019 17:56:51 +0000 (19:56 +0200)]
nolabs: Delete user public key from OpenStack

Change-Id: Ib7bebd9353ab39443f8b35c66cd6a3fc3534a7e5

5 years agonolabs: Add correct floating ip to db 65/2465/2
Fatih Degirmenci [Tue, 1 Oct 2019 17:14:56 +0000 (19:14 +0200)]
nolabs: Add correct floating ip to db

Change-Id: Ic62d26992ed5cc680ac6d826276872a8215b8dcf

5 years agonolabs: Increase no of concurrent builds to 10 64/2464/1
Fatih Degirmenci [Tue, 1 Oct 2019 17:06:59 +0000 (19:06 +0200)]
nolabs: Increase no of concurrent builds to 10

Change-Id: I7120744b0e0dd01ffa9c86e006c3f7b18ce700f9

5 years agoAdd booking id and deploy scenario to build description 63/2463/1
Fatih Degirmenci [Tue, 1 Oct 2019 16:59:20 +0000 (18:59 +0200)]
Add booking id and deploy scenario to build description

Change-Id: I1856ec76cfe404f9204975f505c94cdc04b87101

5 years agoRemove hardcoded tokens api endpoint 60/2460/1
Fatih Degirmenci [Tue, 1 Oct 2019 16:37:32 +0000 (18:37 +0200)]
Remove hardcoded tokens api endpoint

Change-Id: I8dc6681f83afc4cb6d0d89c09f8aa28a7b508c02

5 years agoAdd nolabs tokens api endpoint 59/2459/2
Fatih Degirmenci [Tue, 1 Oct 2019 16:30:27 +0000 (18:30 +0200)]
Add nolabs tokens api endpoint

Change-Id: I4178cde2257defaafedbe3e34ffe1a5918f1ed34

5 years agoFix credentials for nolabs jobs 56/2456/1
Fatih Degirmenci [Tue, 1 Oct 2019 16:06:23 +0000 (18:06 +0200)]
Fix credentials for nolabs jobs

Change-Id: If08eabdd48ae4d119f55e91ccd1e5fc8574e4f55

5 years agoUse the right parameter type for target site 54/2454/1
Fatih Degirmenci [Tue, 1 Oct 2019 15:52:34 +0000 (17:52 +0200)]
Use the right parameter type for target site

Change-Id: I95646325e8addec53987090894341b38244c5904

5 years agoCreate jobs to handle and delete nolabs bookings 51/2451/8
Fatih Degirmenci [Tue, 1 Oct 2019 14:41:46 +0000 (16:41 +0200)]
Create jobs to handle and delete nolabs bookings

Change-Id: Ic0420e916cdf5d09793cb644162ff1d19f5d2b92

5 years agoCreate nolabs-deploy job 49/2449/2
Fatih Degirmenci [Tue, 1 Oct 2019 14:11:02 +0000 (16:11 +0200)]
Create nolabs-deploy job

A new job has been created to deploy the latest version
of the website to production server. This job can only
be triggered and the deployment can be done by putting
the keyword on Gerrit change as comment which is
website-deploy-to-production.

Change-Id: Idf788cedd0df5e0f2f8bf156552baeb1b1b15e1e

5 years agonolabs: Reconfigure verify and merge jobs 48/2448/2
Fatih Degirmenci [Tue, 1 Oct 2019 13:57:49 +0000 (15:57 +0200)]
nolabs: Reconfigure verify and merge jobs

As things are changed significantly, the verify and merge jobs
are reconfigured to not do anything until we have some unit
tests and so on.

Change-Id: I5ec6679640f8fe69808fbea3595e7c812f5206b8

5 years agoMerge "airship change ghprb auth id for metal3 projects"
Kanwar Saad [Fri, 27 Sep 2019 07:18:09 +0000 (07:18 +0000)]
Merge "airship change ghprb auth id for metal3 projects"

5 years agoairship change ghprb auth id for metal3 projects 65/2365/1
maelk [Thu, 26 Sep 2019 13:00:46 +0000 (16:00 +0300)]
airship change ghprb auth id for metal3 projects

Change-Id: I30ec260b7a8cc2aa4b32a1e75f1e8084bd560710

5 years agoMerge "Use auth id instead of name for airship metal3-jenkins Github"
Maël Kimmerlin [Thu, 26 Sep 2019 07:50:34 +0000 (07:50 +0000)]
Merge "Use auth id instead of name for airship metal3-jenkins Github"

5 years agoUse auth id instead of name for airship metal3-jenkins Github 57/2357/1
maelk [Thu, 26 Sep 2019 07:45:25 +0000 (10:45 +0300)]
Use auth id instead of name for airship metal3-jenkins Github

Change-Id: I8f7342c63c18d9de05780455a211ed5ebd157696

5 years agoMerge "Modify airship metal3-io credentials for dev env PR checks"
Maël Kimmerlin [Thu, 26 Sep 2019 07:31:07 +0000 (07:31 +0000)]
Merge "Modify airship metal3-io credentials for dev env PR checks"

5 years agoMerge "ONAP: Adding CCSDK repos to ONAP"
Robert Tomczyk [Thu, 26 Sep 2019 07:16:29 +0000 (07:16 +0000)]
Merge "ONAP: Adding CCSDK repos to ONAP"

5 years agoModify airship metal3-io credentials for dev env PR checks 55/2355/2
maelk [Thu, 26 Sep 2019 06:58:32 +0000 (09:58 +0300)]
Modify airship metal3-io credentials for dev env PR checks

Change-Id: I13b85117acf8e21db6c1790370db86cdb89c2ba3

5 years agoChange airship metal3-jenkins token 51/2351/1
maelk [Wed, 25 Sep 2019 17:42:39 +0000 (20:42 +0300)]
Change airship metal3-jenkins token

Change-Id: I6ac96c2acef1272b1ff2512609739a31f09cdf0c

5 years agoUse different token for metal3-io metal3-dev-env github project 48/2348/1
maelk [Wed, 25 Sep 2019 15:59:20 +0000 (18:59 +0300)]
Use different token for metal3-io metal3-dev-env github project

Based on a request from the maintainers, using the metal3-jenkins
user

Change-Id: I9f4d60a46ebfbddf68c721de13a7ca5f5a9f395f

5 years agoONAP: Adding CCSDK repos to ONAP 41/2341/1
robert.tomczyk [Wed, 25 Sep 2019 15:25:58 +0000 (16:25 +0100)]
ONAP: Adding CCSDK repos to ONAP

Added jenkins rebase, java verify and push-upstream jobs for:
- ccsdk/dashboard
- ccsdk/distribution
- ccsdk/features
- ccsdk/parent
- ccsdk/platform/blueprints
- ccsdk/platform/nbapi
- ccsdk/sli/adaptors
- ccsdk/sli/core
- ccsdk/sli/northbound
- ccsdk/sli/plugins
- ccsdk/storage/esaas
- ccsdk/storage/pgaas
- ccsdk/utils

Change-Id: I822c64c769928db64984cc55c102e085866abf86

5 years agoRemove code duplication - single global rebase-jobs.sh script 32/2332/2
robert.tomczyk [Wed, 25 Sep 2019 08:31:57 +0000 (09:31 +0100)]
Remove code duplication - single global rebase-jobs.sh script

Change-Id: I8accc5038188a81d9ce79142a25072395508a98d

5 years agoChange job name for Airship OS image building job 06/2306/1
maelk [Mon, 23 Sep 2019 09:51:54 +0000 (12:51 +0300)]
Change job name for Airship OS image building job

Adds airship in the name for correct classification

Change-Id: I49d91a8f54847d74c7ee9c2086f1615065ff08e7

5 years agoMerge "Add image building job for Airship"
Maël Kimmerlin [Mon, 23 Sep 2019 05:13:46 +0000 (05:13 +0000)]
Merge "Add image building job for Airship"

5 years agoOPENDEV: Add openstack-networking-ovn project 99/2299/1
robert.tomczyk [Sun, 22 Sep 2019 20:10:37 +0000 (21:10 +0100)]
OPENDEV: Add openstack-networking-ovn project

Change-Id: I29cc5e94aa50cbc393f78f588bde1bce87b277ac

5 years agoORANSC: Add ci-management project 83/2283/1
robert.tomczyk [Fri, 20 Sep 2019 12:05:56 +0000 (13:05 +0100)]
ORANSC: Add ci-management project

Change-Id: I2d3becc2bed8b731be7c0e59de3d9c3661a696a1

5 years agoOPENDEV: Add airshipctl project 71/2271/1
robert.tomczyk [Thu, 19 Sep 2019 13:14:49 +0000 (14:14 +0100)]
OPENDEV: Add airshipctl project

Change-Id: I53ef7f07ad119cd60b463e28f31db821a9efd916

5 years agoAdd image building job for Airship 68/2268/2
maelk [Thu, 19 Sep 2019 11:53:02 +0000 (14:53 +0300)]
Add image building job for Airship

Change-Id: Ie4b95a1d990934e73f0461405330cc1ed52384f7

5 years agoMerge "ORANSC: Introduction ORANSC upstream to Nordix"
Andrew Fenner [Thu, 19 Sep 2019 09:12:33 +0000 (09:12 +0000)]
Merge "ORANSC: Introduction ORANSC upstream to Nordix"

5 years agoORANSC: Introduction ORANSC upstream to Nordix 58/2258/3
robert.tomczyk [Wed, 18 Sep 2019 14:14:38 +0000 (15:14 +0100)]
ORANSC: Introduction ORANSC upstream to Nordix

Initialy the jenkins rebase and push-upstream jobs
are introduced for the ORANSC projects:
- portal/ric-dashboard
- nonrtric
- oam
- it/dep
- it/test
- ric-app/admin
- ric-app/mc
- ric-plt/a1
- ric-plt/appmgr
- ric-plt/dbaas
- ric-plt/e2
- ric-plt/e2mgr
- ric-plt/jaegeradapter
- ric-plt/lib/rmr
- ric-plt/nodeb-rnib
- ric-plt/rtmgr
- ric-plt/sdl
- ric-plt/sdlgo
- ric-plt/submgr
- ric-plt/tracelibcpp
- ric-plt/tracelibgo
- ric-plt/ue-nib
- ric-plt/utils
- sim
- sim/a1-interface
- sim/e2-interface
- sim/o1-interface

Change-Id: I8218e747d23ea0f8c3e13e1e3d236c87d58e1b76

5 years agoMaking names shorter to avoid xtesting issue 55/2255/1
afenner [Wed, 18 Sep 2019 13:59:52 +0000 (14:59 +0100)]
Making names shorter to avoid xtesting issue

Change-Id: I0e6048f5148428e0e2ed659c4fd1b6f93b998b70

5 years agoONAP: Ignore git normalization changes on checkout 43/2243/3
robert.tomczyk [Tue, 17 Sep 2019 15:11:38 +0000 (16:11 +0100)]
ONAP: Ignore git normalization changes on checkout

When the .gitatribute file is setup to change the file line-ending
in the repository the file will be updated straight after git checkout.

The -f flag will ignore those normalized files which cause
the rebuild job to fail for some ONAP projects.

Change-Id: I34007888815956fd04809d693c5fee0df1017c8a

5 years agoAdd a centos integration job and rename the ubuntu one 37/2237/2
maelk [Mon, 16 Sep 2019 12:59:18 +0000 (15:59 +0300)]
Add a centos integration job and rename the ubuntu one

Change-Id: Iff5ea50738164df0ae9b9d4161a702b02e781504

5 years agoMerge "jjb: Add airship ci unit test pipeline"
Maël Kimmerlin [Mon, 16 Sep 2019 13:01:59 +0000 (13:01 +0000)]
Merge "jjb: Add airship ci unit test pipeline"

5 years agoMerge "SV update verify job to java11"
Robert Tomczyk [Thu, 12 Sep 2019 08:33:45 +0000 (08:33 +0000)]
Merge "SV update verify job to java11"

5 years agoAdd healthdist testcase 15/2215/2
afenner [Wed, 11 Sep 2019 14:56:23 +0000 (15:56 +0100)]
Add healthdist testcase

Change-Id: If306e46b49827e8b0d4cd0f9209fd74275e8cd02
Signed-off-by: afenner <andrew.fenner@est.tech>
5 years agoSV update verify job to java11 19/2219/1
justin14 [Wed, 11 Sep 2019 19:09:46 +0000 (12:09 -0700)]
SV update verify job to java11

Issue-Id: ACUMOS-3436

Change-Id: I7f73dec7749c4904445c8809d727c29a1e3de6d6
Signed-off-by: justin14 <justin.early@est.tech>
5 years agoONAP: Add jobs for sdnc projects 14/2214/1
robert.tomczyk [Wed, 11 Sep 2019 14:30:31 +0000 (15:30 +0100)]
ONAP: Add jobs for sdnc  projects

The jobs for below projects are added:
- sdnc/core
- sdnc/adaptors
- sdnc/northbound
- sdnc/plugins

Change-Id: I4540ed58a40a4501b924dc266d43aadf4c59abc3

5 years agoMerge "ACUMOS: Java 11 introduction"
Robert Tomczyk [Tue, 10 Sep 2019 17:17:17 +0000 (17:17 +0000)]
Merge "ACUMOS: Java 11 introduction"

5 years agoMerge "ONAP: Improve jenkins rebase and push-upstream jobs"
Robert Tomczyk [Mon, 9 Sep 2019 09:30:13 +0000 (09:30 +0000)]
Merge "ONAP: Improve jenkins rebase and push-upstream jobs"

5 years agoRename nolabs merge job to deploy 76/2176/1
Fatih Degirmenci [Fri, 6 Sep 2019 16:20:19 +0000 (18:20 +0200)]
Rename nolabs merge job to deploy

We actually deploy the site when a change gets merged
so the job is renamed to reflect the reality.

Change-Id: I29b1b6dc16bb3412e7e531c2fd4c4a153e576586

5 years agoUpdate paths for nolabs verify and merge jobs 74/2174/1
Fatih Degirmenci [Fri, 6 Sep 2019 16:05:07 +0000 (18:05 +0200)]
Update paths for nolabs verify and merge jobs

Change-Id: Iaffdcfc9ad3183a192effaa941f6bfe71a233cb6

5 years agoACUMOS: Java 11 introduction 33/2133/4
Justin Early [Tue, 3 Sep 2019 20:27:16 +0000 (13:27 -0700)]
ACUMOS: Java 11 introduction

Introduction of Java 11 to projects:
- license-manager
- license-usage-manager
- portal-marketplace

The java version is defined per project but this
can be extended per branch if needed later on.

Acumos slave server was updated to include the JDK 11
and the version of Java is controled using JAVA_HOME per Acumos Jenkins Job

Change-Id: I2f3ad8ec3e1c0a97eac2804b231cd7943caaf713
Signed-off-by: Justin Early <earlyster@gmail.com>
5 years agoDeploy nolabs website to prod upon change-merged 67/2167/2
Fatih Degirmenci [Fri, 6 Sep 2019 11:55:03 +0000 (13:55 +0200)]
Deploy nolabs website to prod upon change-merged

Change-Id: I3675d896b2d136c4c2e976eef74a0edd00e93554

5 years agoFix project name for nolabs jobs 66/2166/1
Fatih Degirmenci [Fri, 6 Sep 2019 10:58:19 +0000 (12:58 +0200)]
Fix project name for nolabs jobs

Change-Id: I18be9a68e4ddd93f69d4dd0046c8edd2fbd27a02

5 years agoAdd verify job for nolabs app 65/2165/3
Fatih Degirmenci [Fri, 6 Sep 2019 10:40:09 +0000 (12:40 +0200)]
Add verify job for nolabs app

This is a simple job to ensure the container image
could be built.

Change-Id: I163f885cbec480f9cc16f2152497087d17ededc2

5 years agoOPENDEV: Add jobs for OpenStack heat-tempest-plugin project 59/2159/1
robert.tomczyk [Fri, 6 Sep 2019 09:09:00 +0000 (10:09 +0100)]
OPENDEV:  Add jobs for OpenStack heat-tempest-plugin project

Change-Id: I7a681b896011338bed521e0b68d90e47e182e827

5 years agoGEODE-FIX: Make sure the dpkg lock file is not used by outher apt process 55/2155/1
robert.tomczyk [Thu, 5 Sep 2019 13:36:03 +0000 (14:36 +0100)]
GEODE-FIX: Make sure the dpkg lock file is not used by outher apt process

Change-Id: Id5961a48a22188bb9caa9727c9298382037ab14f

5 years agoONAP: Improve jenkins rebase and push-upstream jobs 43/2143/3
robert.tomczyk [Wed, 4 Sep 2019 14:43:19 +0000 (15:43 +0100)]
ONAP: Improve jenkins rebase and push-upstream jobs

- Mirror all branches from ONAP upstream to Nordix Gerrit.
- Fix corrupt zip file problem when pushing to ONAP upstream.
- Cache the git 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 ONAP gerrit.
- Update ONAP push upstream job to preserve git topics.
- Decrease number of jobs required for ONAP project in Jenkins.

Change-Id: I11973774eaf92d91ccf44a8f659be994fe5e5e69

5 years agoGEODE-FIX: Make sure the dpkg lock file is not used by other apt process 40/2140/3
robert.tomczyk [Wed, 4 Sep 2019 11:13:50 +0000 (12:13 +0100)]
GEODE-FIX: Make sure the dpkg lock file is not used by other apt process

Change-Id: If93b30f7dc0a0e8f8a1a8b69b5c06282e09e4cd1

5 years agoRevert "Adding verify jobs for integration-csit" 13/2113/1
Andrew Fenner [Fri, 30 Aug 2019 10:43:16 +0000 (10:43 +0000)]
Revert "Adding verify jobs for integration-csit"

This reverts commit 3f692ae01d7309d18bc3f3c51a423a5aaac39823.

Change-Id: Ib142f5d1fbb4d7b0f773b959803a5433165f1abb

5 years agoAdding verify jobs for integration-csit 12/2112/1
a.sreekumar [Fri, 30 Aug 2019 10:00:57 +0000 (11:00 +0100)]
Adding verify jobs for integration-csit

Change-Id: I4d0a9fc6d7ede8f70ca2d8f5bc5ba449fc16dcb2
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
5 years agojjb: Add airship ci unit test pipeline 66/2066/5
mikkosest [Tue, 27 Aug 2019 13:02:17 +0000 (16:02 +0300)]
jjb: Add airship ci unit test pipeline

Change-Id: If0a69ac989a7b4240f4af2a574516e7b0d5a4919

5 years agoAdding clamp repo 07/2107/1
afenner [Thu, 29 Aug 2019 15:27:13 +0000 (16:27 +0100)]
Adding clamp repo

Change-Id: I71eaf1fa8ba82dc7ffece6d87e042dbe3dca64a9

5 years agoFix the value of delete-stack 00/2100/1
Fatih Degirmenci [Thu, 29 Aug 2019 08:36:30 +0000 (08:36 +0000)]
Fix the value of delete-stack

Change-Id: I9926f03f9fce92c0e0b962a84c372f6be92eba6b

5 years agoSwitch to string parameter for delete_stack 99/2099/2
Fatih Degirmenci [Thu, 29 Aug 2019 07:57:41 +0000 (07:57 +0000)]
Switch to string parameter for delete_stack

Choice parameter does not respect the default value setting so
we need to switch to string parameter.

Change-Id: Iefe88173cb7ea39fcc0f4f4f8561802f77552ad3

5 years agoRun onap pipelines automatically at midnight 98/2098/1
Fatih Degirmenci [Thu, 29 Aug 2019 07:46:40 +0000 (07:46 +0000)]
Run onap pipelines automatically at midnight

Stack will automatically be deleted for Dublin runs and left
untouched for Master ones.

Change-Id: I66df4405db1aaf6f2cbef6b8cad17426e7fd36de

5 years agoFix promotion job for openstack and kubernetes scenarios 96/2096/1
Fatih Degirmenci [Wed, 28 Aug 2019 16:27:40 +0000 (16:27 +0000)]
Fix promotion job for openstack and kubernetes scenarios

Change-Id: I331287fb28989401858da05479b3d06b9273a138

5 years agoMerge "Enable Upstream repos CI for metal3-io integration tests"
Maël Kimmerlin [Wed, 28 Aug 2019 12:37:23 +0000 (12:37 +0000)]
Merge "Enable Upstream repos CI for metal3-io integration tests"

5 years agoInclude provisioner type in build description 84/2084/1
Fatih Degirmenci [Wed, 28 Aug 2019 09:38:46 +0000 (09:38 +0000)]
Include provisioner type in build description

Change-Id: I6cd3ff6d93ab6d8bfa05e3ee342cb5f67c0f0adf

5 years agoEnable engine patch verification on openstack for k8s 82/2082/2
Fatih Degirmenci [Wed, 28 Aug 2019 09:05:15 +0000 (09:05 +0000)]
Enable engine patch verification on openstack for k8s

Change-Id: If20ddbe1375c167fa7e1de954d80e5c3cde3252c

5 years agoMove openstack and kubernetes jobs to separate jjb files 81/2081/3
Fatih Degirmenci [Wed, 28 Aug 2019 08:40:55 +0000 (08:40 +0000)]
Move openstack and kubernetes jobs to separate jjb files

Change-Id: Ib7eb54a4c1ac0e9b07d37dfcccfa698e98c539ed

5 years agoMerge "Include scenario name in the name of created stack"
Fatih Degirmenci [Wed, 28 Aug 2019 05:41:52 +0000 (05:41 +0000)]
Merge "Include scenario name in the name of created stack"

5 years agoDo not kill the job if functest fails 74/2074/1
Fatih Degirmenci [Tue, 27 Aug 2019 17:41:40 +0000 (17:41 +0000)]
Do not kill the job if functest fails

We need to see how yardstick performs so the jobs will not
be aborted upon functest failure.

Change-Id: I4129be54f0aec0bb6ed4da29950f321a7aa16750

5 years agoInclude scenario name in the name of created stack 73/2073/1
Fatih Degirmenci [Tue, 27 Aug 2019 16:54:58 +0000 (16:54 +0000)]
Include scenario name in the name of created stack

K8s scenario deployments on OpenStack will be enabled and this might
result in stack name clashes given that we are naming stacks same.

This change adds deploy scenario name to stack_name to created by Jenkins
jobs prevent clashes.

Change-Id: Ic6076da3107cb46f55dbdce63c8a3845cd9bfce5

5 years agoAdding testsuite/oom 69/2069/1
afenner [Tue, 27 Aug 2019 15:29:37 +0000 (16:29 +0100)]
Adding testsuite/oom

Change-Id: Iea801b9e8f791b6cba1387d2af222543c2655bc1

5 years agoEnable Upstream repos CI for metal3-io integration tests 65/2065/2
maelk [Tue, 27 Aug 2019 13:28:31 +0000 (16:28 +0300)]
Enable Upstream repos CI for metal3-io integration tests

Change-Id: I71df0ad46ba770a35465e8131b4d37a8e2fbce32

5 years agoIncrease build-timeout for test jobs 60/2060/1
Fatih Degirmenci [Tue, 27 Aug 2019 09:30:36 +0000 (09:30 +0000)]
Increase build-timeout for test jobs

OpenStack Functest Smoke and Yardstick take longer to complete
than Kubernetes ones so the timeout values are adjusted accordingly.

Change-Id: I1e4c12c34bca953e2615df67607838488fb3de9a

5 years agoMove ONAP pipelines to EST Tenant and enable keeping the stack 56/2056/1
Fatih Degirmenci [Mon, 26 Aug 2019 13:30:14 +0000 (13:30 +0000)]
Move ONAP pipelines to EST Tenant and enable keeping the stack

This change moves ONAP pipelines to City EST Tenant.

Apart from that, it introduces a new parameter, DELETE_STACK, so
the users of Jenkins can opt to keep the stack upon completion of
the job for troubleshooting purposes. Default is to delete the
stack.

No matter what, the stack will be deleted and recreated when the
same job gets triggered manually or on timer so the users need
to finish their jobs on the stack on time or they will be deleted.

Change-Id: I483c2b2723fae9a606342a38749f820dd9c7518d

5 years agoIncrease build timeout for ONAP deployment 52/2052/1
Fatih Degirmenci [Mon, 26 Aug 2019 11:06:57 +0000 (11:06 +0000)]
Increase build timeout for ONAP deployment

Master deployment takes longer than Dublin so this change increases
the Jenkins build timeout from 150 minutes to 210 minutes in order
to have chance to see to the end of the deployment.

Change-Id: Ib996c7328ac7ca39d5e82b478b2cde459adcf157

5 years agoMerge changes from topic 'cloud-infra-jjb'
Fatih Degirmenci [Mon, 26 Aug 2019 08:26:26 +0000 (08:26 +0000)]
Merge changes from topic 'cloud-infra-jjb'

* changes:
  Enable use of different provisioners
  Rename k8s peridoc jobs fro test results reporting

5 years agoEnable use of different provisioners 50/2050/1
Fatih Degirmenci [Mon, 26 Aug 2019 08:09:21 +0000 (08:09 +0000)]
Enable use of different provisioners

Change-Id: I9523b6f0521a08bbbd1c1b5c78c7d0d92194e9ac

5 years agoRename k8s peridoc jobs fro test results reporting 49/2049/1
Fatih Degirmenci [Mon, 26 Aug 2019 08:04:59 +0000 (08:04 +0000)]
Rename k8s peridoc jobs fro test results reporting

Change-Id: I872507a90798822171cf8f007fcd450965eccd3c

5 years agoInclude ONAP flavor in build description 48/2048/1
Fatih Degirmenci [Sun, 25 Aug 2019 13:48:37 +0000 (13:48 +0000)]
Include ONAP flavor in build description

Change-Id: Ib28f152cd4653c8cc6e323503dda989380624807

5 years agoMake it possible to disable result reporting 45/2045/1
Fatih Degirmenci [Sat, 24 Aug 2019 11:16:38 +0000 (11:16 +0000)]
Make it possible to disable result reporting

We might want to skip reporting for development purposes so
a new parameter POD_NAME is introduced for this. It is set to
est-cloud by default and can be overriden to disable reporting.

Change-Id: I88d50565a116b45edf588246fcb75c42ea7a9353

5 years agoRename ONAP jobs so that the version could be reported correctly 41/2041/1
Fatih Degirmenci [Fri, 23 Aug 2019 17:18:25 +0000 (17:18 +0000)]
Rename ONAP jobs so that the version could be reported correctly

Change-Id: I1196ceb52485835fe6ae32ca0c7598b275c79376

5 years agoFetch ansible inventory from tmp folder 26/2026/2
Fatih Degirmenci [Fri, 23 Aug 2019 09:00:59 +0000 (09:00 +0000)]
Fetch ansible inventory from tmp folder

In some cases ONAP deployment times out, not giving opportunity
to copy the generated kubespray inventory into healthcheck jobs'
workspaces. This results failures for healthcheck as it can't be
executed without inventory.

This change fetches kubespray inventory from tmp folder which is
enabled by the change below.
  https://gerrit.nordix.org/#/c/2027/

Change-Id: I90dcf68bd0f69ccefeb5d94ba09993104c84712d

5 years agoDo not abort ONAP pipeline if deployment fails or times out 25/2025/3
Fatih Degirmenci [Fri, 23 Aug 2019 08:23:57 +0000 (08:23 +0000)]
Do not abort ONAP pipeline if deployment fails or times out

The work to activate deployment and testing ONAP from master
started, it is important to see the state of the deployment
by running k8s, oom, and onap healthchecks no matter the state
of the deployment. Running healthcheck is cheap anyways.

Change-Id: Ia6a5c0f2c7bc324449ac27c89a87ff009da1b387

5 years agoBe more explicit with Nordix CICD ONAP stack name 24/2024/3
Fatih Degirmenci [Fri, 23 Aug 2019 07:49:43 +0000 (07:49 +0000)]
Be more explicit with Nordix CICD ONAP stack name

We need to differentiate between user initiated deployments
and CICD ones so we know who created a certain stack.

For CICD deployments, stack name will be in following form
  nordix-cicd-onap-{onap-branch}-{onap-flavor}
such as
  nordix-cicd-onap-master-full
  nordix-cicd-onap-dublin-core

For user initiated deployments, stack name will be set to
something random in following form in engine
  nordix-custom-onap-{random-string}
such as
  nordix-custom-onap-aglee

Change-Id: I145d8a6f4e3d624ef723f8decfbab0ce5297f45a

5 years agoMerge "Rename onap-oom-nofeature scenario to onap-nofeature-noha"
Andrew Fenner [Thu, 22 Aug 2019 22:21:19 +0000 (22:21 +0000)]
Merge "Rename onap-oom-nofeature scenario to onap-nofeature-noha"

5 years agoSource openrc file 21/2021/1
Fatih Degirmenci [Thu, 22 Aug 2019 21:29:02 +0000 (21:29 +0000)]
Source openrc file

Change-Id: Ia033ddc4b85cd2578d658f5aeaa508c61120928c

5 years agoUpdate clean-stack postbuild step 20/2020/2
Fatih Degirmenci [Thu, 22 Aug 2019 21:09:59 +0000 (21:09 +0000)]
Update clean-stack postbuild step

Change-Id: I0a871576ecfc124756da5973c0d8dd98fc9f4c3c

5 years agoMake delete-stack a postbuild step 19/2019/2
Fatih Degirmenci [Thu, 22 Aug 2019 20:17:30 +0000 (20:17 +0000)]
Make delete-stack a postbuild step

Failed builds leave stack behind them unnecessarily so
delete-stack is turned into a postbuild step to run always
to remove the stack.

Change-Id: Iab6aa3730729be28853ccac3b8ac3f1614465902

5 years agoRename onap-oom-nofeature scenario to onap-nofeature-noha 18/2018/1
Fatih Degirmenci [Thu, 22 Aug 2019 17:37:34 +0000 (17:37 +0000)]
Rename onap-oom-nofeature scenario to onap-nofeature-noha

As we will start reporting ONAP test results from EST/Nordix,
it is good to align the scenario name with what Orange uses
which is onap-nofeature-noha.

This will make it easier to browse results on test result dashboard.

Please note that the previous jobs with old scenario name onap-oom-nofeature
will be removed and new ones will be created, resulting in loss of build
history for parent jobs.

Change-Id: I6af0ae47874f9ff09b7c96ff4450a1c72409f4bd

5 years agoAdd OpenStack scenarios to baremetal jobs build blocker 15/2015/1
Fatih Degirmenci [Thu, 22 Aug 2019 17:26:56 +0000 (17:26 +0000)]
Add OpenStack scenarios to baremetal jobs build blocker

Change-Id: Ief328200664c2f65e432fcc0f70f74db6b8dad9c

5 years agoUse jdk12 build server for datafile verify jobs 02/2002/1
Fatih Degirmenci [Thu, 22 Aug 2019 07:33:46 +0000 (07:33 +0000)]
Use jdk12 build server for datafile verify jobs

Change-Id: I1ab4a970ce7a21f221dd86f86505d372f1f7fedd

5 years agoUse different slaves based on JDK version 01/2001/1
Fatih Degirmenci [Thu, 22 Aug 2019 06:27:41 +0000 (06:27 +0000)]
Use different slaves based on JDK version

New base images for build servers with jdk8 and jdk11 are created
on City Nordix Tenant and Jenkins OpenStack Cloud Plugin is configured
to provision 1 slave for each jdk version we need.

JAVA_HOME is also set to same place in both base images so we don't
need to worry about overriding it manually.

New slaves are labelled with onap-build-ubuntu1604-jdk8 and onap-build-ubuntu1604-jdk11.
  https://jenkins.nordix.org/label/onap-build-ubuntu1604-jdk8/
  https://jenkins.nordix.org/label/onap-build-ubuntu1604-jdk11/

The old slave, base instance, and the base image will be removed from Jenkins
and from OpenStack tenant once the new image and slave are verified.

Change-Id: I555c112ec3b9a3368a333861cc882cdc524490e6