project-config/jenkins/jobs/oaktree.yaml
Monty Taylor 1bde500409
LIBS_FROM_GIT is a comma separated list
Even if it wasn't, the code setting it was just overwritting previous
values.

Change-Id: Ifef712b17be18722be0c20748f6a9618eb5cf2e0
2016-11-06 08:41:12 -06:00

105 lines
2.8 KiB
YAML

- job:
name: oaktreemodel-tarball
node: ubuntu-xenial
builders:
- zuul-release-git-prep-upper-constraints
- install-distro-packages
- shell: |
sudo pip install grpcio grpcio-tools pbr
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
./install_proto3.sh
- revoke-sudo
- shell: |
#!/bin/bash -xe
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
./bootstrap.sh
./configure
make
make distcheck
- tarball:
env: venv
publishers:
- tarball:
project: oaktreemodel
site: tarballs.openstack.org
- wheel:
project: oaktreemodel
site: tarballs.openstack.org
- scp:
site: tarballs.openstack.org
files:
- target: 'tarballs/oaktree/'
source: 'liboaktreemodel*.tar.gz'
- test-results
- console-log
- job:
name: oaktreemodel-distcheck
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
sudo pip install grpcio grpcio-tools pbr
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
./install_proto3.sh
- revoke-sudo
- shell: |
#!/bin/bash -xe
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
./bootstrap.sh
./configure
make distcheck
publishers:
- console-log
- job-template:
name: '{pipeline}-oaktree-dsvm-functional{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_LOCAL_CONFIG="enable_plugin oaktree git://git.openstack.org/openstack/oaktree"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"LIBS_FROM_GIT=shade,oaktree,oaktreemodel"
export PROJECTS="openstack/oaktree $PROJECTS"
export PROJECTS="openstack/oaktreemodel $PROJECTS"
export PROJECTS="openstack-infra/shade $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
python $BASE/new/oaktree/devstack/test.py
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log