summaryrefslogtreecommitdiff
path: root/tests/fixtures/zuul-connections-same-gerrit.conf
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2015-03-31 23:38:17 +1100
committerJoshua Hesketh <josh@nitrotech.org>2015-12-06 14:48:32 +1100
commitacccffce615a334021e20c998829d5d599723070 (patch)
tree8580a14aeab80bfa3fdd7893efac144d8420778b /tests/fixtures/zuul-connections-same-gerrit.conf
parent6b71aff8d87eac40c8ec806c4735c157d568fd90 (diff)
downloadzuul-acccffce615a334021e20c998829d5d599723070.tar.gz
Add in extra connections tests
Test reporting back to gerrit as a different user. Test multiple gerrit instances. Squashed with: Assign fake connections to test class dynamically As multiple connections can be configured for testing purposes, it makes more sense to be able to access them all comfortably. Drawback of this change is, that the dynamicism makes the code less readable and less obvious. Previously: If50567dd5a087e9fe46cd4e30f9e0562cda794d7 Co-Authored-By: Jan Hruban <jan.hruban@gooddata.com> Change-Id: I4652799c8b9a626bd2f7f6996d09c95da2953936
Diffstat (limited to 'tests/fixtures/zuul-connections-same-gerrit.conf')
-rw-r--r--tests/fixtures/zuul-connections-same-gerrit.conf42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/fixtures/zuul-connections-same-gerrit.conf b/tests/fixtures/zuul-connections-same-gerrit.conf
new file mode 100644
index 000000000..af31c8ade
--- /dev/null
+++ b/tests/fixtures/zuul-connections-same-gerrit.conf
@@ -0,0 +1,42 @@
+[gearman]
+server=127.0.0.1
+
+[zuul]
+layout_config=layout-connections-multiple-voters.yaml
+url_pattern=http://logs.example.com/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}
+job_name_in_report=true
+
+[merger]
+git_dir=/tmp/zuul-test/git
+git_user_email=zuul@example.com
+git_user_name=zuul
+zuul_url=http://zuul.example.com/p
+
+[swift]
+authurl=https://identity.api.example.org/v2.0/
+user=username
+key=password
+tenant_name=" "
+
+default_container=logs
+region_name=EXP
+logserver_prefix=http://logs.example.org/server.app/
+
+[connection review_gerrit]
+driver=gerrit
+server=review.example.com
+user=jenkins
+sshkey=none
+
+[connection alt_voting_gerrit]
+driver=gerrit
+server=review.example.com
+user=civoter
+sshkey=none
+
+[connection outgoing_smtp]
+driver=smtp
+server=localhost
+port=25
+default_from=zuul@example.com
+default_to=you@example.com