Skip to content
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
47 changes: 4 additions & 43 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,60 +11,21 @@ expeditor:

steps:

- label: run-specs-ruby-2.7
- label: run-specs-ruby-3.3
command:
- .expeditor/run_linux_tests.sh "rake spec"
expeditor:
executor:
docker:
image: ruby:2.7
image: ruby:3.3

- label: run-specs-ruby-3.0
command:
- .expeditor/run_linux_tests.sh "rake spec"
expeditor:
executor:
docker:
image: ruby:3.0

- label: run-specs-ruby-3.1
command:
- .expeditor/run_linux_tests.sh "rake spec"
expeditor:
executor:
docker:
image: ruby:3.1


- label: run-specs-ruby-2.7-windows
command:
- .expeditor/run_windows_tests.ps1
expeditor:
executor:
docker:
host_os: windows
shell: ["powershell", "-Command"]
image: rubydistros/windows-2019:2.7
user: 'NT AUTHORITY\SYSTEM'

- label: run-specs-ruby-3.0-windows
command:
- .expeditor/run_windows_tests.ps1
expeditor:
executor:
docker:
host_os: windows
shell: ["powershell", "-Command"]
image: rubydistros/windows-2019:3.0
user: 'NT AUTHORITY\SYSTEM'

- label: run-specs-ruby-3.1-windows
- label: run-specs-ruby-3.3-windows
command:
- .expeditor/run_windows_tests.ps1
expeditor:
executor:
docker:
host_os: windows
shell: ["powershell", "-Command"]
image: rubydistros/windows-2019:3.1
image: rubydistros/windows-2019:3.3
user: 'NT AUTHORITY\SYSTEM'
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
ruby-version: 3.3
bundler-cache: true
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR
- run: bundle exec chefstyle
Expand All @@ -37,10 +37,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up ruby 3.1
- name: Set up ruby 3.3
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
ruby-version: 3.3
bundler-cache: true
- name: run specs
run: bundle exec rake spec --trace
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ source "https://rubygems.org"
gemspec

group :development do
gem "chefstyle", "2.2.2"
gem "chefstyle", "2.2.3"
gem "rake", ">= 10.1.0"
gem "rspec", "~> 3.0"
gem "rspec", "~> 3.12"
gem "simplecov"
end

Expand Down
4 changes: 2 additions & 2 deletions chef-apply.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
spec.description = "Ad-hoc management of individual nodes and devices."
spec.homepage = "https://github.com/chef/chef-apply"
spec.license = "Apache-2.0"
spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 3.3"

spec.files = %w{Rakefile LICENSE warning.txt} +
Dir.glob("Gemfile*") + # Includes Gemfile and locks
Expand All @@ -49,7 +49,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "train-winrm" # winrm transports were pulled out into this plugin
spec.add_dependency "pastel" # A color library
spec.add_dependency "tty-spinner" # Pretty output for status updates in the CLI
spec.add_dependency "chef", ">= 16.0" # Needed to load cookbooks
spec.add_dependency "chef", "~> 18.0"
spec.add_dependency "chef-cli", ">= 2.0.10 " # Policyfile
spec.add_dependency "chef-telemetry", ">= 1.0.2"
spec.add_dependency "license-acceptance", ">= 1.0.11", "< 3"
Expand Down