Commit Graph

12 Commits

Author SHA1 Message Date
Clark Boylan 86a69a5b4d 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: I46ccab87f063c51dd3236757dbb0567738803fae
2022-02-17 12:46:57 -08:00
Clark Boylan e266e84982 Remove idempotency spec checks
The idempotency checks race external changes like updates to
project-config or nodepool. This often causes this job to fail when we
are busy updating other parts of our sytems.

Idempotency is nice but not necessary. Lets remove these checks to make
testing more reliable.

Change-Id: I1092b3a2f4b781465c2148336076677d3c07211e
2019-05-24 08:40:38 -07:00
Monty Taylor 05d6bd00bf Fix opendev paths
Change-Id: I9c8e8c6bcc8f58f044a0772b0ebfcc5a985a74bf
2019-04-20 15:26:42 +00:00
Colleen Murphy d0ee5c2cf4 Add beaker tests for nodepool
Add tests for the nodepool launcher and builder. Since by default this
uses the nodepool configuration found in openstack-infra/project-config,
fudge the hostnames so that it can find a real config file.

Depends-On: https://review.openstack.org/577519
Change-Id: I036c1afc0414f846c9112ef5bc5f3abd486f3147
2018-08-14 13:03:40 +00:00
Colleen Murphy 96d2457b3f 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: I1b9ca7f38920a2c901ae16f6302af9b3a1ab36b6
Depends-On: I18ed6cd2f8ee472a66cf580e3e183d14c00e6877
2017-07-09 19:27:18 +02:00
Colleen Murphy d6869b436b Fix beaker-rspec tests for centos7
We recently made the epel repository disabled by default, which was
where we were installing puppet from. Since the only reason we weren't
using the beaker functions to install puppet was because of Xenial, we
can just go back to using them for CentOS.

Change-Id: Ib3b2b0b69900313643344908bbacaa9bd03ade93
2017-04-13 22:37:52 +02:00
Colleen Murphy 4fcbc8bf7c Fix beaker-rspec tests
The puppet-openstackci beaker tests have been failing for all the puppet
modules since they began running on Ubuntu Xenial nodes. This was
because there was no Xenial-specific nodeset file for beaker to run and
it was simply failing upon being unable to find the file.

This patch adds the ubuntu-xenial nodeset. Further, it forgoes the
install_puppet function because it attempts to install puppet 3 from the
puppetlabs apt repo, which does not support Xenial. Because we're
no longer using the install_puppet function, we also need to set default
values for the host object so that we can access things like
host['distmoduledir']. Finally, we add the libffi-dev package since the
keyring pip package requires it to build and it does not seem to be in
our Xenial images.

Change-Id: I8cc44e78116d6a7c8406e6c03756acb63c70834f
2017-03-19 16:17:22 +01:00
Paul Belanger d3af5ef78a
Use openstack-infra jenkins users public ssh key
In migrating to zuul-launcher, we exposed an issue where the
acceptance testing was replacing the our actually SSH public key in
the gate.  Because zuul-launcher does multiple SSH connections to the
node, we end up getting locked out when we attempt to copy over the
logs after the test has been successful.

Change-Id: Ia3e57f645cf11064451570ea0013100666d41bbc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-06-09 13:35:45 -04:00
Fabien Boucher 686b77cc97 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: Ic057d89728c5f329fdc0783bf2c49097d64cb9bc
2015-08-19 10:39:23 +00:00
Spencer Krum f9f5dd2d91 Check resources in the openstackci::loghost class
This serves mostly to exercise beaker testing.

Change-Id: Ie6655295ec0b6215a681cc4c03f368ff5aa05190
2015-07-08 14:45:23 -07:00
James E. Blair 314c714e34 Update spec helper for zuul-cloner
Use zuul-cloner or a raw modules install to populate puppet module
dependencies during acceptance testing. Most of the scripting is placed
in system-config so that we don't repeat ourselves.
Spec_helper_acceptance.rb is responsible for making sure system-config
is up to date.

Cribbed from I0f63df75fd1a206af7452b239840fd466e6ec080

Change-Id: I81d669513a4f15dbf8879e05401605f94b2dc523
Depends-On: I517954d26409f2fbe96588f40f6f07316d85843d
Co-Authored-By: Monty Taylor <mordred@inaugust.com>
Co-Authored-By: Spencer Krum <nibz@spencerkrum.com>
Co-Authored-By: Colleen Murphy <colleen@gazlene.net>
2015-07-08 13:51:12 -07:00
Spencer Krum cdc03e1cc8 Add beaker boilerplate to openstackci
Updated for suggestions from crinkle. Left spec_helper_acceptance alone
because jeblair's change is the right place to make that modification.

Change-Id: Ic1aa2a0a78ea74661e95399e1e6393af5cf687b0
2015-07-03 10:59:26 -07:00