Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the ruby 3.3 pipeline #537

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ expeditor:
timeout_in_minutes: 30

steps:
- label: run-lint-and-specs-ruby-3.1
- label: run-lint-and-specs-ruby-3.3
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:3.1-buster
image: ruby:3.3

- label: run-specs-windows-ruby-3.1
- label: run-specs-windows-ruby-3.3
command:
- bundle config --local path vendor/bundle
- bundle config set --local without docs debug
Expand All @@ -25,4 +25,4 @@ steps:
executor:
docker:
host_os: windows
image: rubydistros/windows-2019:3.1
image: rubydistros/windows-2019:3.3
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ group :debug do
end

group :test do
gem "chefstyle", "2.1.0"
gem "chefstyle", "2.2.3"
gem "rake"
gem "rspec", "~> 3.0"
end
4 changes: 2 additions & 2 deletions knife-vsphere.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Gem::Specification.new do |s|
s.description = "VMware vSphere support for Chef Infra's Knife command"
s.email = "[email protected]"
s.files = Dir["lib/**/*"] + %w{LICENSE}
s.required_ruby_version = ">= 3.1"
s.required_ruby_version = ">= 3.3"
s.homepage = "https://github.com/chef/knife-vsphere"
s.license = "Apache-2.0"
s.add_dependency "rbvmomi2", ">= 3.5.0", "< 4.0"
s.add_dependency "filesize", ">= 0.1.1", "< 0.3.0"
s.add_dependency "chef-vault", ">= 2.6"
s.add_dependency "knife", ">= 17"
s.add_dependency "knife", "~> 18"
end
1 change: 1 addition & 0 deletions spec/vsphere_vm_find_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require "spec_helper"
require "chef/knife/vsphere_vm_find"
require "ostruct"

class Hash
# An artifact of me using hashes to represent the VM -- the method needs to be there to mock
Expand Down
Loading