summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2022-03-21 19:43:03 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2022-03-21 19:43:03 -0700
commitf95a28f028e8f7daa35d2418128addda8febd13d (patch)
tree781b32f8dc444aca2b5a95c243ef29279752c036
parent2e8ca3f1434404f4d8ce62cdb15fea2496ee0ac1 (diff)
downloadchef-f95a28f028e8f7daa35d2418128addda8febd13d.tar.gz
Windows back to ruby 3.0, proxifier fork
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--.expeditor/verify.pipeline.yml10
-rw-r--r--Gemfile3
-rw-r--r--Gemfile.lock49
3 files changed, 36 insertions, 26 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 55c643e17d..808918985c 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -260,7 +260,7 @@ steps:
docker:
image: rubydistros/almalinux-8:3.1
-- label: "Functional Windows :ruby: 3.1"
+- label: "Functional Windows :ruby: 3.0"
commands:
- .expeditor/scripts/bk_win_functional.ps1
expeditor:
@@ -270,27 +270,27 @@ steps:
single-use: true
shell: ["powershell", "-Command"]
-- label: "Integration Windows :ruby: 3.1"
+- label: "Integration Windows :ruby: 3.0"
commands:
- /workdir/.expeditor/scripts/bk_win_integration.ps1
expeditor:
executor:
docker:
host_os: windows
- image: rubydistros/windows-2019:3.1
+ image: rubydistros/windows-2019:3.0
environment:
- FORCE_FFI_YAJL=ext
- CHEF_LICENSE=accept-no-persist
shell: ["powershell", "-Command"]
-- label: "Unit Windows :ruby: 3.1"
+- label: "Unit Windows :ruby: 3.0"
commands:
- /workdir/.expeditor/scripts/bk_win_unit.ps1
expeditor:
executor:
docker:
host_os: windows
- image: rubydistros/windows-2019:3.1
+ image: rubydistros/windows-2019:3.0
environment:
- FORCE_FFI_YAJL=ext
- CHEF_LICENSE=accept-no-persist
diff --git a/Gemfile b/Gemfile
index affd8adcc0..5827d92e69 100644
--- a/Gemfile
+++ b/Gemfile
@@ -33,6 +33,9 @@ group(:omnibus_package, :pry) do
gem "pry-stack_explorer"
end
+# proxifier gem is busted on ruby 3.1 and seems abandoned so use git fork of gem
+gem "proxifier", git: "https://github.com/chef/ruby-proxifier", branch: "lcg/ruby-3"
+
# Everything except AIX and Windows
group(:ruby_shadow) do
# if ruby-shadow does a release that supports ruby-3.0 this can be removed
diff --git a/Gemfile.lock b/Gemfile.lock
index 2e1405cb5e..95f25e1c2b 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -8,10 +8,10 @@ GIT
GIT
remote: https://github.com/chef/ohai.git
- revision: 996b52b8017f1378e4c29b4faeb9ed90db1e9579
+ revision: db6480f47f37954b9d3ac1fbb7837fbdb474646a
branch: main
specs:
- ohai (18.0.8)
+ ohai (18.0.9)
chef-config (>= 14.12, < 19)
chef-utils (>= 16.0, < 19)
ffi (~> 1.9)
@@ -26,6 +26,13 @@ GIT
wmi-lite (~> 1.0)
GIT
+ remote: https://github.com/chef/ruby-proxifier
+ revision: 41ead73b21956a39fca3376c9ff6f74096dc3c9b
+ branch: lcg/ruby-3
+ specs:
+ proxifier (1.0.3)
+
+GIT
remote: https://github.com/chef/ruby-shadow
revision: 3b8ea40b0e943b5de721d956741308ce805a5c3c
branch: lcg/ruby-3.0
@@ -188,7 +195,7 @@ GEM
chef-zero (>= 14.0)
net-ssh
coderay (1.1.3)
- concurrent-ruby (1.1.9)
+ concurrent-ruby (1.1.10)
corefoundation (0.3.13)
ffi (>= 1.15.0)
crack (0.4.5)
@@ -239,7 +246,7 @@ GEM
domain_name (~> 0.5)
httpclient (2.8.3)
iniparse (1.5.0)
- inspec-core (4.52.9)
+ inspec-core (4.56.17)
addressable (~> 2.4)
chef-telemetry (~> 1.0, >= 1.0.8)
faraday (>= 0.9.0, < 1.5)
@@ -252,7 +259,7 @@ GEM
parallel (~> 1.9)
parslet (>= 1.5, < 2.0)
pry (~> 0.13)
- rspec (>= 3.9, < 3.11)
+ rspec (>= 3.9, <= 3.11)
rspec-its (~> 1.2)
rubyzip (>= 1.2.2, < 3.0)
semverse (~> 3.0)
@@ -262,8 +269,8 @@ GEM
train-core (~> 3.0)
tty-prompt (~> 0.17)
tty-table (~> 0.10)
- inspec-core-bin (4.52.9)
- inspec-core (= 4.52.9)
+ inspec-core-bin (4.56.17)
+ inspec-core (= 4.56.17)
io-wait (0.2.1)
ipaddress (0.8.3)
iso8601 (0.13.0)
@@ -314,14 +321,13 @@ GEM
net-ssh (6.1.0)
netrc (0.11.0)
nori (2.6.0)
- parallel (1.21.0)
+ parallel (1.22.0)
parser (3.1.1.0)
ast (~> 2.4.1)
parslet (1.8.2)
pastel (0.8.0)
tty-color (~> 0.5)
plist (3.6.0)
- proxifier (1.0.3)
pry (0.13.0)
coderay (~> 1.1)
method_source (~> 1.0)
@@ -355,22 +361,22 @@ GEM
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.2.5)
- rspec (3.10.0)
- rspec-core (~> 3.10.0)
- rspec-expectations (~> 3.10.0)
- rspec-mocks (~> 3.10.0)
- rspec-core (3.10.2)
- rspec-support (~> 3.10.0)
- rspec-expectations (3.10.2)
+ rspec (3.11.0)
+ rspec-core (~> 3.11.0)
+ rspec-expectations (~> 3.11.0)
+ rspec-mocks (~> 3.11.0)
+ rspec-core (3.11.0)
+ rspec-support (~> 3.11.0)
+ rspec-expectations (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.10.0)
+ rspec-support (~> 3.11.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
- rspec-mocks (3.10.3)
+ rspec-mocks (3.11.0)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.10.0)
- rspec-support (3.10.3)
+ rspec-support (~> 3.11.0)
+ rspec-support (3.11.0)
rubocop (1.25.1)
parallel (~> 1.10)
parser (>= 3.1.0.0)
@@ -400,7 +406,7 @@ GEM
date
timeout (0.2.0)
tomlrb (1.3.0)
- train-core (3.8.7)
+ train-core (3.8.9)
addressable (~> 2.5)
ffi (!= 1.13.0)
json (>= 1.8, < 3.0)
@@ -508,6 +514,7 @@ DEPENDENCIES
fauxhai-ng
inspec-core-bin (~> 4.24)
ohai!
+ proxifier!
pry (= 0.13.0)
pry-byebug
pry-stack_explorer