Add kata-run job to kata-containers/proxy

This is likely to not work yet, but since we aren't gating on
kata-containers/proxy we won't import job config from that repo which
would make these changes self testing. In order to get the ball moving
we need to start somewhere so start here.

This adds a vexxhost specific bionic image which we will start with
until the nodepool azure driver is tested and deployed. We should be
able to make progress on adding jobs and getting the driver going in
parallel this way.

Change-Id: Ia56c2cb3046e31e50014c8bf24342cceacb7db8a
This commit is contained in:
Clark Boylan 2018-06-05 08:29:39 -07:00
parent 805928ae4f
commit 31729a6de7
6 changed files with 42 additions and 3 deletions

View File

@ -28,6 +28,8 @@ labels:
min-ready: 1
- name: ubuntu-bionic-arm64
min-ready: 1
- name: ubuntu-bionic-vexxhost
min-ready: 1
providers:
- name: inap-mtl01
@ -162,6 +164,11 @@ providers:
flavor-name: 'osf-highcpu-8'
diskimage: ubuntu-bionic
key-name: infra-root-keys
- name: ubuntu-bionic-vexxhost
min-ram: 8000
flavor-name: 'osf-highcpu-8'
diskimage: ubuntu-bionic
key-name: infra-root-keys
- name: ubuntu-trusty
min-ram: 8000
flavor-name: 'osf-highcpu-8'

View File

@ -0,0 +1,6 @@
- hosts: all
tasks:
- name: Run kata setup.sh
args:
chdir: "{{ zuul.project.src_dir }}"
command: ".ci/setup.sh"

View File

@ -0,0 +1,6 @@
- hosts: all
tasks:
- name: Run kata run.sh
args:
chdir: "{{ zuul.project.src_dir }}"
command: ".ci/run.sh"

View File

@ -31,9 +31,7 @@ def check_system_templates():
print("=====================================")
for entry in projects:
project = entry['project']
# TODO(mordred) Generalize this, but for now, avoid doing this check
# on projects we run third part ci for.
if project['name'] in ['ansible/ansible', 'sigmavirus24/github3.py']:
if not project['name'].startswith('openstack'):
continue
try:
correct = False

View File

@ -1239,3 +1239,16 @@
The testing is done for Ubuntu Xenial.
nodeset: ubuntu-xenial
- job:
name: kata-run
parent: base
description: |
Run kata's setup.sh and run.sh CI scripts
pre-run: playbooks/kata-run/pre.yaml
run: playbooks/kata-run/run.yaml
timeout: 3600
nodeset:
nodes:
- name: ubuntu-bionic
label: ubuntu-bionic-vexxhost

View File

@ -32,6 +32,15 @@
- ^lib/ansible/module_utils/openstack.py
- ^lib/ansible/utils/module_docs_fragments/openstack.py
- project:
name: kata-containers/proxy
# kata-containers/proxy does not include system-required on purpose. We
# do not gate kata-containers/proxy and we should not be doing
# merge-check on it.
third-party-check:
jobs:
- kata-run
- project:
name: openstack-dev/bashate
templates: