Commit Graph

18 Commits

Author SHA1 Message Date
Paul Belanger e467267dd2 Move files into windmill-config
This breaks out all configuration / inventory files into the
windmill-config repo.

Change-Id: I54233307afbe2b76e4456ab1d55073c79da718f5
Depends-On: https://review.openstack.org/640857
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-03-04 23:35:05 -05:00
Paul Belanger ec7a464e2a Add yamllint to tox -elinters
This adds and enabled strict yamllinting on our playbooks / roles.

Change-Id: Ie66ab53c7d6ed4dee1d18a30bdadd9c679549d47
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-12-12 20:59:38 -05:00
Paul Belanger 9d8e5eaeea Support multiple zookeeper hosts for zuul.conf
Change-Id: Ic60c67364305245444f6de6250a4621a578448ad
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-12-07 23:47:03 -05:00
Paul Belanger 5037a1a47a More places for statsd to be optional
Again, if statsd group doesn't have any hosts, don't enable it for our
services.

Change-Id: Ideea60580b37365c006d344ef8d8d2286181f0bf
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-12-07 20:37:44 -05:00
Paul Belanger 74fae84e26 Have openstacksdk manage our clouds.yaml file
We can move this logic into the role now.

Change-Id: I7bcc2b700a3d06ce662dc5a7fb3c938657a7fbf1
Depends-On: https://review.openstack.org/623532
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-12-07 15:23:35 -05:00
Paul Belanger 12f3699294 Switch to ubuntu-bionic for nodepool images
Bionic has been working for some time, lets switch to using it.

Change-Id: I33ee5e113bcd08da4216ca4880af480c0912272b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-08-20 23:07:39 -04:00
Paul Belanger 8ceeb20468
Work around zuul-jobs bug
Bake the tox package into our DIB elements to make tox jobs work.  We
should revert this once zuul-jobs has been updated to work properly
with the ensure-tox role.

Change-Id: Id5c672f040d791b14787c895d260afd328ad2702
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-05-15 19:55:15 -04:00
Zuul 1cf09f6031 Merge "Add example zuul connection and main.yaml file" 2018-05-15 20:32:24 +00:00
Paul Belanger e8254a3b54
Add example zuul connection and main.yaml file
Expose the ability for a user to configure these settings.

Change-Id: I999f727b46c60485ce69d06af4189fc9628e63e3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-05-15 14:25:13 -04:00
Paul Belanger 1e33e9c09d
Additional settings for zuul.conf
A few settings needed to run zuul, git username / email for mergers
and path to SSH key needed for executor.

Change-Id: I4d93c2716f2ab5b74539856ca862a90c75e7fbc1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-16 23:13:59 -04:00
Paul Belanger e8b400a6e2
Add support for zuul_file_main_yaml
We recently update ansible-role-zuul to support main.yaml for zuul.
Add an example configuration for windmill.

Change-Id: Iab506f322732757918f96567f28d2a9a830eed3f
Depends-On: https://review.openstack.org/561473
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-15 16:51:20 -04:00
Paul Belanger 9d6fbc0626
Remove /etc/zuul/config from collect-logs
We are in the process of removing this folder from ansible-role-zuul,
delete it so we can land the change.

Also 2 step the removal of /etc/zuul/config/layout.yaml from
zuul.conf.j2.

Change-Id: Ic8a8e316ea91cf7ee4ad22590f5ce59d8c5ee8a8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-15 16:50:49 -04:00
Paul Belanger 0c6650d157
Add zuul-worker element for nodepool
This adds a DIB element to allow nodepool-builder and zuul-executor to
properly SSH into a VM launched by nodepool-launcher.

Change-Id: I5c21f6d5a9e5e0ca963aa78c8dcab14ce55365a8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-08 21:23:56 -04:00
Paul Belanger 0dc4c4ac6f
Rework zuul SSH keys for gerrit
Because zuul uses multiple SSH keys, rename the existing gerrit SSH
key to allow for additional SSH keys.

Change-Id: Iefd507d79a26e77b6bb7b85774dd2d2a48706485
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-08 18:15:30 -04:00
Paul Belanger 37374741bb
Add elements for nodepool-builder
Expose a place for users to start writing custom elements for
nodepool-builder.

Change-Id: I311fbf1c23d16939b91dd94f566dcd4509fc502e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-08 17:10:30 -04:00
Paul Belanger efec031631
Set DIB_IMAGE_CACHE in nodepool.yaml
Move cache directory for nodepool-builder to /opt/nodepool/cache, this
is helpful for people that want to setup an external volume.

Change-Id: I1967328c693a5554fe11c12c4b57f4d4613832a1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-08 13:28:27 -04:00
Paul Belanger 6fea9f5a96
Clean up windmill-config a bit
Noticed a few things when we moved the configuration into the new
folder. Trivial refactor.

Change-Id: I4ed475a7a09dc6aab559b1cc308892541d11ca49
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-08 11:23:50 -04:00
Paul Belanger 7f1d866066
Moving conifguration into windmill-config
This is the first commit which will start to move our end user
configuration into its own git repo.  For now, we can just move this
into the top-level config directory, but eventually this will be
placed in an external repo which users will then be able to clone and
modify locally.

Change-Id: I2db520b5b5349f30bd2495a7f1b686dc4de21c5f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-07 21:58:05 -04:00