summaryrefslogtreecommitdiff
path: root/tests/fixtures/zuul-executor-hostname.conf
diff options
context:
space:
mode:
authorTobias Henkel <tobias.henkel@bmw.de>2017-10-17 13:08:18 +0200
committerTobias Henkel <tobias.henkel@bmw.de>2017-10-17 15:49:09 +0200
commit055cda35c375e93c813e320f14e5ac0e4f979310 (patch)
treefe5cc14703b183321770f7db0e172b02a587a9b2 /tests/fixtures/zuul-executor-hostname.conf
parent38de87bf37981a9800db5a6f7015cc3110bd16df (diff)
downloadzuul-055cda35c375e93c813e320f14e5ac0e4f979310.tar.gz
Make executor hostname configurable
The executor needs to know its hostname as it embeds it into the finger url. In some environments it cannot correctly determine its own hostname so the finger url (and thus live log streaming) would not work. Making the hostname configurable can solve this easily in such environments. Change-Id: Ifeb639b4499d737e9045508c4f66aefa950effa6
Diffstat (limited to 'tests/fixtures/zuul-executor-hostname.conf')
-rw-r--r--tests/fixtures/zuul-executor-hostname.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/fixtures/zuul-executor-hostname.conf b/tests/fixtures/zuul-executor-hostname.conf
new file mode 100644
index 000000000..7db144d8a
--- /dev/null
+++ b/tests/fixtures/zuul-executor-hostname.conf
@@ -0,0 +1,32 @@
+[gearman]
+server=127.0.0.1
+
+[statsd]
+# note, use 127.0.0.1 rather than localhost to avoid getting ipv6
+# see: https://github.com/jsocol/pystatsd/issues/61
+server=127.0.0.1
+
+[scheduler]
+tenant_config=main.yaml
+
+[merger]
+git_dir=/tmp/zuul-test/merger-git
+git_user_email=zuul@example.com
+git_user_name=zuul
+
+[executor]
+git_dir=/tmp/zuul-test/executor-git
+hostname=test-executor-hostname.openstack.org
+
+[connection gerrit]
+driver=gerrit
+server=review.example.com
+user=jenkins
+sshkey=fake_id_rsa_path
+
+[connection smtp]
+driver=smtp
+server=localhost
+port=25
+default_from=zuul@example.com
+default_to=you@example.com