project-config/jenkins/jobs/devstack.yaml
Clark Boylan b0e93429f8 Set IPv4 safe address range in devstack unittests
The devstack unittests source stackrc which will fail if there is an IP
conflict with cloud networking and the default safe ip address range in
devstack. Avoid this issue by setting the value we set in d-g runs.

Change-Id: I66eb221f2ae4bb39e8e21d0e644df4ec4682dc92
2017-05-30 16:46:08 -07:00

44 lines
1.1 KiB
YAML

# Devstack unit tests are run via a set of shell scripts with the
# run_tests.sh entry point
- job:
name: gate-devstack-unit-tests
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
# This installs packages from "general" that might be
# required for unit tests
# Note that we have toset the safe IP addr range to avoid
# conflicts with cloud networks that result in job failures.
echo "IPV4_ADDRS_SAFE_TO_USE=10.1.0.0/20" >> localrc
./tools/install_prereqs.sh
- revoke-sudo
- shell: |
#!/bin/bash -xe
./run_tests.sh
publishers:
- console-log
- job:
name: propose-devstack-plugins-list
node: proposal
builders:
- proposal-slave-cleanup
- revoke-sudo
- link-logs
- zuul-git-branch-prep:
branch: master
- net-info
- shell: |
export ZUUL_REFNAME=master
/usr/local/jenkins/slave_scripts/propose_update.sh \
devstack-plugins-list
publishers:
- console-log