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>
This allows us to drop setup.cfg / setup.py files.
Change-Id: I80243d7d619f8d724fab7c44dc6c1164f3aa5fb3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Expose the ability for a user to create a symlink to a zuul
virtualenv, this is usually needed when you start trying to version
different virtualenv installs.
Change-Id: Icef1ac5c412e6c905c6490899dffa47262812466
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>
It is possible we want to enable a service on boot, but don't want to
ensure it is currently running. This splits our systemd tasks into 2
different checks now.
Change-Id: Ic4d9cd8f770f72c262a099dddd6372c155bae133
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Zuul doesn't (yet) support reloads when zuul.conf changes. For this, you
need to actually stop / start the services.
Change-Id: I7e0932e27bc68777d40a6efa350569a205274f43
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
As an example, if we are only install zuul-web, a user might not want
logging files from other services. However, installing them won't hury
anything, so do that by default.
Change-Id: I3c43259a1a6f1bfc35911fa6e1c9d4f506c05f40
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Give the ability for a user to override the default shell for zuul user
account.
Change-Id: I30cb9a13f4eaf799abb627a99780aef84eaec286
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
A new release of ansible-lint is out, which has now set a default line
length of 120 chars.
Change-Id: Iecb0d6b69ad1280b328ef4ff1568d1b41d1e6a55
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
There is no issues running ubuntu-bionic, so stop gating on
ubuntu-xenial to save CI resources.
Change-Id: If3df793eddb52b03c32afb028f69186c26e474d5
Depends-On: https://review.openstack.org/623074
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
As is contains secrets for github connection driver.
Change-Id: I6fa51a4c1fe91cc6c9d89f136edb60c2df4f2e76
Depends-On: https://review.openstack.org/593992
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Running yamllint, this exposed the follow warnings. Lets clean them up
before we switch to molecule.
Change-Id: I7eec334124e8c5eecb5a0b5670f0e512ef50a607
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This is the latest LTS for ubuntu, and we are ready to gate.
Change-Id: I439ea800b01130eda65e2ffd41ff9f10612adbd0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This makes it easier for openstack-infra to upgrade fedora nodes.
Change-Id: Ib5c4b285361c10d5bcdcdaa71d55537393b628d5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Until we actually provide wheels for all dependencies, we have to
revert this.
This reverts commit 6f0e13b909.
Change-Id: I221a7474f5b52059125a7480f432a5ac3b3b648e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Currently 2.4.0 is the oldest release of ansible, everything later is
EOL. Update our meta data into include this and the platforms we
currently tests with.
Change-Id: I52501c5916f7812be0ce0fbaaec5be82aa30a093
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Commit Id1b9d7334db78d0f13db33d47a80ffdb65f921df added a new build
dependency to support regex matching of github status.
Change-Id: Id99037602e4e501545714f3485f3603177422717
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>
There is no need to loop over the list of packages, this is actually
slower.
Change-Id: Ifd7d9b9608d25b7078a215bce57babf18c4abce6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We actually want to ensure users are able to use our roles outside of
openstack-infra. Since those users won't have wheel mirrors, disable
our jobs from using them too.
Change-Id: I219f8980c5e0ee18cfa80b64ae179156cff7ee2b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Moving forward, we'll only support zuul under python3.
Change-Id: I3fdabe07e6aceff68442dfb295fb3c24d6e05b58
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We want to encourge users to use the released versions of zuul, so
flip the switch to pip. We still support git and will continue to
test against it.
Change-Id: I72c99d162efd9fbdbb0ed9363a6779a379a06264
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
When installing zuul from pip (pypi.python.org) there is no need
to install the build dependenies as we download the wheel.
Change-Id: I2c33e0a0a92b5b7386b952626200473cc77fbb93
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Because we want users to support both pip / git install methods,
refactor testing to support the testing of that.
Change-Id: I8c6bfa94b22af73f84ead571d04181e4cfb8330e
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>
Currently all but zuul-web support the commandsocket, so use that over
kill which systemd does by default.
Change-Id: Ic4eacbf6c74c8b722189780b1845ece0ff485b99
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Currently all the other services in zuul do not support it, so we can
remove this logic as it is not needed.
Change-Id: I013c4331070491197a119ff2b2317efa2bce4bc4
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>
It is helpful when systemd fails for our services, to collect logs and
see why that is.
Change-Id: I084e4985d33caa77607b3ff1211837fe86a753ca
Signed-off-by: Paul Belanger <pabelanger@redhat.com>