Alter config format to lists of dictionaries

Rather than the previous dictionary of lists.

Change-Id: I0f8ffba15da489da097b14388699685f22b0579f
diff --git a/tests/fixtures/config/in-repo/common.yaml b/tests/fixtures/config/in-repo/common.yaml
index f38406b..58b2051 100644
--- a/tests/fixtures/config/in-repo/common.yaml
+++ b/tests/fixtures/config/in-repo/common.yaml
@@ -1,5 +1,5 @@
-pipelines:
-  - name: check
+- pipeline:
+    name: check
     manager: independent
     source:
       gerrit
@@ -13,7 +13,8 @@
       gerrit:
         verified: -1
 
-  - name: tenant-one-gate
+- pipeline:
+    name: tenant-one-gate
     manager: dependent
     success-message: Build succeeded (tenant-one-gate).
     source:
diff --git a/tests/fixtures/config/in-repo/main.yaml b/tests/fixtures/config/in-repo/main.yaml
index df7dadd..e8b7665 100644
--- a/tests/fixtures/config/in-repo/main.yaml
+++ b/tests/fixtures/config/in-repo/main.yaml
@@ -1,5 +1,5 @@
-tenants:
-  - name: tenant-one
+- tenant:
+    name: tenant-one
     include:
       - common.yaml
     source: