sahara-ci-config/jenkins_job_builder/diskimage.yaml
Denis Egorenko af2dca6b3a Fix exit code for scripts
Use more appropriate construction for check exit code
Additionaly use full path for scripts in jobs

Change-Id: I1d8a5fd11c6cf9768f9411343c69525020e0f7c1
2015-03-19 19:43:25 +04:00

142 lines
3.6 KiB
YAML

- job:
name: 'dib-nova-heat-hdp_2'
defaults: global
concurrent: false
builders:
- gerrit-git-prep
- shell: |
git clone https://git.openstack.org/stackforge/sahara-ci-config
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts $WORKSPACE/sahara-ci-config/slave-scripts/dib.sh hdp_2
properties:
- zeromq-event
publishers:
- sahara-logs
- console-log
- trigger-cleanup
node: 'trusty-nova'
- job-template:
name: 'dib-{network}-direct-{plugin}-{os}-aio'
defaults: global
concurrent: false
builders:
- gerrit-git-prep
- shell: |
git clone https://git.openstack.org/stackforge/sahara-ci-config
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts $WORKSPACE/sahara-ci-config/slave-scripts/dib.sh {plugin} {os}
properties:
- zeromq-event
publishers:
- sahara-logs
- console-log
- trigger-cleanup
node: 'trusty-{network}'
- job-template:
name: 'dib-nova-direct-{plugin}-aio'
defaults: global
concurrent: false
builders:
- gerrit-git-prep
- shell: |
git clone https://git.openstack.org/stackforge/sahara-ci-config
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts $WORKSPACE/sahara-ci-config/slave-scripts/dib.sh {plugin}
properties:
- zeromq-event
publishers:
- sahara-logs
- console-log
- trigger-cleanup
node: 'trusty-nova'
- job:
name: 'dib-nova-direct-spark-aio-scenario'
defaults: global
concurrent: false
builders:
- gerrit-git-prep
- shell: |
git clone https://git.openstack.org/stackforge/sahara-ci-config
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts $WORKSPACE/sahara-ci-config/slave-scripts/dib.sh spark
properties:
- zeromq-event
publishers:
- sahara-logs
- console-log
- trigger-cleanup
node: 'trusty-nova'
- job-template:
name: 'dib-neutron-heat-vanilla_2.4-{os}'
defaults: global
concurrent: false
builders:
- gerrit-git-prep
- shell: |
git clone https://git.openstack.org/stackforge/sahara-ci-config
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts $WORKSPACE/sahara-ci-config/slave-scripts/dib.sh vanilla_2.4 {os}
properties:
- zeromq-event
publishers:
- sahara-logs
- console-log
- trigger-cleanup
node: 'trusty-neutron'
- job-template:
name: 'dib-neutron-heat-vanilla_2.6-{os}-scenario'
defaults: global
concurrent: false
builders:
- gerrit-git-prep
- shell: |
git clone https://git.openstack.org/stackforge/sahara-ci-config
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts $WORKSPACE/sahara-ci-config/slave-scripts/dib.sh vanilla_2.6 {os}
properties:
- zeromq-event
publishers:
- sahara-logs
- console-log
- trigger-cleanup
node: 'trusty-neutron'
- project:
name: sahara-image-elements
github-org: openstack
plugin:
- vanilla_1
os:
- ubuntu
- fedora
- centos
network:
- neutron
jobs:
- 'dib-nova-heat-hdp_2'
- 'dib-{network}-direct-{plugin}-{os}-aio'
- 'dib-{network}-direct-{plugin}-{os}-aio':
network: nova
plugin: cdh
os:
- ubuntu
- centos
- 'dib-nova-direct-{plugin}-aio':
plugin:
- spark
- hdp_1
- 'dib-nova-direct-spark-aio-scenario'
- 'dib-neutron-heat-vanilla_2.4-{os}'
- 'dib-neutron-heat-vanilla_2.6-{os}-scenario'