simp-beaker-helpers 1.10.8 → 1.10.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 203f131bf48ef1e75d99c5e856f454abb1eeff54934caae0e776ba3c0e6ad5d5
4
- data.tar.gz: 9494a7808631eeb917fa7c898621aa6c4e1e761c719cf9738dd340107c03529c
3
+ metadata.gz: 223492b0f5036b559a0c04da80157c2b2700388c0d7680472a451784f7d01831
4
+ data.tar.gz: b2e4c80cba2b8e5cc0d96c3458eeb2b4f950951c49f54e6eaf70df1841c6476d
5
5
  SHA512:
6
- metadata.gz: 78fd7c23dec2661905180b85f5bcb3342be28216285519108ee12a43b0812424b57969252dcc8837b11f2825e33dfecce9fb89a2b6c46de3d910be60c11f8584
7
- data.tar.gz: c7dd37b296aeaafc44004cb6621b22a36c92e4b601ea619a926a203fb302f3000d45188d9fa106a4cf726bb144873616d309129b3b103a9c30d95fb9d5c7cb0a
6
+ metadata.gz: bc1f0e774cd4757bd0c5e830ab37b464cf25a5f6c7302c339f2e64b5253580eb1cd7c64c5d10640e860f307b732a11299aea12ea08eadc1bd45d91cb996c2300
7
+ data.tar.gz: 33397590133eba25fcb848dbf01f0c7573d8d0bb4483340877349969cb3e41fcf506c3d94d08cc99a7db694b330540cd12554d4fbc72ddae3e91f0abfe98257b
@@ -1,3 +1,10 @@
1
+
2
+ ### 1.10.9 /2018-06-22
3
+ * Ensure that the SSG is built from the latest tag instead of master
4
+ * Provide the option to pass a specific branch to the SSG builds
5
+ * Pin the suite base directory off of the global base directory instead of
6
+ local to wherever the system happenes to be at the time.
7
+
1
8
  ### 1.10.8 / 2018-05-18
2
9
  * New env var BEAKER_no_fix_interfaces, set to skip the fix that brings up all
3
10
  vagrant interfaces
@@ -8,6 +8,13 @@ module Simp::BeakerHelpers
8
8
  GIT_REPO = 'https://github.com/OpenSCAP/scap-security-guide.git'
9
9
  end
10
10
 
11
+ # If this is not set, the closest tag to the default branch will be used
12
+ GIT_BRANCH = nil
13
+
14
+ if ENV['BEAKER_ssg_branch']
15
+ GIT_BRANCH = ENV['BEAKER_ssg_branch']
16
+ end
17
+
11
18
  EL_PACKAGES = [
12
19
  'PyYAML',
13
20
  'cmake',
@@ -139,6 +146,11 @@ module Simp::BeakerHelpers
139
146
  on(@sut, %(mkdir -p scap-security-guide && tar -xj -C scap-security-guide --strip-components 1 -f #{ssg_release} && cp scap-security-guide/*ds.xml #{@scap_working_dir}))
140
147
  else
141
148
  on(@sut, %(git clone #{GIT_REPO}))
149
+ if GIT_BRANCH
150
+ on(@sut, %(cd scap-security-guide; git checkout #{GIT_BRANCH}))
151
+ else
152
+ on(@sut, %(cd scap-security-guide; git checkout $(git describe --abbrev=0 --tags)))
153
+ end
142
154
  on(@sut, %(cd scap-security-guide/build; cmake ../; make -j4 #{OS_INFO[@os][@os_rel]['ssg']['build_target']}-content && cp *ds.xml #{@scap_working_dir}))
143
155
  end
144
156
  end
@@ -1,5 +1,5 @@
1
1
  module Simp; end
2
2
 
3
3
  module Simp::BeakerHelpers
4
- VERSION = '1.10.8'
4
+ VERSION = '1.10.9'
5
5
  end
@@ -111,7 +111,8 @@ module Simp::Rake
111
111
  # Need to figure out how to capture the errors
112
112
  failures = Hash.new
113
113
 
114
- suite_basedir = 'spec/acceptance/suites'
114
+ suite_basedir = File.join(@base_dir, 'spec/acceptance/suites')
115
+
115
116
  if ENV['BEAKER_suite_basedir']
116
117
  suite_basedir = ENV['BEAKER_suite_basedir']
117
118
  end
@@ -23,6 +23,11 @@ Gem::Specification.new do |s|
23
23
  s.add_runtime_dependency 'beaker-puppet_install_helper', '~> 0.6'
24
24
  s.add_runtime_dependency 'highline', '~> 1.6'
25
25
 
26
+ # Because fog-opensack dropped support for Ruby < 2.2.0
27
+ if RUBY_VERSION <= '2.2.0'
28
+ s.add_runtime_dependency 'fog-openstack', '0.1.25'
29
+ end
30
+
26
31
  ### s.files = Dir['Rakefile', '{bin,lib,spec}/**/*', 'README*', 'LICENSE*'] & `git ls-files -z .`.split("\0")
27
32
  s.files = `git ls-files`.split("\n")
28
33
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simp-beaker-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.8
4
+ version: 1.10.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-06-04 00:00:00.000000000 Z
12
+ date: 2018-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: beaker