Files
sahara-ci-config/jenkins_job_builder/sahara.yaml
Sergey Kolekonov 53e5261346 main configuration files were added
- CI devstack configuration files
- zuul configuration files
- nodepool configuration files
- Jenkins jobs
- scripts for Jenkins jobs

Change-Id: I3b1318af2e4009c201d6582c9bf9fea0328cff0d
2014-04-09 15:31:05 +04:00

80 lines
2.4 KiB
YAML

- job-template:
name: 'gate-sahara-integration-{plugin}'
defaults:
concurrent: true
builders:
- gerrit-git-prep
- shell: "rm -rf sahara-ci-config\
\ngit clone https://github.com/stackforge/sahara-ci-config\
\nbash -x sahara-ci-config/scripts/gate-savanna-integration-new.sh"
properties:
- zeromq-event
publishers:
- console-log
- trigger-parameterized-builds:
- project: "integration-cleanup"
predefined-parameters:
"PREV_BUILD=$BUILD_NUMBER-$ZUUL_CHANGE-$ZUUL_PATCHSET\
\nPREV_JOB=$JOB_NAME"
node: 'precise'
- project:
name: savanna
github-org: openstack
plugin:
- vanilla1
- vanilla2
- hdp
- heat-vanilla1
- heat-vanilla2
- heat-hdp
- idh2
- idh3
- transient
jobs:
- 'gate-sahara-integration-{plugin}'
- job:
name: integration-cleanup
project-type: freestyle
defaults: global
description: "<b>This job is managed by Jenkins Job Builder, do not edit it through WebUI.\
\n<p>Please use this repository to make changes: <a href=\"https://github.com/stackforge/sahara-ci-config\">https://github.com/stackforge/sahara-ci-config</a></b>\
\n<p>This job destroys vms which were not deleted after integration tests"
disabled: false
concurrent: false
node: 'master'
parameters:
- string:
name: PREV_BUILD
default: default
description:
- string:
name: PREV_JOB
default:
description:
builders:
- shell: "bash -x /opt/ci/jenkins-jobs/sahara-ci-config/scripts/integration-cleanup.sh"
- job:
name: gate-savanna-pep8-trunk
project-type: freestyle
defaults: global
description: "<b>This job is managed by Jenkins Job Builder, do not edit it through WebUI.\
\n<p>Please use this repository to make changes: <a href=\"https://github.com/stackforge/sahara-ci-config\">https://github.com/stackforge/sahara-ci-config</a></b>\
\n<p>This job runs pep8 check using trunk version of hacking"
disabled: false
concurrent: true
node: 'precise'
builders:
- gerrit-git-prep
- shell: "rm -rf sahara-ci-config\
\ngit clone https://github.com/stackforge/sahara-ci-config\
\nbash -x sahara-ci-config/scripts/gate-savanna-pep8-trunk.sh"
publishers:
- console-log