From f3caab5b5e61bddf8e646fd4217bc3cdddd9583e Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Thu, 2 Oct 2014 10:59:45 -0700 Subject: [PATCH] Add buildimages job for Sahara It's only in check pipeline, non-voting and for master branch. Change-Id: Ib2bb2ce5f60de733cecde0396dbc1b00e692dc5a --- jenkins/jobs/projects.yaml | 2 ++ jenkins/jobs/sahara.yaml | 17 +++++++++++++++++ zuul/layout.yaml | 4 ++++ 3 files changed, 23 insertions(+) create mode 100644 jenkins/jobs/sahara.yaml diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 617431fd12..10cd4d65e7 100644 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -1319,6 +1319,8 @@ jobs: - python-jobs - pypi-jobs + - 'check-sahara-buildimages-{plugin}': + plugin: vanilla - project: name: swift-bench diff --git a/jenkins/jobs/sahara.yaml b/jenkins/jobs/sahara.yaml new file mode 100644 index 0000000000..102c3182f6 --- /dev/null +++ b/jenkins/jobs/sahara.yaml @@ -0,0 +1,17 @@ +- job-template: + name: 'check-sahara-buildimages-{plugin}' + node: bare-trusty + + builders: + - link-logs + - net-info + - gerrit-git-prep + - shell: | + #!/bin/bash -xe + sudo mkdir -p /opt/sahara-image-build + sudo chown $(whoami) /opt/sahara-image-build + export DEST=/opt/sahara-image-build + ./tools/gate/build-images {plugin} + + publishers: + - console-log diff --git a/zuul/layout.yaml b/zuul/layout.yaml index bd75940437..d6fa7e5d77 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -609,6 +609,9 @@ jobs: voting: false - name: gate-sahara-pylint voting: false + - name: check-sahara-buildimages-vanilla + branch: ^master$ + voting: false - name: gate-kite-python33 voting: false - name: ^(gate|check)-tempest-master @@ -2418,6 +2421,7 @@ projects: - name: publish-to-pypi check: - gate-sahara-image-elements-pep8 + - check-sahara-buildimages-vanilla gate: - gate-sahara-image-elements-pep8 post: