railman-deployment 2.2.1 → 2.2.2

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: 40821fa34d8aff4b075eee178d95da07bea1c88c98b9b8a34224ebfc69b104b1
4
- data.tar.gz: 504a7e906fe9d9177082dc9e48324e8e2407b2f32c2af8ba63b1acad6f694b26
3
+ metadata.gz: 8d40d5a23e96633ebed6670a8fb64956555433d6f6abd9ce5c02f02d3baaacb9
4
+ data.tar.gz: 9af2c420994be20dbdf9a97925d0852abdc03133e98e75b2cf7b264dbe54540e
5
5
  SHA512:
6
- metadata.gz: abcf8f967f2d50f7b4969bcdb7f6272a516baab10823ce65ef900b3b735cc37883c85e16cb2eb2e8dbc6890c4df7c73a37202b119ba5ca9c86bbaa4960e87c3f
7
- data.tar.gz: 83c0adb44dc2e165d0480e3bec33a3305f130381acdf181902b980fd15deb7537c5f40dd49c9108db2e07557c380fede57fbe8098edc4594144daee47072c12b
6
+ metadata.gz: 83291312ab167dd16df63da5aa1ed18c53e04ea9508075eee9060d12f086758229025a4207f1144d9802be8346d94623dbb2dced8559113d423b926436669075
7
+ data.tar.gz: 9016f1cbb08f6c6295cc98701236ab64340e37728565c52d8979ea4ed94f23e99e5866682708286f557018931a03a2196d8ce234f8445a8d4ca81933c785168c
@@ -1,3 +1,3 @@
1
1
  module RailmanDeployment
2
- VERSION = '2.2.1'
2
+ VERSION = '2.2.2'
3
3
  end
@@ -6,7 +6,6 @@ task :setup do
6
6
  invoke :fetch_and_reset_git_repository
7
7
  else
8
8
  execute :git, :clone, fetch(:repo_url), fetch(:deploy_to)
9
- invoke :sync_local_dirs_to_server
10
9
  end
11
10
  server_conf_dir = "#{fetch(:deploy_to)}/config/server"
12
11
  execute :su_cp, "#{server_conf_dir}/puma.service /lib/systemd/system/#{fetch(:application)}.service"
@@ -95,18 +94,6 @@ task :update do
95
94
  invoke :sync_local_dirs_from_server
96
95
  end
97
96
 
98
- task :sync_local_dirs_to_server do
99
- on roles(:all) do
100
- fetch(:sync_dirs, []).each do |sync_dir|
101
- if File.exists?("./#{sync_dir}")
102
- run_locally do
103
- execute "rsync -avz --delete -e ssh ./#{sync_dir}/ #{fetch(:user)}@#{fetch(:server)}:#{fetch(:deploy_to)}/#{sync_dir}/"
104
- end
105
- end
106
- end
107
- end
108
- end
109
-
110
97
  task :sync_local_dirs_from_server do
111
98
  on roles(:all) do
112
99
  fetch(:sync_dirs, []).each do |sync_dir|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railman-deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Jancev