Prepare tempest job for ironic-lib
ironic-lib will soon become a dependency of ironic. To avoid future breakages we decided to act in advance, and prepare a dsvm job for it. Non-voting for now, will make voting as soon as it proves working. Depends-On: I6e66ae770cf5065980848e7e987bfd75765a5ac6 Change-Id: Icb7a02b3dd76a1e1663b73855f39895cb2ee5db6
This commit is contained in:
parent
4d53a0e9f4
commit
eec6a51cc2
@ -711,6 +711,11 @@
|
||||
export DEVSTACK_PROJECT_FROM_GIT="python-ironicclient"
|
||||
fi
|
||||
|
||||
export IRONIC_LIB_FROM_SOURCE={ironic-lib-from-source}
|
||||
if [ "$IRONIC_LIB_FROM_SOURCE" == "1" ]; then
|
||||
export DEVSTACK_PROJECT_FROM_GIT="ironic-lib"
|
||||
fi
|
||||
|
||||
# The IPA ramdisk need at least 1GB of RAM to run
|
||||
export DEVSTACK_LOCAL_CONFIG="IRONIC_VM_SPECS_RAM=1024"$'\n'"IRONIC_VM_COUNT=1"
|
||||
|
||||
@ -778,6 +783,7 @@
|
||||
deploy_driver: pxe_ssh
|
||||
deploy-with-ipa: 0
|
||||
client-from-source: 0
|
||||
ironic-lib-from-source: 0
|
||||
branch-override: '{branch-override}'
|
||||
tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal'
|
||||
devstack-timeout: 120
|
||||
@ -804,6 +810,7 @@
|
||||
deploy_driver: pxe_ssh
|
||||
deploy-with-ipa: 0
|
||||
client-from-source: 0
|
||||
ironic-lib-from-source: 0
|
||||
branch-override: '{branch-override}'
|
||||
tempest-env: 'DEVSTACK_GATE_TEMPEST_FULL=1'
|
||||
devstack-timeout: 150
|
||||
@ -830,6 +837,7 @@
|
||||
deploy_driver: pxe_ssh
|
||||
deploy-with-ipa: 0
|
||||
client-from-source: 0
|
||||
ironic-lib-from-source: 0
|
||||
branch-override: '{branch-override}'
|
||||
tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal'
|
||||
devstack-timeout: 120
|
||||
@ -894,6 +902,7 @@
|
||||
deploy_driver: pxe_ssh
|
||||
deploy-with-ipa: 1
|
||||
client-from-source: 0
|
||||
ironic-lib-from-source: 0
|
||||
branch-override: '{branch-override}'
|
||||
tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal'
|
||||
devstack-timeout: 120
|
||||
@ -921,6 +930,7 @@
|
||||
deploy_driver: pxe_ssh
|
||||
deploy-with-ipa: 1
|
||||
client-from-source: 0
|
||||
ironic-lib-from-source: 0
|
||||
branch-override: '{branch-override}'
|
||||
tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal'
|
||||
devstack-timeout: 120
|
||||
@ -948,6 +958,7 @@
|
||||
deploy_driver: agent_ssh
|
||||
deploy-with-ipa: 0
|
||||
client-from-source: 0
|
||||
ironic-lib-from-source: 0
|
||||
branch-override: '{branch-override}'
|
||||
tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal'
|
||||
devstack-timeout: 120
|
||||
@ -974,6 +985,7 @@
|
||||
deploy_driver: agent_ssh
|
||||
deploy-with-ipa: 1
|
||||
client-from-source: 0
|
||||
ironic-lib-from-source: 0
|
||||
branch-override: '{branch-override}'
|
||||
tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal'
|
||||
devstack-timeout: 120
|
||||
@ -1000,6 +1012,34 @@
|
||||
deploy_driver: pxe_ssh
|
||||
deploy-with-ipa: 0
|
||||
client-from-source: 1
|
||||
ironic-lib-from-source: 0
|
||||
branch-override: '{branch-override}'
|
||||
tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal'
|
||||
devstack-timeout: 120
|
||||
publishers:
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: '{pipeline}-tempest-dsvm-ironic-lib-src{branch-designator}'
|
||||
node: '{node}'
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 125
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- devstack-virtual-ironic:
|
||||
postgres: 0
|
||||
build-ramdisk: 1
|
||||
deploy_driver: pxe_ssh
|
||||
deploy-with-ipa: 0
|
||||
client-from-source: 0
|
||||
ironic-lib-from-source: 1
|
||||
branch-override: '{branch-override}'
|
||||
tempest-env: 'DEVSTACK_GATE_TEMPEST_REGEX=baremetal'
|
||||
devstack-timeout: 120
|
||||
|
@ -542,6 +542,11 @@
|
||||
jobs:
|
||||
- python-jobs
|
||||
- pypi-jobs
|
||||
- '{pipeline}-tempest-dsvm-ironic-lib-src{branch-designator}':
|
||||
pipeline: gate
|
||||
node: 'devstack-precise || devstack-trusty'
|
||||
branch-designator: '-nv'
|
||||
branch-override: default
|
||||
|
||||
- project:
|
||||
name: ironic-specs
|
||||
|
@ -2145,10 +2145,10 @@ projects:
|
||||
- name: python3-jobs
|
||||
- name: check-requirements
|
||||
- name: publish-to-pypi
|
||||
|
||||
check:
|
||||
- gate-ironic-lib-pep8
|
||||
- gate-ironic-lib-python27
|
||||
- gate-tempest-dsvm-ironic-lib-src-nv
|
||||
gate:
|
||||
- gate-ironic-lib-pep8
|
||||
- gate-ironic-lib-python27
|
||||
|
Loading…
Reference in New Issue
Block a user