Skip to content

Commit

Permalink
drop support for chrome 115, 116, 117
Browse files Browse the repository at this point in the history
add support for chrome 118, 119, 120
  • Loading branch information
ichylinux committed Dec 7, 2023
1 parent 492cd78 commit fc73904
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/itamae/plugin/recipe/selenium/chrome.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
end

if ENV['CHROME_VERSION'].to_s.empty?
ENV['CHROME_VERSION'] = '117.0.5938.92'
ENV['CHROME_VERSION'] = '120.0.6099.71'

execute "yum install -y https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-#{ENV['CHROME_VERSION']}-1.x86_64.rpm" do
user 'root'
not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (115|116|117)\.'"
not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (118|119|120)\.'"
end
else
execute "yum install -y https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-#{ENV['CHROME_VERSION']}-1.x86_64.rpm" do
Expand Down
2 changes: 1 addition & 1 deletion lib/itamae/plugin/recipe/selenium/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Itamae
module Plugin
module Recipe
module Selenium
VERSION = '0.4.3'
VERSION = '0.4.4'
end
end
end
Expand Down

0 comments on commit fc73904

Please sign in to comment.