rumination 0.17.4 → 0.17.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rumination/tasks/deploy.rake +0 -12
- data/lib/rumination/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30526198fc5c858e8290df40ff154b1fbe9f4e6ff2b8b38cdf24385b94206692
|
4
|
+
data.tar.gz: 0ab8f63068da7d6c5cfdcf7bd7384ef6eee64b4e3a7d53cd23de76916d1f5fcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfe1846dfc68ec7481b3841821b4b66c278e611c164d476868caa226dcf92ea473fcb88bbada6fbacb7b279b6970b6ffc02231f03aad0f83f2a9e6bac993f92a
|
7
|
+
data.tar.gz: a485e66f145aa2ae2f4a59fce4c1fbf1f6b1e4d9f6990644bdf95dd586c66e16f79885d52fabb950d1d3e70d90edf4906e409e6d0547545baf6f1278848ebe34
|
@@ -26,7 +26,6 @@ module DeployTasks
|
|
26
26
|
namespace :deploy do
|
27
27
|
task :default => %w[
|
28
28
|
setup_docker_env
|
29
|
-
copy_nginx_config
|
30
29
|
build_containers
|
31
30
|
shut_down_services
|
32
31
|
refresh_gems_in_development
|
@@ -69,17 +68,6 @@ module DeployTasks
|
|
69
68
|
end
|
70
69
|
end
|
71
70
|
|
72
|
-
task :copy_nginx_config do
|
73
|
-
vhosts = ENV["VIRTUAL_HOST"].to_s.split(",")
|
74
|
-
if vhosts.any? && File.exists?("./config/deploy/nginx.conf")
|
75
|
-
main_vhost = vhosts.shift
|
76
|
-
sh "docker-compose run --rm #{app_container_name} rsync -av config/deploy/nginx.conf /etc/nginx/vhost.d/#{main_vhost}"
|
77
|
-
vhosts.each do |vhost|
|
78
|
-
sh "docker-compose run --rm #{app_container_name} ln -fs /etc/nginx/vhost.d/#{main_vhost} /etc/nginx/vhost.d/#{vhost}"
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
71
|
namespace :bootstrap do
|
84
72
|
task :env_file do
|
85
73
|
env_file_path = "/opt/app/env"
|
data/lib/rumination/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumination
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artem Baguinski
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|