itamae-plugin-recipe-selenium 0.1.7 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fae098f92cd907a2bacd01931d2bf92d912500d307033922a4c77501af682bfa
4
- data.tar.gz: 14d27ecbcb1b00a3068f902afd3416d6fb072d94f69f217d7d55bd0a087d68b0
3
+ metadata.gz: 25425c6288e24a3b2274b282a8f2947099da3aa6bd3bf262ddcd92c5fa22c3f0
4
+ data.tar.gz: b9426b5e5ae7fb53c5eb3e8dd6b7a237a3af38e5d9590409a8e09e99d6f6c4f3
5
5
  SHA512:
6
- metadata.gz: e97defdd91611a139d2c593408e21e2995cbba6b6ebd6073aea2bafb03e73f4cc13cf9b0ca1d8a31ef50a7712e3bede7a7322f1b86021dd88307386d4f8f4bb3
7
- data.tar.gz: ffd52d5358a3141cca5938f5ba46c1f440c2eb910edddc14eb9e6c5b268c1dffa8e61c1b226d6656ebad854a830092e3c2a09209064095489a096c920492274e
6
+ metadata.gz: 87c7fe0aa108470bcd1611ef6ee3889a24e2bf2215c0402a7563b4d9a033bf42f0b5d1608fadae7fdb60ba9ed21625326c5cee58a867db45401ad2e8a536667e
7
+ data.tar.gz: 661b62c0b2a9a60bbf92d32d68e25acd4a1287a465f470dd7e5c20c7c1956da6d3f70063c59ffd76f928dbd14a7612cfdc46ea808eb2e0c54d0d7f718e1beaf9
@@ -1,3 +1,5 @@
1
+ version = ENV['CHROME_VERSION'] || '94.0.4606.81'
2
+
1
3
  template '/etc/yum.repos.d/google-chrome.repo' do
2
4
  user 'root'
3
5
  owner 'root'
@@ -5,11 +7,12 @@ template '/etc/yum.repos.d/google-chrome.repo' do
5
7
  mode '644'
6
8
  end
7
9
 
8
- package 'google-chrome-stable' do
10
+ execute "yum install -y https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-#{version}-1.x86_64.rpm" do
9
11
  user 'root'
12
+ not_if "which google-chrome-stable && google-chrome-stable --version | cut -d ' ' -f 3 | egrep \"^#{version}$\""
10
13
  end
11
14
 
12
15
  execute 'yum update -y google-chrome-stable' do
13
16
  user 'root'
14
- not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (83|84|85|86|87)\.'"
17
+ not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (90|91|92|93|94)\.'"
15
18
  end
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Selenium
5
- VERSION = '0.1.7'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - y-matsuda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-02 00:00:00.000000000 Z
11
+ date: 2021-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.1.4
118
+ rubygems_version: 3.2.21
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: itamae recipe for god process monitoring framework