cloud:
- city:
- slave-label: 'city-jumphost-onap-ubuntu1804'
- openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
- daily-trigger: '@midnight'
+ slave-label: 'city-jumphost-ubuntu1804'
+ openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-onap'
+ daily-trigger: 'H */4 * * 6-7'
- xerces:
- slave-label: 'xerces-jumphost-onap-ubuntu1804'
+ slave-label: 'xerces-jumphost-ubuntu1804'
openrc-credentials-file: 'est-estinfra-openrcfile-xerces-lund-onap'
daily-trigger: '#@midnight'
disabled: '{obj:disabled}'
- concurrent: true
+ concurrent: false
parameters:
- project-parameters:
name: DISTRO
default: '{distro}'
description: 'Distribution to use for configuring target nodes (networking etc.)'
+ - string:
+ name: OPENSTACK_CLOUD_PROVIDER
+ default: '{cloud}'
+ description: 'Name of the cloud where this job is run'
- string:
name: ONAP_VERSION
default: '{onap-version}'
block-level: 'NODE'
- throttle:
max-per-node: 1
- max-total: 3
+ max-total: 1
option: project
wrappers:
description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
- shell: |
#!/bin/bash
- cp $OPENRC_FILE /tmp/openrc
+ /bin/rm -rf /tmp/openrc && /bin/cp -f $OPENRC_FILE /tmp/openrc
- multijob:
name: Deploy ONAP using OOM
condition: ALWAYS
current-parameters: false
predefined-parameters: |
DISTRO=$DISTRO
+ OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
DEPLOY_TYPE=$DEPLOY_TYPE
PROVISIONER_TYPE=$PROVISIONER_TYPE
INSTALLER_TYPE=$INSTALLER_TYPE
current-parameters: false
predefined-parameters: |
DISTRO=$DISTRO
+ OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
DEPLOY_TYPE=$DEPLOY_TYPE
PROVISIONER_TYPE=$PROVISIONER_TYPE
INSTALLER_TYPE=$INSTALLER_TYPE
predefined-parameters: |
SLAVE_LABEL=$SLAVE_LABEL
DISTRO=$DISTRO
+ OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
PROVISIONER_TYPE=$PROVISIONER_TYPE
INSTALLER_TYPE=$INSTALLER_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
predefined-parameters: |
SLAVE_LABEL=$SLAVE_LABEL
DISTRO=$DISTRO
+ OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
PROVISIONER_TYPE=$PROVISIONER_TYPE
INSTALLER_TYPE=$INSTALLER_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
predefined-parameters: |
SLAVE_LABEL=$SLAVE_LABEL
DISTRO=$DISTRO
+ OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
PROVISIONER_TYPE=$PROVISIONER_TYPE
INSTALLER_TYPE=$INSTALLER_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
predefined-parameters: |
SLAVE_LABEL=$SLAVE_LABEL
DISTRO=$DISTRO
+ OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
PROVISIONER_TYPE=$PROVISIONER_TYPE
INSTALLER_TYPE=$INSTALLER_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
predefined-parameters: |
SLAVE_LABEL=$SLAVE_LABEL
DISTRO=$DISTRO
+ OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
PROVISIONER_TYPE=$PROVISIONER_TYPE
INSTALLER_TYPE=$INSTALLER_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
predefined-parameters: |
SLAVE_LABEL=$SLAVE_LABEL
DISTRO=$DISTRO
+ OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
DEPLOY_TYPE=$DEPLOY_TYPE
INSTALLER_TYPE=$INSTALLER_TYPE
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
name: SLAVE_LABEL
default: 'xerces-jumphost-onap-ubuntu1804'
description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
+ - string:
+ name: OPENSTACK_CLOUD_PROVIDER
+ default: 'city'
+ description: 'Name of the cloud where this job is run'
- string:
name: DISTRO
default: 'ubuntu1804'
description: 'Type of the deployment'
wrappers:
- - credentials-binding:
- - file:
- credential-id: est-jenkins-openrcfile-city-karlskrona-onap
- variable: OPENRC_FILE
- mask-passwords
- build-timeout:
timeout: '{build-timeout}'
builders:
- description-setter:
- description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
+ description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | $OPENSTACK_CLOUD_PROVIDER
- '{onap-other-phases}-macro'
- job-template:
name: SLAVE_LABEL
default: 'xerces-jumphost-onap-ubuntu1804'
description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
+ - string:
+ name: OPENSTACK_CLOUD_PROVIDER
+ default: 'city'
+ description: 'Name of the cloud where this job is run'
- string:
name: DISTRO
default: 'ubuntu1804'
description: 'Development purposes only! Set to none for disabling test results DB reporting.'
wrappers:
- - credentials-binding:
- - file:
- credential-id: est-jenkins-openrcfile-city-karlskrona-onap
- variable: OPENRC_FILE
- mask-passwords
- build-timeout:
timeout: '{build-timeout}'
builders:
- description-setter:
- description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
+ description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | $OPENSTACK_CLOUD_PROVIDER
- 'onap-healthcheck-macro'
# vim: set ts=2 sw=2 expandtab: