Add support for 'connection' concept
This is a large refactor and as small as I could feasibly make it
while keeping the tests working. I'll do the documentation and
touch ups in the next commit to make digesting easier.
Change-Id: Iac5083996a183d1d8a9b6cb8f70836f7c39ee910
diff --git a/tests/fixtures/layouts/good_merge_failure.yaml b/tests/fixtures/layouts/good_merge_failure.yaml
index f69b764..afede3c 100644
--- a/tests/fixtures/layouts/good_merge_failure.yaml
+++ b/tests/fixtures/layouts/good_merge_failure.yaml
@@ -3,47 +3,47 @@
manager: IndependentPipelineManager
merge-failure-message: "Could not merge the change. Please rebase..."
trigger:
- gerrit:
+ review_gerrit:
- event: patchset-created
success:
- gerrit:
+ review_gerrit:
verified: 1
failure:
- gerrit:
+ review_gerrit:
verified: -1
- name: post
manager: IndependentPipelineManager
trigger:
- gerrit:
+ review_gerrit:
- event: ref-updated
ref: ^(?!refs/).*$
merge-failure:
- gerrit:
+ review_gerrit:
verified: -1
- name: gate
manager: DependentPipelineManager
failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
trigger:
- gerrit:
+ review_gerrit:
- event: comment-added
approval:
- approved: 1
success:
- gerrit:
+ review_gerrit:
verified: 2
submit: true
failure:
- gerrit:
+ review_gerrit:
verified: -2
merge-failure:
- gerrit:
+ review_gerrit:
verified: -1
- smtp:
+ my_smtp:
to: you@example.com
start:
- gerrit:
+ review_gerrit:
verified: 0
precedence: high