Add oaktree repos

oaktree is a gRPC porcelain layer for OpenStack. It is currently
organized into two interrelated repositories (yay zuul!) which need to
be tested with each other.

Change-Id: Id6880eb74772878d5d50171fbf2849d1f12c9dec
This commit is contained in:
Monty Taylor 2016-11-02 13:20:10 -05:00
parent 874582ba93
commit 44fb01d364
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
5 changed files with 164 additions and 0 deletions

View File

@ -0,0 +1,13 @@
[access "refs/heads/*"]
abandon = group oaktree-core
label-Code-Review = -2..+2 group oaktree-core
label-Workflow = -1..+1 group oaktree-core
[access "refs/tags/*"]
pushSignedTag = group oaktree-release
[receive]
requireChangeId = true
[submit]
mergeContent = true

View File

@ -4996,6 +4996,15 @@
description: OpenStack Compute (Nova) Specifications
- project: openstack/nova-zvm-virt-driver
description: Implementation of Nova virtulization driver for zVM.
- project: openstack/oaktree
upstream: https://github.com/emonty/oaktree
description: gRPC API Porcelain Layer for OpenStack
use-storyboard: true
- project: openstack/oaktreemodel
upstream: https://github.com/emonty/oaktreemodel
description: Protobuf model and library code for oaktree
use-storyboard: true
acl-config: /home/gerrit2/acls/openstack/oaktree.config
- project: openstack/octavia
description: An operator-grade reference implementation for Load Balancing as a
Service (LBaaS)

94
jenkins/jobs/oaktree.yaml Normal file
View File

@ -0,0 +1,94 @@
- job:
name: oaktreemodel-tarball
node: ubuntu-xenial
builders:
- zuul-release-git-prep-upper-constraints
- install-distro-packages
- shell: |
sudo pip install grpcio grpcio-tools
- revoke-sudo
- shell: |
#!/bin/bash -xe
./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
- revoke-sudo
- shell: |
#!/bin/bash -xe
./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 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"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"LIBS_FROM_GIT=oaktree"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"LIBS_FROM_GIT=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

View File

@ -8182,6 +8182,32 @@
jobs:
- python-jobs
- project:
name: oaktree
tarball-site: tarballs.openstack.org
jobs:
- pypi-jobs
- python-jobs
- 'gate-{name}-python35{suffix}':
suffix: ''
- '{pipeline}-oaktree-dsvm-functional{job-suffix}':
pipeline: gate
node: ubuntu-xenial
job-suffix: ''
branch-override: default
- project:
name: oaktreemodel
tarball-site: tarballs.openstack.org
jobs:
- oaktreemodel-tarball
- '{name}-pypi-both-upload'
- '{name}-tarball-signing'
- '{name}-announce-release'
- python-jobs
- project:
name: octavia
tarball-site: tarballs.openstack.org

View File

@ -12234,6 +12234,28 @@ projects:
- name: merge-check
- name: python-jobs
- name: openstack/oaktree
template:
- name: merge-check
- name: python-jobs
- name: python35-jobs
- name: publish-to-pypi
check:
- gate-oaktree-dsvm-functional
gate:
- gate-oaktree-dsvm-functional
- name: openstack/oaktreemodel
template:
- name: merge-check
- name: publish-to-pypi
check:
- gate-oaktree-dsvm-functional
- oaktreemodel-distcheck
gate:
- gate-oaktree-dsvm-functional
- oaktreemodel-distcheck
- name: openstack/octavia
template:
- name: check-requirements