project-config/jenkins/jobs/oaktree.yaml
Jeremy Stanley da67129d34 Remove pointless tarball-site parameter
Across the entirety of our job config corpus, we only ever set the
tarball-site parameter to tarballs.openstack.org. Instead just set
it directly in the publishers where it's needed and reduce
unwarranted confusion for people writing job configs. This also
allows us to get rid of the parameterized sites in the tarball,
wheel and war publishers.

Change-Id: I31109f41177b8c07177d7ed8ef16cbfd135131ef
2016-12-19 14:48:08 +00:00

107 lines
2.9 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
- wheel:
project: oaktreemodel
- 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
# There should be no changes to files as a result of running make.
# Most likely cause of changes is forgetting to update go files.
git diff --stat --exit-code HEAD
make distcheck
publishers:
- console-log
- job-template:
name: '{pipeline}-oaktree-dsvm-functional{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