Add native Zuul v3 buildimages jobs
Native Zuul v3 jobs for the image building tests, which matches the existing jobs. Change-Id: I0485093a87d9cc905682fdb8886fa44228525e87
This commit is contained in:
parent
20d14b1751
commit
f3f5613238
65
.zuul.yaml
Normal file
65
.zuul.yaml
Normal file
@ -0,0 +1,65 @@
|
||||
- project:
|
||||
name: openstack/sahara-image-elements
|
||||
check:
|
||||
jobs:
|
||||
- sahara-image-elements-buildimages-ambari:
|
||||
voting: false
|
||||
- sahara-image-elements-buildimages-cloudera:
|
||||
voting: false
|
||||
- sahara-image-elements-buildimages-mapr:
|
||||
voting: false
|
||||
- sahara-image-elements-buildimages-plain:
|
||||
voting: false
|
||||
- sahara-image-elements-buildimages-spark:
|
||||
voting: false
|
||||
- sahara-image-elements-buildimages-storm:
|
||||
voting: false
|
||||
- sahara-image-elements-buildimages-vanilla:
|
||||
voting: false
|
||||
|
||||
- job:
|
||||
name: sahara-image-elements-buildimages-basejob
|
||||
timeout: 5400
|
||||
run: playbooks/buildimages/run
|
||||
|
||||
- job:
|
||||
name: sahara-image-elements-buildimages-ambari
|
||||
parent: sahara-image-elements-buildimages-basejob
|
||||
vars:
|
||||
sahara_plugin: ambari
|
||||
|
||||
- job:
|
||||
name: sahara-image-elements-buildimages-cloudera
|
||||
parent: sahara-image-elements-buildimages-basejob
|
||||
vars:
|
||||
sahara_plugin: cloudera
|
||||
|
||||
- job:
|
||||
name: sahara-image-elements-buildimages-mapr
|
||||
parent: sahara-image-elements-buildimages-basejob
|
||||
vars:
|
||||
sahara_plugin: mapr
|
||||
|
||||
- job:
|
||||
name: sahara-image-elements-buildimages-plain
|
||||
parent: sahara-image-elements-buildimages-basejob
|
||||
vars:
|
||||
sahara_plugin: plain
|
||||
|
||||
- job:
|
||||
name: sahara-image-elements-buildimages-spark
|
||||
parent: sahara-image-elements-buildimages-basejob
|
||||
vars:
|
||||
sahara_plugin: spark
|
||||
|
||||
- job:
|
||||
name: sahara-image-elements-buildimages-storm
|
||||
parent: sahara-image-elements-buildimages-basejob
|
||||
vars:
|
||||
sahara_plugin: storm
|
||||
|
||||
- job:
|
||||
name: sahara-image-elements-buildimages-vanilla
|
||||
parent: sahara-image-elements-buildimages-basejob
|
||||
vars:
|
||||
sahara_plugin: vanilla
|
3
playbooks/buildimages/run.yaml
Normal file
3
playbooks/buildimages/run.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- build-sahara-images-dib
|
13
roles/build-sahara-images-dib/README.rst
Normal file
13
roles/build-sahara-images-dib/README.rst
Normal file
@ -0,0 +1,13 @@
|
||||
Build Sahara Images with DIB
|
||||
|
||||
**Role Variables**
|
||||
|
||||
.. zuul:rolevar:: sahara_build_directory
|
||||
:default: /var/tmp/sahara-image-build
|
||||
|
||||
The base directory used for the build process.
|
||||
|
||||
.. zuul:rolevar:: sahara_plugin
|
||||
:default: vanilla
|
||||
|
||||
The plugin whose images will be built.
|
3
roles/build-sahara-images-dib/defaults/main.yaml
Normal file
3
roles/build-sahara-images-dib/defaults/main.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
sahara_build_directory: /var/tmp/sahara-image-build
|
||||
sahara_plugin: vanilla
|
4
roles/build-sahara-images-dib/tasks/main.yaml
Normal file
4
roles/build-sahara-images-dib/tasks/main.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- name: Build all the images for the selected plugin
|
||||
command: ./tools/gate/build-images "{{ sahara_plugin }}"
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
Loading…
Reference in New Issue
Block a user