itamae-plugin-recipe-selenium 0.3.9 → 0.4.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: deff148923fcb779d22094385b9db231562e7c172c8aa4c494123ba369460dbb
4
- data.tar.gz: 719e6ebcf77eecb704d6195e9086a8547d64f0b2a5faba63254264565d556ad1
3
+ metadata.gz: f2fcba6f9966b7893280599d6af138dc5a52924ddf4646d5d4203204bfe5a973
4
+ data.tar.gz: 0e5a6a445fd3bbf28ce9725fec1c49d670f9e109019a06310f228081d14acc31
5
5
  SHA512:
6
- metadata.gz: 62e3a267d68b3db345657757a507b4cd8ddae99ac591a868b34649d4debf706a945510431802068f45a0d01b07c2938a3a7da13ce5983430341f0c0d0a943eef
7
- data.tar.gz: 7e2eb04d5d301bc580eb8ba56ffb9e3e0222ca6b49bec00261089a59acd4d911b6c500a3cae736bcce5a0c6ebc1c59ba6c91c5ac9525c183f75c636466c87693
6
+ metadata.gz: 603fa2d004338f3fc2bde161b883e0554207f5c5119f5fb92473876d0b52cf5cf695a40d36c6aef60bf505e7ade7ba54fc698342e3d3b4001fea995dd29efcb6
7
+ data.tar.gz: 1447374780be2bb017da90df3a8ca89ae95a17ee28edfacdc22374b595e2c3de31f5c92f8d22edddf80b989d00d21d7f45a44dec632e6d366c8056c4e7602b86
@@ -3,11 +3,15 @@ template '/etc/yum.repos.d/google-chrome.repo' do
3
3
  owner 'root'
4
4
  group 'root'
5
5
  mode '644'
6
+ variables disable_gpg_check: ['1', 'yes', 'true'].include?(ENV['CHROME_DISABLE_GPG_CHECK'].to_s.downcase)
6
7
  end
7
8
 
8
9
  if ENV['CHROME_VERSION'].to_s.empty?
9
- package 'google-chrome-stable' do
10
+ ENV['CHROME_VERSION'] = '114.0.5735.90'
11
+
12
+ 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
10
13
  user 'root'
14
+ not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (110|111|112|113|114)\.'"
11
15
  end
12
16
  else
13
17
  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
@@ -15,8 +19,3 @@ else
15
19
  not_if "which google-chrome-stable && google-chrome-stable --version | cut -d ' ' -f 3 | egrep \"^#{ENV['CHROME_VERSION']}$\""
16
20
  end
17
21
  end
18
-
19
- execute 'yum update -y google-chrome-stable' do
20
- user 'root'
21
- not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (110|111|112|113)\.'"
22
- end
@@ -2,5 +2,5 @@
2
2
  name=google-chrome
3
3
  baseurl=https://dl.google.com/linux/chrome/rpm/stable/x86_64
4
4
  enabled=1
5
- gpgcheck=1
5
+ gpgcheck=<%= @disable_gpg_check ? 0 : 1 %>
6
6
  gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Selenium
5
- VERSION = '0.3.9'
5
+ VERSION = '0.4.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.3.9
4
+ version: 0.4.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: 2023-05-26 00:00:00.000000000 Z
11
+ date: 2023-07-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.3.16
118
+ rubygems_version: 3.3.26
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: itamae recipe for god process monitoring framework