dlss-capistrano 4.1.0 → 4.1.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: 1702874c90a70b558db39872139922c1bc1f513813925c50c378cf3eac575f24
4
- data.tar.gz: 1a4c30ef36c1ccf64c9883bd0b0cced6aee568958db25d74160c1d7e71ed025d
3
+ metadata.gz: 7c83f228efbada9563b37dee41ba9d92c9c0739be6ae0852e9141fd8bdfa27d8
4
+ data.tar.gz: b32eb019a8ff21b5e492a91c8a59ff133aed7f07b0143e6c49953c794c5b3ed6
5
5
  SHA512:
6
- metadata.gz: b9ab79dc66765e0c794966b6e6969d060d8c3f8de8b9bcac19c659f0630da6a85b5ae8b474257f98fb71313ed103938dd2d1dbdb736ca34b15e421be928f5fc7
7
- data.tar.gz: 427abdeb794947a38336829bcd5cd3ad9b7bc5b64f0e262f98cfc52bdc4485196a3fdfa74a30fe91150ba63fa856034dfc307fc6c87a39e433134d2e289540c5
6
+ metadata.gz: b09739793af365242f7e7295fded043596973d12ae22096fd526411a7843ed495d93d43ea77a2b8211c0bf7d4529ad3005162e222302b0d7f17ede5a48f857a8
7
+ data.tar.gz: 39394b595c334c1ba591bdd8bcab7053a951281261e312703feb00efbf4a9e327a1c935f376bf9eaeeb35e8d98a305a0e97713dc39aa3ee1ab89143e671ff049
@@ -4,7 +4,7 @@ $:.unshift lib unless $:.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "dlss-capistrano"
7
- s.version = '4.1.0'
7
+ s.version = '4.1.1'
8
8
 
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Chris Beer", 'Mike Giarlo']
@@ -21,7 +21,7 @@ namespace :bundled_sidekiq do
21
21
 
22
22
  # NOTE: no `desc` here to avoid publishing this task in the `cap -T` list
23
23
  task :symlink do
24
- on roles fetch(:bundled_sidekiq_roles) do
24
+ on roles(fetch(:bundled_sidekiq_roles)) do
25
25
  within release_path do
26
26
  bundled_sidekiq_path = capture(:bundle, :info, '--path', :sidekiq)
27
27
  execute(:ln, '-sf', bundled_sidekiq_path, "#{shared_path}/bundled_sidekiq")
@@ -8,7 +8,7 @@ end
8
8
 
9
9
  desc 'Run status checks'
10
10
  task :check_status do
11
- on roles fetch(:check_status_roles), in: :sequence do |host|
11
+ on roles(fetch(:check_status_roles)), in: :sequence do |host|
12
12
  status_url = "https://#{host}#{fetch(:check_status_path)}"
13
13
 
14
14
  info "Checking status at #{status_url}"
@@ -24,28 +24,28 @@ namespace :sidekiq_systemd do
24
24
 
25
25
  desc 'Stop workers from picking up new jobs'
26
26
  task :quiet do
27
- on roles fetch(:sidekiq_systemd_role) do
27
+ on roles(fetch(:sidekiq_systemd_role)) do
28
28
  sudo :systemctl, 'reload', 'sidekiq-*', raise_on_non_zero_exit: false
29
29
  end
30
30
  end
31
31
 
32
32
  desc 'Stop running workers gracefully'
33
33
  task :stop do
34
- on roles fetch(:sidekiq_systemd_role) do
34
+ on roles(fetch(:sidekiq_systemd_role)) do
35
35
  sudo :systemctl, 'stop', 'sidekiq-*'
36
36
  end
37
37
  end
38
38
 
39
39
  desc 'Start workers'
40
40
  task :start do
41
- on roles fetch(:sidekiq_systemd_role) do
41
+ on roles(fetch(:sidekiq_systemd_role)) do
42
42
  sudo :systemctl, 'start', 'sidekiq-*', '--all'
43
43
  end
44
44
  end
45
45
 
46
46
  desc 'Restart workers'
47
47
  task :restart do
48
- on roles fetch(:sidekiq_systemd_role) do
48
+ on roles(fetch(:sidekiq_systemd_role)) do
49
49
  sudo :systemctl, 'restart', 'sidekiq-*', raise_on_non_zero_exit: false
50
50
  end
51
51
  end
@@ -23,21 +23,21 @@ namespace :sneakers_systemd do
23
23
 
24
24
  desc 'Stop running workers gracefully'
25
25
  task :stop do
26
- on roles fetch(:sneakers_systemd_role) do
26
+ on roles(fetch(:sneakers_systemd_role)) do
27
27
  sudo :systemctl, 'stop', 'sneakers'
28
28
  end
29
29
  end
30
30
 
31
31
  desc 'Start workers'
32
32
  task :start do
33
- on roles fetch(:sneakers_systemd_role) do
33
+ on roles(fetch(:sneakers_systemd_role)) do
34
34
  sudo :systemctl, 'start', 'sneakers'
35
35
  end
36
36
  end
37
37
 
38
38
  desc 'Restart workers'
39
39
  task :restart do
40
- on roles fetch(:sneakers_systemd_role) do
40
+ on roles(fetch(:sneakers_systemd_role)) do
41
41
  sudo :systemctl, 'restart', 'sneakers', raise_on_non_zero_exit: false
42
42
  end
43
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlss-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-04-06 00:00:00.000000000 Z
12
+ date: 2022-04-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano