harbr 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/harbr +2 -2
- 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: aec15b9d17e7347298fec36cb3dbb0cd8274739f779abf68f1bc8fdb183e561f
|
4
|
+
data.tar.gz: f13a3cbdc0d225bb3f29a832655a37f338d706ea29dfaa49c6767d06e152c2d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7e4109fb578cf793e0b2091eeafb23dd07740a8f2a1e4e5521f5de44a876d291b5bb1db02f5b34af91b7f682a570ea7bf46693111a3a3e6314d92fd45633c79
|
7
|
+
data.tar.gz: 2be9d2761e3673893195a505f08e90bb8990a24d5254506cfd6d886ffec90634c0c9e071bdf695aced05e959a5aa00b2e897c0711f6ea311990be25cbcfb5a7d
|
data/exe/harbr
CHANGED
@@ -177,7 +177,7 @@ class HarbrCLI < Thor
|
|
177
177
|
version = $1
|
178
178
|
raise "Ooops! next version not found!" if version.nil?
|
179
179
|
|
180
|
-
Harbr::Lxd::Job.perform_async(name,
|
180
|
+
Harbr::Lxd::Job.perform_async(name,version, "live",9292)
|
181
181
|
|
182
182
|
/versions\/(?<version>\d*)/ =~ `ls -l /var/harbr/containers/#{name}/live`
|
183
183
|
`ln -sf /var/harbr/containers/#{name}/version/#{$1} /var/harbr/containers/#{name}/rollback`
|
@@ -187,7 +187,7 @@ class HarbrCLI < Thor
|
|
187
187
|
|
188
188
|
if options[:next]
|
189
189
|
`ln -sf /var/harbr/containers/#{name}/version/#{version} /var/harbr/containers/#{name}/next`
|
190
|
-
Harbr::Lxd::Job.perform_async(name,
|
190
|
+
Harbr::Lxd::Job.perform_async(name,version,"next",9292)
|
191
191
|
puts "deploy version #{version} of #{name} to next environment"
|
192
192
|
end
|
193
193
|
end
|
data/lib/harbr/version.rb
CHANGED