itamae-plugin-recipe-selenium 0.1.8 → 0.3.1

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: 056c8ba7fc2be5e7cb78fe80754019e44d740205d4cafa5bbd055450b88c8d56
4
- data.tar.gz: fd55c6a9c05c88846c724f3b20533a3bd99d3b11a47e98644f6f59f4f6be6b66
3
+ metadata.gz: 3066d95ae7c32b48bfd2f7d9430e79c8282b9556b296d0dccca15494a9a591e3
4
+ data.tar.gz: 4215a327d89028a1cbc67b65fac0de470b2befa0b62923de79b8b0af30772d22
5
5
  SHA512:
6
- metadata.gz: c217d013d2064491acbd9c5f3a63557c0f6f7efc3b03a2ec381bb248c7a8c14611c1e0442d5b531800162745ff2bc4ffed9fb6876fc7ec2eabf58df2896cf469
7
- data.tar.gz: 8c69273ae2fe09c6b31ee32872c7c3eca75a6d0ef821c643e01702184ca816420e827efe32581a1f35803c04092db55c44b87eb54cf7c3edd7ac7b44e3adffba
6
+ metadata.gz: fa603f41a02ccb40c6a9d5ec44053983b87e82b1cad8dec5e18615b37a9cbcb38d9fa78e4deb563204c66def5f12b73688c3695992abd30fe51bc9c6ccf942d4
7
+ data.tar.gz: 0cb9ef0b76cb0ea26f65279d840d1b2ddf37988147d1c4d9359cd014d3510726c3cfb311df8f2c753a458a454e3820a91b916a70118ecdcf80f582d1d74436f1
@@ -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 (86|87|88|89|90)\.'"
17
+ not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (90|91|92|93|94)\.'"
15
18
  end
@@ -1,5 +1,9 @@
1
1
  include_recipe './tmp_directory'
2
2
 
3
+ package 'unzip' do
4
+ user 'root'
5
+ end
6
+
3
7
  setup_selenium_driver "setup chromedriver" do
4
8
  type :chrome
5
9
  tmp_dir '/tmp/itamae-plugin-recipe-selenium'
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Selenium
5
- VERSION = '0.1.8'
5
+ VERSION = '0.3.1'
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.8
4
+ version: 0.3.1
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-05-01 00:00:00.000000000 Z
11
+ date: 2021-11-08 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.2.16
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