Skip to content

Commit

Permalink
updated the pipeline to win ruby 3.3
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Jul 19, 2024
1 parent 29259c1 commit 01513ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
17 changes: 0 additions & 17 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,13 @@ expeditor:
timeout_in_minutes: 30

steps:
- label: run-lint-and-specs-ruby-3.1
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:3.1-buster
- label: run-lint-and-specs-ruby-3.3
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:3.3
- label: run-specs-windows-3.1
command:
- bundle config set --local without docs debug
- bundle install --jobs=7 --retry=3
- bundle exec rake
expeditor:
executor:
docker:
host_os: windows
image: rubydistros/windows-2019:3.1
- label: run-specs-windows-3.3
command:
- bundle config set --local without docs debug
Expand Down
7 changes: 2 additions & 5 deletions knife-google.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
$:.push File.expand_path("lib", __dir__)
require "knife-google/version"
puts"git version----------"
cmd = `git --version`
puts cmd

Gem::Specification.new do |s|
s.name = "knife-google"
Expand All @@ -14,9 +11,9 @@ Gem::Specification.new do |s|
s.description = s.summary
s.homepage = "https://github.com/chef/knife-google"
s.files = %w{LICENSE} + Dir.glob("lib/**/*")
s.test_files = `git ls-files -- spec/*`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = ["lib"]
s.required_ruby_version = ">= 3.1"
s.required_ruby_version = ">= 3.3"

s.add_dependency "knife"
s.add_dependency "knife-cloud", ">= 4.0.0"
Expand Down

0 comments on commit 01513ec

Please sign in to comment.