Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
engine: Correct branch names for onap stack
[infra/cicd.git]
/
jjb
/
cloud-infra
/
cloud-infra-verify-testfw.yaml
diff --git
a/jjb/cloud-infra/cloud-infra-verify-testfw.yaml
b/jjb/cloud-infra/cloud-infra-verify-testfw.yaml
index c4c26cdf25a4d997bcaf83624cfb9508bcd8c30c..92faf67c7438aab4ee748e86e76918e60e1c84fd 100644
(file)
--- a/
jjb/cloud-infra/cloud-infra-verify-testfw.yaml
+++ b/
jjb/cloud-infra/cloud-infra-verify-testfw.yaml
@@
-50,15
+50,12
@@
stream:
- 'master':
branch: '{stream}'
stream:
- 'master':
branch: '{stream}'
- disabled: '
fals
e'
+ disabled: '
tru
e'
-
os
:
+
distro
:
- ubuntu1804:
- ubuntu1804:
- disabled: 'false'
- distribution: 'ubuntu18'
- - centos7:
disabled: 'true'
disabled: 'true'
- distribution: 'centos7'
+ slave-label: vpod-test-ubuntu1804
type:
- virtual
type:
- virtual
@@
-68,11
+65,11
@@
- yardstick
jobs:
- yardstick
jobs:
- - 'cloud-infra-verify-testfw-{
os
}-{type}-{stream}'
- - 'cloud-infra-verify-testfw-{
os
}-{phase}-{type}-{stream}'
+ - 'cloud-infra-verify-testfw-{
distro
}-{type}-{stream}'
+ - 'cloud-infra-verify-testfw-{
distro
}-{phase}-{type}-{stream}'
- job-template:
- job-template:
- name: 'cloud-infra-verify-testfw-{
os
}-{type}-{stream}'
+ name: 'cloud-infra-verify-testfw-{
distro
}-{type}-{stream}'
project-type: multijob
project-type: multijob
@@
-87,12
+84,16
@@
- nordix-gerrit-parameters
- label:
name: SLAVE_LABEL
- nordix-gerrit-parameters
- label:
name: SLAVE_LABEL
- default: '
vpod-test-{os
}'
+ default: '
{slave-label
}'
description: 'Slave label to schedule this job on. These slaves have cloud infra installed on them.'
- string:
description: 'Slave label to schedule this job on. These slaves have cloud infra installed on them.'
- string:
- name: DISTR
IBUTION
- default: '{distr
ibution
}'
+ name: DISTR
O
+ default: '{distr
o
}'
description: 'Distribution to use for configuring target nodes (networking etc.)'
description: 'Distribution to use for configuring target nodes (networking etc.)'
+ - string:
+ name: DEPLOY_TYPE
+ default: '{type}'
+ description: 'Type of the deployment'
- string:
name: DEPLOY_SCENARIO
default: 'k8-calico-nofeature'
- string:
name: DEPLOY_SCENARIO
default: 'k8-calico-nofeature'
@@
-102,16
+103,17
@@
default: 'healthcheck'
description: 'Test suite to run'
- string:
default: 'healthcheck'
description: 'Test suite to run'
- string:
- name:
CLEANUP
- default: '
tru
e'
- description: '
Cleanup leftovers of the previous run
'
+ name:
YARDSTICK_DISPATCHER
+ default: '
fil
e'
+ description: '
Dispatcher to use for Yardstick reporting
'
properties:
- logrotate
- build-blocker:
use-build-blocker: true
blocking-jobs:
properties:
- logrotate
- build-blocker:
use-build-blocker: true
blocking-jobs:
- - 'cloud-infra-verify-testfw-{os}-.*'
+ - 'cloud-infra-verify-testfw-{distro}-.*'
+ - 'nolabs-.*'
block-level: 'NODE'
- throttle:
max-per-node: 1
block-level: 'NODE'
- throttle:
max-per-node: 1
@@
-128,6
+130,8
@@
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
triggers:
- nordix-gerrit-trigger-patchset-created:
@@
-140,13
+144,13
@@
name: functest
condition: SUCCESSFUL
projects:
name: functest
condition: SUCCESSFUL
projects:
- - name: 'cloud-infra-verify-testfw-{
os
}-functest-{type}-{stream}'
+ - name: 'cloud-infra-verify-testfw-{
distro
}-functest-{type}-{stream}'
current-parameters: true
predefined-parameters: |
current-parameters: true
predefined-parameters: |
- DISTR
IBUTION=$DISTRIBUTION
+ DISTR
O=$DISTRO
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
TEST_SUITE=$TEST_SUITE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
TEST_SUITE=$TEST_SUITE
- CLEANUP=$CLEANUP
+ YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
GERRIT_PROJECT=$GERRIT_PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_PROJECT=$GERRIT_PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
@@
-159,13
+163,14
@@
name: yardstick
condition: SUCCESSFUL
projects:
name: yardstick
condition: SUCCESSFUL
projects:
- - name: 'cloud-infra-verify-testfw-{
os
}-yardstick-{type}-{stream}'
+ - name: 'cloud-infra-verify-testfw-{
distro
}-yardstick-{type}-{stream}'
current-parameters: true
predefined-parameters: |
current-parameters: true
predefined-parameters: |
- DISTRIBUTION=$DISTRIBUTION
+ DISTRO=$DISTRO
+ DEPLOY_TYPE=$DEPLOY_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
TEST_SUITE=$TEST_SUITE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
TEST_SUITE=$TEST_SUITE
- CLEANUP=$CLEANUP
+ YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
GERRIT_PROJECT=$GERRIT_PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_PROJECT=$GERRIT_PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
@@
-176,9
+181,9
@@
abort-all-job: true
- job-template:
abort-all-job: true
- job-template:
- name: 'cloud-infra-verify-testfw-{
os
}-{phase}-{type}-{stream}'
+ name: 'cloud-infra-verify-testfw-{
distro
}-{phase}-{type}-{stream}'
- disabled:
fals
e
+ disabled:
tru
e
concurrent: true
concurrent: true
@@
-190,9
+195,13
@@
name: PROJECT
default: $GERRIT_PROJECT
- string:
name: PROJECT
default: $GERRIT_PROJECT
- string:
- name: DISTR
IBUTION
- default: 'ubuntu18'
+ name: DISTR
O
+ default: 'ubuntu18
04
'
description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
+ - string:
+ name: DEPLOY_TYPE
+ default: 'virtual'
+ description: 'Type of the deployment. Overriden by upstream job.'
- string:
name: DEPLOY_SCENARIO
default: 'k8-calico-nofeature'
- string:
name: DEPLOY_SCENARIO
default: 'k8-calico-nofeature'
@@
-210,8
+219,9
@@
default: 'https://gerrit.nordix.org/infra/test.git'
description: 'URL to Nordix Cloud Infra test repository'
- string:
default: 'https://gerrit.nordix.org/infra/test.git'
description: 'URL to Nordix Cloud Infra test repository'
- string:
- name: CLEANUP
- default: 'false'
+ name: YARDSTICK_DISPATCHER
+ default: 'file'
+ description: 'Dispatcher to use for Yardstick reporting'
wrappers:
- build-timeout:
wrappers:
- build-timeout:
@@
-223,18
+233,10
@@
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
builders:
builders:
- - 'cloud-infra-verify-testfw-macro'
-
-# -------------------------------
-# builder macros
-# -------------------------------
-
-- builder:
- name: 'cloud-infra-verify-testfw-macro'
- builders:
- - shell:
- !include-raw: ./cloud-infra-test.sh
+ - 'cloud-infra-testfw-macro'
# vim: set ts=2 sw=2 expandtab:
# vim: set ts=2 sw=2 expandtab: