This should allow us to start testing the latest versions of zuul again.
Change-Id: Ia41f1104bff14728291502c33110eff150d3a372
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This adds a database connection for testing, which will be required in
4.0+.
Change-Id: I3c9ba6aac023a0018d857bd3d34f54cdc26e4b79
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
-d will be removed in the next version of zuul.
Change-Id: Icbc6e0b6b82d5d7cb544d223614e741219b70fad
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Zuul 3.7.0 introduced a breaking configuration change, we now need to
define zookeeper hosts by default.
Disable 306 for ansible-lint until we can decided best fix.
Change-Id: Idd54f1ea75cccbb0dab7978ca4d7778fbc05bf42
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We get a lot of information from gerrit_io by default, default this to
INFO as not to grow logs to large.
Change-Id: Iefe9425b48458ed99b4e5653e0270a77e745e210
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
There really isn't a need to override these defaults, we also use -d
flag by default when starting services, so pidfile aren't actually
used.
Change-Id: Iac3d42b332563b6a850ed49bb750c6c0eae8ac36
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
With zuulv3 there is only a single configuration file now for
projects, no more external python files. Remove zuul_file_layout with
zuul_file_main_yaml.
Change-Id: I63d592999684b1437bb240405a62af0cc362e977
Depends-On: https://review.openstack.org/561475
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Merge these files into a single override.conf file.
Change-Id: I2ebfc8b5d0f85fc635a87adc2e2d607239287a92
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This was really to work around the need not to template our service
files. Mostly because I was scared how large and unmanageable they
would become. Let ansible do its job and remove the hacks we had in
our systemd unit file.
Change-Id: I5ae753d7c2a2d068750bd29400e7b736cc33df39
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We do this for ansible-role-nodepool, we might as well do it here.
Change-Id: I1976f05ec1ec6fdb69e255297dfa64ab00330e7c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Since gear support SSL certs, add in some support to place them into
the SSL folder. It is possible we might want to move this into an
ansible role, but for now it seems minimal to support it.
Change-Id: I5a3097a6026f648c6dbabb1e26e6a4d201f68c1c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
In zuulv3 we added the fingergw process, update our role to support
that.
Change-Id: I2978bb3c53c2f0ed56a6536be110cb471f157ab2
Depends-On: https://review.openstack.org/551015
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Zuulv3 creates zuul-web which is needed for log streaming, secrets and
various other things.
Change-Id: Ib3378e6f726d0781750a48f80fe276d63c5c68f5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
The scheduler now uses kazoo for zookeeper integration, add support
for it.
Change-Id: I74fd30ad3cf90d7ac2904b4db5f91961c59cbbef
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
The recommended way to setup service config files is with using:
systemctl edit foo.service
This updates our systemd configuration files to support this.
Change-Id: I405d6063ad3d5fd529139d7ce17c3238924f2e45
Depends-On: I92801be5fadc91c72e562b4b8dfb2ed1af24a320
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Now that zuulv3 is well into development, we can stop installing
things related to zuulv2.5.
Change-Id: Icd630871ad2991cdf884f6569237827100934138
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Now that we are running zuulv3-dev.o.o, we are in a good place to
switch to the feature/zuulv3 branch for our ansible role.
Switch out zuul-server with zuul-scheduler.
Add python2-dnf to bindep.txt for fedora-25 job.
Change-Id: Ib61063c9b542e04f2f14a165f23bc82062714bf8
Depends-On: Id54a479e2e1b406cd5fd526ec6d2ee118b28b8d7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This migrates installation of config files from using 'copy' to 'template',
allowing downstream users of the role the ability to carry a template in their
playbooks and have it easily rendered out simply by overriding the
zuul_file_*_dest variables.
Note, this omits layout.yaml for the time being
Depends-on: I32cc11901bddd03125e1c4ce6f246d811f414cba
Change-Id: I9f5890a54ded2b0169aa76501828e7856e0d6583
Simplify things by only passing the zuul.conf file, not a template.
If users need more dynamic options, they are free to template the file
first then use us to copy the file in place.
Change-Id: Ibd599b3ece707682eff9650a2244c0fb092f601c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Fix issue on Debian and finally add tests to confirm things work as
expected. Zuul-merger doesn't support reloading so lets remove it.
Change-Id: I14a8d4992d08a291fda6d9679dea7dc83379feda
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Allow the user to override the location of the zuul.conf templaste.
Also added a few missing settings (layout_config).
Change-Id: I1c7674223146287396d5559bd4dee9eaa292f13c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>