From 7677d050042446144926c89cca1ae87d6e3da76d Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Mon, 17 Jun 2024 17:42:58 +0530 Subject: [PATCH 1/2] updated the ruby version for unit test cases and chefstyle Signed-off-by: nikhil2611 --- .expeditor/verify.pipeline.yml | 12 ++++++------ .github/workflows/linters.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index bf9e340..b489830 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -10,26 +10,26 @@ expeditor: timeout_in_minutes: 30 steps: -- label: run-lint-and-specs-ruby-2.7 +- label: run-lint-and-specs-ruby-3.0 command: - .expeditor/run_linux_tests.sh rake expeditor: executor: docker: - image: ruby:2.7-buster + image: ruby:3.0-buster -- label: run-lint-and-specs-ruby-3.0 +- label: run-lint-and-specs-ruby-3.1 command: - .expeditor/run_linux_tests.sh rake expeditor: executor: docker: - image: ruby:3.0-buster + image: ruby:3.1-buster -- 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 diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 71a36f3..7fb2212 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: ['2.7', '3.0', '3.1'] + ruby: ['3.1', '3.2', '3.3'] name: Chefstyle on Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 From 891fe8e41fc17c945aa963d036e86510c8987e71 Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Wed, 19 Jun 2024 00:14:46 +0530 Subject: [PATCH 2/2] updated the ruby version Signed-off-by: nikhil2611 --- .expeditor/verify.pipeline.yml | 8 ++++---- kitchen-vcenter.gemspec | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index b489830..fff606a 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -10,21 +10,21 @@ expeditor: timeout_in_minutes: 30 steps: -- label: run-lint-and-specs-ruby-3.0 +- label: run-lint-and-specs-ruby-3.1 command: - .expeditor/run_linux_tests.sh rake expeditor: executor: docker: - image: ruby:3.0-buster + image: ruby:3.1-buster -- label: run-lint-and-specs-ruby-3.1 +- label: run-lint-and-specs-ruby-3.2 command: - .expeditor/run_linux_tests.sh rake expeditor: executor: docker: - image: ruby:3.1-buster + image: ruby:3.2-buster - label: run-lint-and-specs-ruby-3.3 command: diff --git a/kitchen-vcenter.gemspec b/kitchen-vcenter.gemspec index cb236b5..525514e 100644 --- a/kitchen-vcenter.gemspec +++ b/kitchen-vcenter.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.files = Dir["LICENSE", "lib/**/*"] spec.require_paths = ["lib"] - spec.required_ruby_version = ">= 2.7" + spec.required_ruby_version = ">= 3.1" spec.add_dependency "net-ping", ">= 2.0.0", "< 3.0" spec.add_dependency "rbvmomi2", ">= 3.5.0", "< 4.0"