voxpupuli-acceptance 4.2.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dff7f66ed1398195a0da713706cbb61bfeee31e1a94dd80ce7fc90ff11d7b16
4
- data.tar.gz: 7f4b04f3f5896d83c85111887a18bd31144e6ca21c2b4e7f975f7dca1b122a4f
3
+ metadata.gz: a12043f39bd791514605acfdc415e200247f78d9f0009f25715874711d222ecf
4
+ data.tar.gz: 4a380cc1f5c759ab4767cf55381b819767fe6b7d99dee3d3a4c5d1d87704e15d
5
5
  SHA512:
6
- metadata.gz: e0156fbd7dde90ba9b577b136d58dd7b736a96649ae0cacc8b8619fa3f2298c6bc47f3dab2839898b0d1f8f69e1e4ebca2a9ce5f8031b9c9ef79907844c647b0
7
- data.tar.gz: 676313376ec3a341257d6bdeb5c449b4a02816f256e787d3baba670a6cef831bb0233cfd283dc20550b2ce8da814eafb5de4515b4791922693ee76dd210a8e83
6
+ metadata.gz: e1eecd0397c049a77a3c98c9bde4d3e19a15c94910412854e20940e5d090952decf3c400b8ac9ae634cff7d2c2217cfea1f9d86c6f2651bcaf0054f34956ab5c
7
+ data.tar.gz: 0ecfc10c8442602f3e3de8e1ee7a30d224940b9d72add136668d0899649db59f53baf57770ee9138e4fc1ebd5c9b38090418f6a4e4ac8ef7d8c50428e00fbde6
@@ -5,6 +5,8 @@ require_relative 'serverspec_extensions'
5
5
 
6
6
  def configure_beaker(modules: :metadata, &block)
7
7
  collection = ENV['BEAKER_PUPPET_COLLECTION'] || 'openvox8'
8
+ staging_url = ENV['BEAKER_STAGING_URL'] || 'https://artifacts.voxpupuli.org/openvox-agent'
9
+ staging_version = ENV.fetch('BEAKER_STAGING_VERSION', nil)
8
10
  ENV['BEAKER_DEBUG'] ||= 'true'
9
11
  ENV['BEAKER_HYPERVISOR'] ||= 'docker'
10
12
 
@@ -18,7 +20,11 @@ def configure_beaker(modules: :metadata, &block)
18
20
 
19
21
  unless ENV['BEAKER_PROVISION'] == 'no'
20
22
  block_on hosts, run_in_parallel: true do |host|
21
- if collection != 'preinstalled'
23
+ if collection == 'staging'
24
+ raise StandardError, "staging server '#{staging_url}' configured, but no BEAKER_STAGING_VERSION environment variable set" unless staging_version
25
+
26
+ BeakerPuppetHelpers::InstallUtils.install_openvox_agent_from_url_on(host, staging_url, staging_version)
27
+ elsif collection != 'preinstalled'
22
28
  if collection != 'none'
23
29
  BeakerPuppetHelpers::InstallUtils.install_puppet_release_repo_on(host, collection)
24
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voxpupuli-acceptance
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
@@ -289,14 +289,14 @@ dependencies:
289
289
  requirements:
290
290
  - - "~>"
291
291
  - !ruby/object:Gem::Version
292
- version: 5.1.0
292
+ version: 5.2.0
293
293
  type: :development
294
294
  prerelease: false
295
295
  version_requirements: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - "~>"
298
298
  - !ruby/object:Gem::Version
299
- version: 5.1.0
299
+ version: 5.2.0
300
300
  description: A package that depends on all the gems Vox Pupuli modules need and methods
301
301
  to simplify acceptance spec helpers
302
302
  email:
@@ -316,7 +316,11 @@ files:
316
316
  homepage: https://github.com/voxpupuli/voxpupuli-acceptance
317
317
  licenses:
318
318
  - Apache-2.0
319
- metadata: {}
319
+ metadata:
320
+ source_code_uri: https://github.com/voxpupuli/voxpupuli-acceptance
321
+ changelog_uri: https://github.com/voxpupuli/voxpupuli-acceptance/blob/main/CHANGELOG.md
322
+ bug_tracker_uri: https://github.com/voxpupuli/voxpupuli-acceptance/issues
323
+ rubygems_mfa_required: 'true'
320
324
  rdoc_options: []
321
325
  require_paths:
322
326
  - lib
@@ -327,14 +331,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
327
331
  version: '3.2'
328
332
  - - "<"
329
333
  - !ruby/object:Gem::Version
330
- version: '4'
334
+ version: '5'
331
335
  required_rubygems_version: !ruby/object:Gem::Requirement
332
336
  requirements:
333
337
  - - ">="
334
338
  - !ruby/object:Gem::Version
335
339
  version: '0'
336
340
  requirements: []
337
- rubygems_version: 3.6.9
341
+ rubygems_version: 4.0.6
338
342
  specification_version: 4
339
343
  summary: Helpers for acceptance testing Vox Pupuli modules
340
344
  test_files: []