Add cross-repo job for fuel-ccp* projects

Jobs is expected to run for all fuel-ccp* base and component repos and
run script from fuel-ccp repo that currently is a simple script that
runs validation by cloning all masters, but it is expeted to be extended
with use of zuul-cloner for proper integration with Zuul.

Depends-On: Iaa9e6934d17c841c8c34e7f3b9c5e3197bac86c6
Change-Id: Ifb67b701c31d47ba3815c45d3e8fb87ac82cffde
This commit is contained in:
Yuriy Taraday 2016-11-01 16:44:43 +03:00
parent 787e20a334
commit 8a52d5e610
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,23 @@
- builder:
name: clone-fuel-ccp
builders:
- shell: |
#!/bin/bash -xe
cd "$WORKSPACE"
cat > clonemap.yaml << EOF
clonemap:
- name: openstack/fuel-ccp
dest: fuel-ccp
EOF
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
openstack/fuel-ccp
- job:
name: gate-fuel-ccp-validate
builders:
- revoke-sudo
- clone-fuel-ccp
- shell: |
#!/bin/bash -xe
cd "$WORKSPACE/fuel-ccp/tools/gate"
./run.sh

View File

@ -346,10 +346,15 @@ project-templates:
check:
- 'gate-{name}-linters-ubuntu-trusty'
- 'gate-{name}-linters-ubuntu-xenial'
- gate-fuel-ccp-validate
gate:
- 'gate-{name}-linters-ubuntu-trusty'
- 'gate-{name}-linters-ubuntu-xenial'
- name: fuel-ccp-cross-repo-gate
check:
- gate-fuel-ccp-validate
- name: python-jobs
check:
- 'gate-{name}-docs-ubuntu-trusty'
@ -3429,6 +3434,10 @@ jobs:
branch: ^(?!stable/(?:[456]\.[01]|[78]\.0|mitaka)).*$
voting: false
- name: ^gate-fuel-ccp-validate$
voting: false
queue-name: fuel-ccp
# Mutexes
- name: reprepro-import-debian-openstack-jessie
mutex: mirror.deb-openstack
@ -8916,6 +8925,7 @@ projects:
- name: python34-jobs
- name: python35-jobs
- name: docs-on-rtfd
- name: fuel-ccp-cross-repo-gate
- name: openstack/fuel-ccp-ceph
template:
@ -8943,6 +8953,7 @@ projects:
- name: python-jobs
- name: python34-jobs
- name: python35-jobs
- name: fuel-ccp-cross-repo-gate
- name: openstack/fuel-ccp-etcd
template: