lbhrr 2.34.3 → 2.34.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/lbhrr +6 -3
- data/lib/lbhrr/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: 01e7b563f78733c7e1dbd0b063132ef5b7dbc72906e3f178a1c64b954d1a5bbd
|
4
|
+
data.tar.gz: e0ba1846f5ef44ad45d47a07402453f8f4770ab1e5d8293e397df8229f27a78d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b09358f2732877c2ca3b1b41152448cc3708748e4765b34c4633b0c4489ceac3c9ae09a2a7dd0e1c05d29abb7677770bcfac7fdffb37d22d4031ccb1804fb3a
|
7
|
+
data.tar.gz: 49fd10dd7505a59933cc669d10ef8c46ecc45f6923044cc6af85bb843a7278be847d9ac81df069d2e9b7ef57a74f9708fa387adf1309bb9458b1a828512c1a48
|
data/exe/lbhrr
CHANGED
@@ -23,7 +23,10 @@ class LbhrrCLI < Thor
|
|
23
23
|
[21,34,55][n]
|
24
24
|
end
|
25
25
|
|
26
|
-
def ok(url,grace: 0)
|
26
|
+
def ok(url,grace: 0,skip: false)
|
27
|
+
|
28
|
+
yield if block_given? if skip
|
29
|
+
|
27
30
|
retries = 2
|
28
31
|
sleep(grace)
|
29
32
|
(0..retries).each do |i|
|
@@ -397,6 +400,7 @@ class LbhrrCLI < Thor
|
|
397
400
|
|
398
401
|
desc "hoist", "Deploy an application using the configuration from config/manifest.yml to next"
|
399
402
|
method_option :current, type: :boolean, aliases: "-c", desc: "curret version"
|
403
|
+
method_option :skipok, type: :boolean, aliases: "-so", desc: "curret version"
|
400
404
|
method_option :major, type: :boolean, aliases: "-ma", desc: "Increment major version"
|
401
405
|
method_option :msg, type: :boolean, aliases: "-msg", desc: "set the commit message"
|
402
406
|
method_option :minor, type: :boolean, aliases: "-mi", desc: "Increment minor version"
|
@@ -436,7 +440,6 @@ class LbhrrCLI < Thor
|
|
436
440
|
|
437
441
|
if options[:current]
|
438
442
|
version = config['version']
|
439
|
-
puts "re hoist #{version}"
|
440
443
|
end
|
441
444
|
|
442
445
|
modify_manifest do |config|
|
@@ -462,7 +465,7 @@ class LbhrrCLI < Thor
|
|
462
465
|
change = "RELEASE #{version}"
|
463
466
|
commit("#{change}\n\n#{msg}\n\n Hoisted #{name} version #{version}")
|
464
467
|
|
465
|
-
ok("https://next.#{config['host']}/ok",grace: 25) do
|
468
|
+
ok("https://next.#{config['host']}/ok",grace: 25,skip:options[:skipok]) do
|
466
469
|
notify_terminal(" #{name} version #{version} is up on next!", "Lbhhr")
|
467
470
|
end
|
468
471
|
end
|
data/lib/lbhrr/version.rb
CHANGED