hu 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hu/deploy.rb +3 -4
- data/lib/hu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79de3117d3c98f02dc2c5ba796197285e11ed9c3
|
4
|
+
data.tar.gz: 4b7586e29e01d41316e5763916366614a3aeef6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dee605bbf84b76b46278e87af565433fb31413d47ad6ad5d1edae4443c66310b675b0c575764b8b751fa6365738a999fb1980fa7cf7e7d35b122b54ced8de3d
|
7
|
+
data.tar.gz: 79e825751ae21b7ccb5275824fd0d30cd952c51e79ed0202066affa4cd1090f9185994d89bc308d5648326f674811d502ebcd030aa5ddf4496a3ad4df0af0016
|
data/lib/hu/deploy.rb
CHANGED
@@ -318,7 +318,7 @@ EOM
|
|
318
318
|
end
|
319
319
|
|
320
320
|
if release_branch_exists && git_revisions[:release] == git_revisions[stag_app_name]
|
321
|
-
hyperlink = "\e
|
321
|
+
hyperlink = "\e[1m#{app['web_url']}\e[0m"
|
322
322
|
|
323
323
|
puts ' Phase 2/2 '.inverse + ' Your local ' + "release/#{release_tag}".bright + ' (formerly ' + 'develop'.bright + ') is live on ' + stag_app_name.to_s.bright + '.'
|
324
324
|
puts
|
@@ -328,7 +328,7 @@ EOM
|
|
328
328
|
puts ' If there are problems: Quit, delete the release branch and start fixing.'
|
329
329
|
puts
|
330
330
|
elsif git_revisions[prod_app_name] != git_revisions[stag_app_name] && !release_branch_exists && git_revisions[:release] != git_revisions[stag_app_name]
|
331
|
-
hyperlink = "\e
|
331
|
+
hyperlink = "\e[1m#{app['web_url']}\e[0m"
|
332
332
|
|
333
333
|
puts ' DEPLOY '.inverse + ' HEADS UP! This is the last chance to detect problems.'.bright
|
334
334
|
puts ' The final version of ' + "release/#{release_tag}".bright + ' is staged.'
|
@@ -457,7 +457,7 @@ EOM
|
|
457
457
|
puts
|
458
458
|
if h.app_feature.info(prod_app_name, 'preboot').dig('enabled')
|
459
459
|
puts <<EOF
|
460
|
-
# \e[
|
460
|
+
# \e[0;1mPreboot\e[0m is \e[32;1menabled\e[0m for \e[1m#{prod_app_name}\e[0m.
|
461
461
|
#
|
462
462
|
# #{NUMBERS[formation['quantity']] || formation['quantity']} new dyno#{formation['quantity'] == 1 ? '' : 's'} (\e[1m#{formation['size']}\e[0m) #{formation['quantity'] == 1 ? 'is' : 'are'} starting up.
|
463
463
|
# The old dynos will shut down within 3 minutes.
|
@@ -1257,7 +1257,6 @@ EOF
|
|
1257
1257
|
def promote_to_production
|
1258
1258
|
run_each <<-EOS.strip_heredoc
|
1259
1259
|
:stream
|
1260
|
-
:return
|
1261
1260
|
|
1262
1261
|
# Promote staging to production
|
1263
1262
|
heroku pipelines:promote -r heroku
|
data/lib/hu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- moe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|