branch: '{stream}'
disabled: 'false'
- os:
+ distro:
- ubuntu1804:
disabled: 'false'
- distribution: 'ubuntu18'
- - centos7:
- disabled: 'true'
- distribution: 'centos7'
+ slave-label: vpod-test-ubuntu1804
type:
- virtual
- 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:
- name: 'cloud-infra-verify-testfw-{os}-{type}-{stream}'
+ name: 'cloud-infra-verify-testfw-{distro}-{type}-{stream}'
project-type: multijob
- 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:
- name: DISTRIBUTION
- default: '{distribution}'
+ name: DISTRO
+ default: '{distro}'
description: 'Distribution to use for configuring target nodes (networking etc.)'
- string:
name: DEPLOY_TYPE
- build-blocker:
use-build-blocker: true
blocking-jobs:
- - 'cloud-infra-verify-testfw-{os}-.*'
+ - 'cloud-infra-verify-testfw-{distro}-.*'
block-level: 'NODE'
- throttle:
max-per-node: 1
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
triggers:
- nordix-gerrit-trigger-patchset-created:
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: |
- DISTRIBUTION=$DISTRIBUTION
+ DISTRO=$DISTRO
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
TEST_SUITE=$TEST_SUITE
YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
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: |
- DISTRIBUTION=$DISTRIBUTION
+ DISTRO=$DISTRO
DEPLOY_TYPE=$DEPLOY_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
TEST_SUITE=$TEST_SUITE
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: false
name: PROJECT
default: $GERRIT_PROJECT
- string:
- name: DISTRIBUTION
- default: 'ubuntu18'
+ name: DISTRO
+ default: 'ubuntu1804'
description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
- string:
name: DEPLOY_TYPE
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
branch: '{branch}'
refspec: $GERRIT_REFSPEC
+ wipe_workspace: true
+ clean_before: false
builders:
- 'cloud-infra-testfw-macro'