Add a periodic jobs to cache kolla-kubernetes deps

This PS creates a set of periodic jobs to cache commonly
used gate containers used by kolla-kubernetes.

Change-Id: If37ce7058a80e0ea01491a298471d16c627a8811
This commit is contained in:
Kevin Fox 2017-01-25 10:29:23 -08:00
parent 2c40443e0b
commit 56b3a74ef8
3 changed files with 66 additions and 10 deletions

View File

@ -1,5 +1,5 @@
- job-template:
name: '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}'
name: 'gate-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}'
node: '{node}'
wrappers:
@ -14,8 +14,37 @@
- install-distro-packages
- shell: |
#!/bin/bash -xe
tools/setup_gate.sh {action} {distro} {type} {config} {node} shell {ver}
tools/setup_gate.sh {action} {distro} {type} {config} {node} shell {ver} gate
publishers:
- devstack-logs
- console-log
- job-template:
name: 'periodic-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
tools/setup_gate.sh {action} {distro} {type} {config} {node} shell {ver} periodic
publishers:
- devstack-logs
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'UPLOAD_CONTAINERS/*'
target: 'tarballs/kolla-kubernetes/gate/containers/'
keep-hierarchy: false
copy-after-failure: false
- console-log

View File

@ -6087,28 +6087,26 @@
- pypi-jobs
- openstack-publish-jobs
- openstack-releasenotes-jobs
- '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}':
- 'gate-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}':
action: deploy
config: ceph-multi
distro: centos
node: 'centos-7-2-node'
pipeline: gate
type: binary
ver:
- '2'
- '3'
- 't'
suffix: '-nv'
- '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}':
- 'gate-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}':
action: deploy
config: ceph-reboot
distro: centos
node: 'centos-7-2-node'
pipeline: gate
type: binary
ver: '2'
suffix: '-nv'
- '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}':
- 'gate-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}':
action: deploy
config:
- helm-entrypoint
@ -6118,21 +6116,41 @@
- iscsi
distro: centos
node: 'centos-7'
pipeline: gate
type: binary
ver: '2'
suffix: '-nv'
- '{pipeline}-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}':
- 'gate-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}':
action: deploy
config:
- ceph
- iscsi
distro: ubuntu
node: ubuntu-xenial
pipeline: gate
type: binary
ver: '2'
suffix: '-nv'
- 'periodic-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}':
action: deploy
config:
- ceph
- iscsi
distro: ubuntu
node: ubuntu-xenial
type: binary
ver:
- '2'
- '3'
- 'periodic-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}':
action: deploy
config:
- ceph
- iscsi
distro: centos
node: 'centos-7'
type: binary
ver:
- '2'
- '3'
- project:
name: kosmos

View File

@ -11009,6 +11009,15 @@ projects:
experimental:
- gate-kolla-kubernetes-deploy-centos-binary-2-helm-operator-nv
- gate-kolla-kubernetes-deploy-centos-binary-2-ceph-reboot-nv
periodic:
- periodic-kolla-kubernetes-deploy-centos-binary-2-ceph
- periodic-kolla-kubernetes-deploy-ubuntu-binary-2-ceph
- periodic-kolla-kubernetes-deploy-centos-binary-3-ceph
- periodic-kolla-kubernetes-deploy-ubuntu-binary-3-ceph
- periodic-kolla-kubernetes-deploy-centos-binary-2-iscsi
- periodic-kolla-kubernetes-deploy-ubuntu-binary-2-iscsi
- periodic-kolla-kubernetes-deploy-centos-binary-3-iscsi
- periodic-kolla-kubernetes-deploy-ubuntu-binary-3-iscsi
- name: openstack/kosmos
template: