Start adding test for bifrost dhcp

Use the script that was created to test the dhcp settings
in bifrost, using static inventory. Initially add it as non-voting
job until we get successful results.

Change-Id: Ibaa2c298e8549c01a84eda16d187613925c85a4c
This commit is contained in:
Yolanda Robla 2016-03-14 18:19:32 +01:00 committed by yolanda.robla
parent adfb27ef23
commit 8a3302472e
2 changed files with 37 additions and 1 deletions

View File

@ -66,3 +66,38 @@
publishers:
- console-log
- devstack-logs
- job:
name: 'gate-bifrost-integration-dhcp-nv'
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 120
builders:
- install-distro-packages
# Job only needs MySQL
- mysql-prep
- mysql-db:
db_name: openstack_citest
- link-logs
- net-info
- shell: |
#!/bin/bash -eux
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/bifrost \
openstack/diskimage-builder \
openstack/ironic \
openstack/python-ironicclient \
openstack-infra/shade
export GIT_BASE=$(pwd)
cd openstack/bifrost
scripts/test-bifrost-inventory-dhcp.sh
publishers:
- console-log
- devstack-logs

View File

@ -989,7 +989,7 @@ jobs:
- ^releasenotes/.*$
# Skip non-doc jobs for doc-only bifrost changes. Since documents
# are checked by bifrost-pep8, that job should not be skipped.
- name: ^.*bifrost-(python27|integration-coreosipa-cirros|integration-dibipa-debian-nv)$
- name: ^.*bifrost-(python27|integration-coreosipa-cirros|integration-dibipa-debian-nv|integration-dhcp-nv)$
skip-if:
- project: ^openstack/bifrost$
all-files-match-any:
@ -4210,6 +4210,7 @@ projects:
check:
- gate-bifrost-integration-coreosipa-cirros
- gate-bifrost-integration-dibipa-debian-nv
- gate-bifrost-integration-dhcp-nv
gate:
- gate-bifrost-integration-coreosipa-cirros