From 4d0f0c06ef688ebf1862aab78f1d14f6570e9b22 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 5 Oct 2015 09:37:24 -0400 Subject: [PATCH] Create experimental grafyaml gate job Because we are planning on including grafyaml dashboards in project-config we'll need to properly gate on them. A follow up patch will be adding tox -egrafyaml to do just this. Additionally, this job will only match with tox.ini and the contents of grafana change. Additionally, the grafyaml dashboards created in the follow up patch are not actually consumed into production yet. We still need to add the puppet logic to handle that. Change-Id: I497801f2de6dbfcb2b9644bedf361b5fa66463fd Signed-off-by: Paul Belanger --- jenkins/jobs/infra.yaml | 13 +++++++++++++ zuul/layout.yaml | 6 ++++++ 2 files changed, 19 insertions(+) diff --git a/jenkins/jobs/infra.yaml b/jenkins/jobs/infra.yaml index deb77be56d..16b2f2bdc4 100644 --- a/jenkins/jobs/infra.yaml +++ b/jenkins/jobs/infra.yaml @@ -36,6 +36,19 @@ publishers: - zuul-swift-upload-console-log +- job: + name: gate-project-config-grafyaml + node: 'bare-precise || bare-trusty' + + builders: + - revoke-sudo + - gerrit-git-prep + - tox: + envlist: 'grafyaml' + + publishers: + - zuul-swift-upload-console-log + - job: name: gate-project-config-layout node: 'bare-precise || bare-trusty' diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 32faae9561..2f9243ce68 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -1060,6 +1060,11 @@ jobs: - 'specs/.*' - 'tox.ini' + - name: gate-project-config-grafyaml + files: + - '^grafana/.*$' + - 'tox.ini' + - name: gate-project-config-projects-yaml files: - 'check_valid_gerrit_projects.py' @@ -6220,6 +6225,7 @@ projects: - propose-project-config-update experimental: - gate-project-config-dib + - gate-project-config-grafyaml - name: openstack-infra/project-config-example template: