summaryrefslogtreecommitdiff
path: root/tests/fixtures/config/single-tenant
diff options
context:
space:
mode:
authorAdam Gandelman <adamg@ubuntu.com>2017-02-03 16:59:58 -0800
committerJames E. Blair <jeblair@redhat.com>2017-02-06 16:21:43 -0800
commitea9ac9bca4cc83ab2b633a4073415bb78f06ccb9 (patch)
tree34a83eddd5e81a9e5ad6fb2a4ae89acbf75f67e2 /tests/fixtures/config/single-tenant
parent72ae9dac74bd65721e15ce016804f3c3dad333de (diff)
downloadzuul-ea9ac9bca4cc83ab2b633a4073415bb78f06ccb9.tar.gz
Re-enable test_mutex
Change-Id: I9356917e18b5584a1c734ecd75c2d75656acab4d Story: 2000773 Task: 3465
Diffstat (limited to 'tests/fixtures/config/single-tenant')
-rw-r--r--tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/mutex-one.yaml2
-rw-r--r--tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/mutex-two.yaml2
-rw-r--r--tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/project-test1.yaml2
-rw-r--r--tests/fixtures/config/single-tenant/git/layout-mutex/zuul.yaml33
4 files changed, 39 insertions, 0 deletions
diff --git a/tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/mutex-one.yaml b/tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/mutex-one.yaml
new file mode 100644
index 000000000..f679dceae
--- /dev/null
+++ b/tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/mutex-one.yaml
@@ -0,0 +1,2 @@
+- hosts: all
+ tasks: []
diff --git a/tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/mutex-two.yaml b/tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/mutex-two.yaml
new file mode 100644
index 000000000..f679dceae
--- /dev/null
+++ b/tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/mutex-two.yaml
@@ -0,0 +1,2 @@
+- hosts: all
+ tasks: []
diff --git a/tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/project-test1.yaml b/tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/project-test1.yaml
new file mode 100644
index 000000000..f679dceae
--- /dev/null
+++ b/tests/fixtures/config/single-tenant/git/layout-mutex/playbooks/project-test1.yaml
@@ -0,0 +1,2 @@
+- hosts: all
+ tasks: []
diff --git a/tests/fixtures/config/single-tenant/git/layout-mutex/zuul.yaml b/tests/fixtures/config/single-tenant/git/layout-mutex/zuul.yaml
new file mode 100644
index 000000000..e91903a59
--- /dev/null
+++ b/tests/fixtures/config/single-tenant/git/layout-mutex/zuul.yaml
@@ -0,0 +1,33 @@
+- pipeline:
+ name: check
+ manager: independent
+ source:
+ gerrit
+ trigger:
+ gerrit:
+ - event: patchset-created
+ success:
+ gerrit:
+ verified: 1
+ failure:
+ gerrit:
+ verified: -1
+
+- job:
+ name: project-test1
+
+- job:
+ name: mutex-one
+ mutex: test-mutex
+
+- job:
+ name: mutex-two
+ mutex: test-mutex
+
+- project:
+ name: org/project
+ check:
+ jobs:
+ - project-test1
+ - mutex-one
+ - mutex-two