project-config/jenkins/jobs/bifrost.yaml
Julia Kreger 56b50a2241 Explicitly clone requirements for bifrost
Bifrost expects to be able to have a complete folder on
disk for accessing the upper-constraint data, as opposed
to the single file on disk. Retooling to capture/use the
the single file will create more alternate paths that must
be taken to perform the install and it seems less ideal
in a deployed environment where the git repository in whole
provides some confidence of and history of the file.

Since we don't explicitly clone our own copy in OpenStack CI
we will have zuul cloner grab a copy for us.

Change-Id: I64d1744c776c20d906a29e072602c1909853da25
2017-05-25 15:35:02 +00:00

118 lines
3.1 KiB
YAML

- job-template:
name: 'gate-bifrost-integration-tinyipa-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
builders:
- install-distro-packages
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- shell: |
#!/bin/bash -eux
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/bifrost \
openstack/ironic \
openstack/python-ironicclient \
openstack-infra/shade \
openstack/ironic-inspector \
openstack/python-ironic-inspector-client \
openstack/requirements
export GIT_BASE=$(pwd)
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
cd openstack/bifrost
scripts/test-bifrost.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-bifrost-integration-dibipa-debian-{node}-nv'
node: '{node}'
wrappers:
- build-timeout:
timeout: 120
builders:
- install-distro-packages
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- 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 \
openstack/ironic-inspector \
openstack/python-ironic-inspector-client \
openstack/requirements
export GIT_BASE=$(pwd)
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
cd openstack/bifrost
scripts/test-bifrost-build-images.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-bifrost-integration-dhcp-{node}-nv'
node: '{node}'
wrappers:
- build-timeout:
timeout: 120
builders:
- install-distro-packages
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- 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 \
openstack/ironic-inspector \
openstack/python-ironic-inspector-client \
openstack/requirements
export GIT_BASE=$(pwd)
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
cd openstack/bifrost
scripts/test-bifrost-inventory-dhcp.sh
publishers:
- devstack-logs
- console-log
- job-group:
name: bifrost-integration-jobs
node:
- ubuntu-trusty
- ubuntu-xenial
jobs:
- gate-bifrost-integration-tinyipa-{node}
- gate-bifrost-integration-dibipa-debian-{node}-nv
- gate-bifrost-integration-dhcp-{node}-nv