Commit Graph

17 Commits

Author SHA1 Message Date
Clark Boylan 278862b3f2 Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: I1d3a8a3999e75be00844a314fa7f52c37e28f9d4
2022-02-17 13:02:43 -08:00
James E. Blair 311e638d8a Update to new zuul JS content url
Also, remove the idempotency check since it's not compatible with
install-ara-safely.

Change-Id: If0d1f127644b0a897f2fd4869b635435b2f60e81
2019-07-24 16:18:40 -07:00
David Shrewsbury 8d7153dbb3 Install objgraph package
The objgraph library is used to grab object counts for memory leak
detection. We already have this installed on zuul01, but that appears
to have been done manually. This cements the install.

Since puppet-nodepool requires the same packages (yappi and objgraph),
wrap both of the installs in a conditional check to prevent puppet
errors about being defined in multiple places.

Change-Id: I63ab5a21f7b98341bb203883f40c2df5404687ba
2019-04-22 14:22:10 -04:00
Ian Wienand a1d11f90fe Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ic33f4903f6ca065b733960e3c476f591d5774044
2019-03-24 20:35:47 +00:00
Monty Taylor fa66845b5b
Split v2 and v3 web config
In v3, we need to be able to use some variables from zuul/web.pp in the
vhost template, but the vhost is created in ::zuul because of how v2
worked.

Split the config, and split where we're defining it so that in the next
patch we can make use of variables from zuul/web.pp.

Change-Id: I3e1c72bb773be050854f5563d09f6c19af8bc6dc
Depends-On: https://review.openstack.org/557085
2018-03-27 19:04:13 -05:00
Monty Taylor 2fb12bb339
Update zuul-web install for javascript stack
With the update to the use of yarn/webpack for the zuul-web javascript
stack, there is now a pre-built tarball of the web assets. Update the
code to use it.

An alternative to this approach would be to install nodejs and yarn on
the machine and just do a pip install . in the zuul source dir which
would also work ... but since there is an option that doesn't require
the need to run the build tools, why not use it?

Because spec/acceptance/fixtures/default.pp is hard-coded to the
zuulv3 install path, we can remove the now unnecessary checks from it.

Move the status backups to /var/lib/zuul/backup, instead of www/backup
as the www directory no longer exists.  Also remove it as the
documentroot.

Depends-On: https://review.openstack.org/547790
Change-Id: Ib88b48ddea26ef5d8d0d152774112844b180f77e
2018-03-07 18:22:47 -06:00
Monty Taylor f9e69bc8f4
Re-enable gearman port listening check
postconditions was starting zuul, not zuul-scheduler. If we start
zuul-scheduler, then gearman should be running.

Change-Id: Icf228843495717fbb89b76b4ebad6b74d6e72b54
2018-01-21 10:19:39 -06:00
Clark Boylan ab65041a1a Fix whitespace in ara install version checking
We have extra whitespace in the pip installed package listing that we
don't have in the upstream pypi package search so our string comparison
of the versions breaks. Fix this by trimming extra whitespace.

Change-Id: I04b28508ff9371397d42957f0d086aa9bb63a4f7
2018-01-20 18:23:33 +00:00
James E. Blair 737b2ff8ee
Update spec acceptance to zuulv3
This removes the test for the status page contents over HTTP because
zuul-web is not capable of providing that without a functional
configuration.

Change-Id: I53e30b053e6963e85247769ec6443439f9144582
2018-01-20 12:21:41 -06:00
Colleen Murphy 11ad996786 Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: Ie43d7fd4860f7c0f9593bdd7b5b4cd5b54bcadf4
2017-08-22 22:40:04 +02:00
Colleen Murphy 58e66ed91f Fix beaker on xenial
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.

Change-Id: I2c17666694ab95ea13a636e5939d507bf860df2b
2017-06-11 18:23:33 +02:00
James E. Blair c213072713 Install build-essential instead of just gcc
pyzmq used by the launcher requires g++

Change-Id: I333d6df6cd8a912e2f0eeb6a20ef15cea01bca3b
2016-05-20 09:59:20 -07:00
James E. Blair ecb035077c Exercise the launcher in beaker tests
Change-Id: I825fcc621d4801881680b4955bac308d0e7b3f18
2016-05-12 14:50:04 -07:00
James E. Blair 35bb715829 Correct beaker test
The validation in the beaker test had extra escaping.

Change-Id: Icfd5ae3e9dd28cb7fd19ba7f98cd39f9d7e60d25
2016-04-26 10:06:18 -05:00
Glauco Oliveira 741f4fd6da Add acceptance tests for puppet-zuul
Add acceptance tests for puppet-zuul module so that once the module is
applied we check if files were created, packages were installed and
services were started.

Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>

Change-Id: I2bd7dbc29c05f9e29127d48a284913bd34fae438
2015-09-28 11:15:35 -03:00
Fabien Boucher 3bfd558542 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: Iafe0970b5d498ca3cd9d768415fbac0dc4a7c16b
2015-08-19 10:46:27 +00:00
Spencer Krum de580bc463 Boilerplate beaker-rspec files
Change-Id: I7886c6b4ef6d324e5c9bcd289efab77cdb14bea1
2015-07-28 02:06:33 -07:00