From e04fd6ef66ec90bc66f8aced5834127651782c10 Mon Sep 17 00:00:00 2001
From: Ricardo Carrillo Cruz <ricardo.carrillo.cruz@gmail.com>
Date: Tue, 1 Sep 2015 10:41:33 +0200
Subject: [PATCH] Remove ansible-lint-jobs from infra-ansible gate and enable
 experimental job

Currently ansible-lint-jobs does not work with
the infra-ansible repo, that job is only meant
for ansible roles.

This patch removes ansible-lint-jobs from the check
and gate queue for infra-ansible and set noops to
allow merges.
It also introduces the gate-infra-ansible job on
the experimental queue for testing, would enable
that on check/gate when we get confidence on it.

Change-Id: I8b6871d24e79817685e1ca2b21d4334ac9ad5e39
---
 jenkins/jobs/infra.yaml | 13 +++++++++++++
 zuul/layout.yaml        |  4 +++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/jenkins/jobs/infra.yaml b/jenkins/jobs/infra.yaml
index d6f113e488..5ba97e13f4 100644
--- a/jenkins/jobs/infra.yaml
+++ b/jenkins/jobs/infra.yaml
@@ -217,3 +217,16 @@
       - zuul-swift-upload-logs-with-console:
           upload_source: 'output/*'
 
+- job:
+    name: gate-infra-ansible
+    node: 'bare-precise || bare-trusty'
+
+    builders:
+      - ansible-prep
+      - ansible-lint-prep
+      - revoke-sudo
+      - gerrit-git-prep
+      - run-tests
+
+    publishers:
+      - console-log
diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index edbcee09ce..ac5f8947b0 100755
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -5494,7 +5494,9 @@ projects:
   - name: openstack-infra/infra-ansible
     template:
       - name: merge-check
-      - name: ansible-lint-jobs
+      - name: noop-jobs
+    experimental:
+      - gate-infra-ansible
 
   - name: openstack-infra/infra-manual
     template: