Commit Graph

7 Commits

Author SHA1 Message Date
Monty Taylor 6bd802239f Retire repo
Depends-On: https://review.opendev.org/720892
Change-Id: I4944284ff2900bd607992a3884e7f1ee38d7e100
2020-04-22 10:24:35 -05:00
Colleen Murphy ca36d793b3 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: Ib1db911eafec6b208c9f0375d22d0cf8a18cc48b
2017-08-18 10:28:34 +02:00
Colleen Murphy 593e930d71 Fix beaker on xenial
Since the beaker jobs are being run on xenial, we need a special nodeset
for it, otherwise beaker gives an error:

 beaker-hostgenerator was not able to use this value as input.
 Exiting with an Error.

We also want to install puppet from the Ubuntu repos rather than from
puppetlabs, since puppetlabs doesn't support puppet 3 for Xenial. For
centos we can keep the install process the same.

This patch includes additional fixes for issues that were probably
present when the tests were first merged:

- make sure the irc pip package is installed by the puppet class
- use double quotes for the channels.yaml fixture so properly render the
  newline characters
- add "access" and "global" sections to the channels.yaml fixture since
  accessbot will otherwise be unable to parse the file
- remove spec assertions about the accessbot process, because if it was
  successful it should have exited during the puppet run, and in fact if
  it didn't exit the puppet run would have failed.
- correct the group name the spec is asserting of the config file

Additionally, out of band from this patch, the nick 'accessbot-test' is
nowregistered on freenode. If it's not registered, it becomes stuck in
the irc infinite loop without performing any actions. This does not mean
it has any permissions to make any real access changes.

Change-Id: Ifd2244ae9dd212b2475f9cd6adb994bc058a4769
Depends-On: I23d0a9c0f4b6ecbb3403447adb03e845d2695366
2017-06-10 20:03:53 +02:00
Jenkins a76de09122 Merge "Basic acceptance tests" 2015-08-31 12:52:43 +00:00
Spencer Krum 8ccfb65197 Basic acceptance tests
Change-Id: I14799b09ccdf4d792328ba1de7a5581c528faa1e
2015-08-20 14:12:31 -07:00
Spencer Krum f0c50dec00 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: Iaf5c5b1e463757c2d2054f488411a5bf1b78b145
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:32:42 -07:00
Spencer Krum 8ecfcf2bf0 Boilerplate beaker-rspec files
Change-Id: Ifec75f741f6963052d79f246f80aa4fa562ad9c0
2015-07-28 02:03:27 -07:00