Skip to content

Commit 6871b40

Browse files
authored
Merge pull request #69 from OpenVoxProject/gh-64-revert-pr-65
Gh 64 revert pr 65
2 parents 749850f + 61fa2bd commit 6871b40

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.github/workflows/acceptance.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ on:
3131
description: '(Version) Package version to test. (required if Pre-release Build is true)'
3232
type: string
3333
collection:
34-
description: '(Collection) OpenVox collection to use. (ignored if Pre-release Build is true)'
34+
description: |-
35+
(Collection) OpenVox collection to use. (ignored if Pre-release Build is true)
36+
37+
NOTE: This should really only be set to openvox8 when
38+
testing the main branch. If you need to test openvox7, you
39+
should run the pipeline from the 7.x branch instead.
3540
default: 'openvox8'
3641
type: string
3742
artifacts-url:

acceptance/tests/validate_vendored_openssl.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,9 @@ def create_bat_wrapper(host, file, command)
1919
agents.each do |agent|
2020
openssl = openssl_command(agent)
2121

22-
puppet_version = on(agent, puppet('--version')).stdout.chomp
23-
expected_openssl = case puppet_version
24-
when /^7\./ then 1
25-
else 3
26-
end
27-
2822
step "check openssl version" do
2923
on(agent, "#{openssl} version -v") do |result|
30-
assert_match(/^OpenSSL #{expected_openssl}\./, result.stdout)
24+
assert_match(/^OpenSSL 3\./, result.stdout)
3125
end
3226
end
3327

acceptance/tests/validate_vendored_ruby.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ def setup_build_environment(agent)
2121
# We add `--enable-system-libraries` to use system libsqlite3
2222
gem_install_sqlite3 = "env GEM_HOME=/opt/puppetlabs/puppet/lib/ruby/vendor_gems " + gem_command(agent) + " install sqlite3 -- --enable-system-libraries"
2323
install_package_on_agent = package_installer(agent)
24-
25-
puppet_version = on(agent, puppet('--version')).stdout.chomp
26-
rubygems_version = ((agent['platform'] =~ /aix-7\.2/) ||
27-
(puppet_version =~ /^7\./)) ? '3.4.22' : ''
24+
rubygems_version = agent['platform'] =~ /aix-7\.2/ ? '3.4.22' : ''
2825
on(agent, "#{gem_command(agent)} update --system #{rubygems_version}")
2926

3027
case agent['platform']

0 commit comments

Comments
 (0)