harbr 0.1.86 → 0.1.88
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/harbr +1 -1
- data/lib/harbr/job.rb +5 -0
- data/lib/harbr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80f5c7cf66fd3c3bb6e88046f54c8f014b8a930ad57029ce8d9052061aa5e84c
|
4
|
+
data.tar.gz: c07167d2704624e5ba953252e1b640e659dd5decf0a407383849c9e4077e4823
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a28515f48460eca41522dcf97d057fdf32531ada65f9ffa22130f66a8c30de61f9df0548d9d5ad218d1b35e69ae955dd9d963af70cfcc780b8600701dcc4523
|
7
|
+
data.tar.gz: b9fbf32b0c0a2563a9f89a8c8be6fdc269ae47f7722657f97d74207ffbac1392512e27b0310189b447d65e9a5401bb2de9fd66d6c76dae032afc587b14105466
|
data/exe/harbr
CHANGED
@@ -133,7 +133,7 @@ class HarbrCLI < Thor
|
|
133
133
|
|
134
134
|
container_repo = Harbr::Container::Repository.new
|
135
135
|
|
136
|
-
["live.#{name}", "next.#{name}"].each do |container_name|
|
136
|
+
["live.#{name}", "next.#{name}", name].each do |container_name|
|
137
137
|
|
138
138
|
container_repo.get_by_name(container_name).each do |container|
|
139
139
|
`port release #{container.port}`
|
data/lib/harbr/job.rb
CHANGED
@@ -137,6 +137,11 @@ module Harbr
|
|
137
137
|
`ln -sf /var/harbr/containers/#{name}/versions/#{version} /var/harbr/containers/#{name}/live`
|
138
138
|
end
|
139
139
|
|
140
|
+
if env == "next"
|
141
|
+
`rm -f /var/harbr/containers/#{name}/next` if Dir.exist?("/var/harbr/containers/#{name}/next")
|
142
|
+
`ln -sf /var/harbr/containers/#{name}/versions/#{version} /var/harbr/containers/#{name}/next`
|
143
|
+
end
|
144
|
+
|
140
145
|
bundle_install_if_needed(version_path)
|
141
146
|
|
142
147
|
create_runit_scripts(name, port, env)
|
data/lib/harbr/version.rb
CHANGED