The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.
Change-Id: I086c465732003c674b6df421a26bbaad1c5748bf
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: If5989b7a19ae2f41d8873ad94b3b0cec532820cc
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.
Change-Id: Ie33063f40e8e6ea7c51d9965e66cc26482d53c58
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.
[0]. https://docs.puppetlabs.com/guides/style_guide.html
Change-Id: I54071ce317178febf2e28e11858a247ba2f070fe
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: Iea3f6041800c832f02d304c998d13897a1c51383
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix lint
errors caught by the puppet-lint-empty_string-check gem:
- releasestatus base class: replacing empty string defaults with undef
- releasestatus::site class: replacing empty string defaults with
reasonable default values inspired by system-config's usage
Change-Id: I7ce45ac86da0d7dcdb90deb292973c8cdde0421a
Specify dates and projects for the Liberty cycle and switch
status.o.o/release to track that instead of good'ol Kilo.
Change-Id: I369ba6a728dd99de22b472ce0b135b9c85a847a7
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.
Change-Id: Id56237a34c6a1b2caabd526f82d0f9aae7861593
Specify dates and projects for the Kilo cycle and switch
status.o.o/release to track that instead of Juno.
Change-Id: I0a07ad03a7459fc9256fde45016cd5de6c324ff5
Release status page generation is broken since we renamed 'oslo' to
'oslo-incubator' in Launchpad. This fixes it.
This also removes oslo.messaging which is no longer tracked as part
of the Juno release (it has its separate release schedule).
Change-Id: I5cca639a7de2e05dd291ac93da4d67651575b065
oslo.messaging is using it's own LP project, distinct from oslo, but we
still want to track it as part of the general release status.
Change-Id: I8c70be21db85a77fb9f09478bccaf0aeb95ae571
Switch status.o.o/release to track Icehouse development instead of
havana, now that we have a release schedule for Icehouse.
Change-Id: I225d84c304fcd1d3b6bdee9931f44b4255370978
A run on a new server produces:
err: /Stage[main]/Openstack_project::Static/Releasestatus::Site[releasestatus]/File[/srv/static/release]: Failed to generate additional resources using 'eval_generate: undefined method `relative_path' for nil:NilClass
err: /Stage[main]/Openstack_project::Static/Releasestatus::Site[releasestatus]/File[/srv/static/release]: Could not evaluate: Could not retrieve information from environment production source(s) file:/var/lib/releasestatus/releasestatus/static at /opt/config/production/modules/releasestatus/manifests/site.pp:36
Change-Id: Iff895f56cf676f13f9b55f564d907c285dd49f6e
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.
Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
Following the LP project rename, adjust releasestatus's list of
integrated projects accordingly.
Change-Id: I812b7f3a183967d3c1740b61b406b844950a9866
Reviewed-on: https://review.openstack.org/34697
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
At random, some hosts within Rackspace refuse to send IPv6 packets
with DSCP marker 0x10 (lowdelay). This is the default behavior of
recent OpenSSH servers and clients, and results in SSH sessions
hanging on these hosts. When static.openstack.org was rebuilt a few
months ago, we did not immediately realize it suffered from this
problem as Rackspace thought they'd fixed the issue previously. We
have an open trouble ticket with them for the past several months to
get it addressed properly, but have no resolution yet. In the
meantime, we have this lovely workaround...
* modules/releasestatus/files/ssh_config: New SSH config file forces
IPv4 when connecting to review.openstack.org from the releasestatus
account.
* modules/releasestatus/manifests/init.pp: Installs the new SSH
config file.
Change-Id: I2968fc00750e3a5a23c08a3007318fd2e336b251
Reviewed-on: https://review.openstack.org/30944
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Elizabeth Krumbach Joseph <lyz@princessleia.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Add an SSH keypair for releasestatus so that it can connect to
review.openstack.org to grab review data. Also add review.o.o
public key to known_hosts.
The data in hiera was already added.
Change-Id: I193dfad5b229a0c193ce35d5a8917b0b3b86c117
Reviewed-on: https://review.openstack.org/30881
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
Now that the conflicting directory has been cleared out.
Change-Id: I7fb86258a431c4ee8ecf94eab0c6e95ceeb67b03
Reviewed-on: https://review.openstack.org/29826
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
The directory conflicts with the vcsrepo resource.
See next commit which adds the vcsrepo back.
Change-Id: I8292c9ad91951364f34517a0f582bdb611f6c2db
Reviewed-on: https://review.openstack.org/29825
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
Deploy releasestatus under static.openstack.org, as a first step
towards getting rid of the old-wiki.o.o redirection.
The static.o.o releasestatus will be accessible for testing at:
http://status.openstack.org/release.new
If everything behaves properly we'll get rid of the redirect and
make it accessible under http://status.openstack.org/release in a
future commit.
Prerequisite is to complete the git repo move under openstack-infra.
Change-Id: I3d71dc897c16a9ab2d85b6c304a6c8b800ba939e
Reviewed-on: https://review.openstack.org/28966
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins