Kolla Kubernetes tests

Pass chosen options to the setup script so it can more easily
set things up. Add some different config options. Switch the
tests to only test binary variants for now.

Change-Id: Id01b047f0629636e998619bca608bb798c4c60a0
This commit is contained in:
Kevin Fox 2016-10-01 14:39:30 -07:00
parent c6eff4b3d6
commit 1a6a4ad5c5
3 changed files with 16 additions and 11 deletions

View File

@ -1,5 +1,5 @@
- job-template:
name: '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}{job-suffix}'
name: '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}-{config}{job-suffix}'
node: '{node}'
wrappers:
@ -14,7 +14,7 @@
- install-distro-packages
- shell: |
#!/bin/bash -xe
tools/setup_gate.sh
tools/setup_gate.sh {action} {distro} {type} {config} {node}
tox -e {action}-{distro}-{type}
publishers:

View File

@ -6121,21 +6121,25 @@
- pypi-jobs
- openstack-publish-jobs
- openstack-releasenotes-jobs
- '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}{job-suffix}':
- '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}-{config}{job-suffix}':
action: deploy
config:
- ceph
- iscsi
distro: centos
node: 'centos-7'
pipeline: gate
type:
- binary
- source
type: binary
job-suffix: '-nv'
- '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}{job-suffix}':
- '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}-{config}{job-suffix}':
action: deploy
config:
- ceph
- iscsi
distro: ubuntu
node: ubuntu-xenial
pipeline: gate
type: source
type: binary
job-suffix: '-nv'
- project:

View File

@ -10456,9 +10456,10 @@ projects:
- name: publish-to-pypi
- name: release-notes-jobs
experimental:
- gate-kolla-kubernetes-deploy-centos-binary-nv
- gate-kolla-kubernetes-deploy-centos-source-nv
- gate-kolla-kubernetes-deploy-ubuntu-source-nv
- gate-kolla-kubernetes-deploy-centos-binary-ceph-nv
- gate-kolla-kubernetes-deploy-centos-binary-iscsi-nv
- gate-kolla-kubernetes-deploy-ubuntu-binary-ceph-nv
- gate-kolla-kubernetes-deploy-ubuntu-binary-iscsi-nv
- name: openstack/kosmos
template: