sahara-ci-config/jenkins_job_builder/ci-infra.yaml
Denis Egorenko d8aa8b6bd8 Add noop job and pipeline
This patch adds noop pipeline for Zuul layout config file and noop
Jenkins job for resolving projects, which added as Depends-on
for Sahara patches.

Change-Id: Ic914ac67304fb8134b05a68507a1686944f1bf51
2015-11-18 16:14:05 +03:00

134 lines
4.8 KiB
YAML

- 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://git.openstack.org/openstack/sahara-ci-config\">https://git.openstack.org/openstack/sahara-ci-config</a></b>\
\n<p>This job destroys vms which were not deleted after integration tests"
disabled: false
node: 'master'
parameters:
- string:
name: PREV_BUILD
default: default
description:
- string:
name: PREV_JOB
default:
description:
- string:
name: HOST_NAME
default:
description:
builders:
- shell: |
rm -rf sahara-ci-config
git clone https://git.openstack.org/openstack/sahara-ci-config
bash $WORKSPACE/sahara-ci-config/slave-scripts/integration-cleanup.sh
- job:
name: jobs-updater
node: master
project-type: freestyle
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://git.openstack.org/openstack/sahara-ci-config\">https://git.openstack.org/openstack/sahara-ci-config</a></b>\
\n<p><b>Title</b>: Jenkins Jobs Update job <br/>\
\n<b>Description</b>: This job updates all other jobs from sahara-ci-config repo. <br/>\
\n<b>Maintainer</b>: Sergey Kolekonov<br/>"
defaults: global
disabled: false
concurrent: false
scm:
- git:
url: https://git.openstack.org/openstack/sahara-ci-config
branches:
- "master"
triggers:
- pollscm: "* * * * * "
builders:
- shell: "jenkins-jobs update jenkins_job_builder"
- job:
name: sahara-ci-syntax-check
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://git.openstack.org/openstack/sahara-ci-config\">https://git.openstack.org/openstack/sahara-ci-config</a></b>\
\n<p>This job check syntax in *.yaml, *.sh, *.py files"
disabled: false
concurrent: false
node: master
builders:
- gerrit-git-prep
- shell: "bash /opt/ci/files/sahara-ci-syntax-check.sh"
publishers:
- console-log
- job:
name: update-config
node: master
project-type: freestyle
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://git.openstack.org/openstack/sahara-ci-config\">https://git.openstack.org/openstack/sahara-ci-config</a></b>\
\n<p><b>Title</b>: Update job for Zuul and Nodepool <br/>\
\n<b>Description</b>: This job updates Zuul and Nodepool configs from sahara-ci-config repo. <br/>\
\n<b>Maintainer</b>: Sergey Kolekonov<br/>"
defaults: global
disabled: false
concurrent: false
scm:
- git:
url: https://git.openstack.org/openstack/sahara-ci-config
branches:
- "master"
triggers:
- pollscm: "* * * * * "
builders:
- shell: "$WORKSPACE/slave-scripts/update_config.sh"
- job:
name: update-pool
node: master
project-type: freestyle
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://git.openstack.org/openstack/sahara-ci-config\">https://git.openstack.org/openstack/sahara-ci-config</a></b>\
\n<p><b>Title</b>: Update Pool <br/>\
\n<b>Description</b>: This job updates vm pool using Nodepool. <br/>\
\n<b>Maintainer</b>: Sergey Kolekonov<br/>"
defaults: global
disabled: false
concurrent: false
properties:
- build-blocker:
blocking-jobs:
- ".*"
triggers:
- timed: '0 6 * * *'
builders:
- shell: "/opt/ci/files/update_pool.sh"
- job:
name: noop
node: master
project-type: freestyle
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://git.openstack.org/openstack/sahara-ci-config\">https://git.openstack.org/openstack/sahara-ci-config</a></b>\
\n<p><b>Title</b>: Update Pool <br/>\
\n<b>Description</b>: This job updates vm pool using Nodepool. <br/>\
\n<b>Maintainer</b>: Sergey Kolekonov<br/>"
defaults: global
disabled: false