pfab 0.58.2 → 0.58.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pfab/cli.rb +2 -2
- data/lib/pfab/templates/daemon.rb +1 -1
- data/lib/pfab/templates/long_running_process.rb +3 -3
- data/lib/pfab/templates/web.rb +1 -1
- data/lib/pfab/version.rb +1 -1
- data/pfab.gemspec +2 -2
- 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: 06f9a7ac8980418745259dc8c9e5ecd2f42db533889b16513b61a7e141014730
|
4
|
+
data.tar.gz: 4d1f6a6d90830921bcaae288459e2e30c84731b9e3655464e14f0017eae6ecc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6355ed8af48159570d12b78aabf37489d18996cdab6d62bd29c4c79a61bf9f2c0e5923704b32b466babfbf3912a52478197d083fc2693743f58e7c851b6458b1
|
7
|
+
data.tar.gz: 1bc9950b2904316fd6ebb18416e96e003454b87d733efaeb43fb418906c5b7b9b4b242048a8f22ec28d32861ec62494acc7c9d231dbc5cd484d136527fcbd5f8
|
data/lib/pfab/cli.rb
CHANGED
@@ -65,10 +65,10 @@ module Pfab
|
|
65
65
|
command :shipit do |c|
|
66
66
|
c.syntax = "pfab shipit"
|
67
67
|
c.summary = "build, generate, apply"
|
68
|
-
c.option "-t", "--timeout timeout", "timeout for rollout (default
|
68
|
+
c.option "-t", "--timeout timeout", "timeout for rollout (default 360s)"
|
69
69
|
|
70
70
|
c.action do |args, options|
|
71
|
-
options.default :timeout =>
|
71
|
+
options.default :timeout => 360
|
72
72
|
app_name = get_app_name(all: true)
|
73
73
|
puts "Shipping #{app_name}"
|
74
74
|
success = cmd_build
|
@@ -44,12 +44,12 @@ module Pfab
|
|
44
44
|
end
|
45
45
|
|
46
46
|
|
47
|
-
def rolling_update_strategy
|
47
|
+
def rolling_update_strategy
|
48
48
|
{
|
49
49
|
type: "RollingUpdate",
|
50
50
|
rollingUpdate: {
|
51
|
-
maxSurge:
|
52
|
-
maxUnavailable:
|
51
|
+
maxSurge: get("maxSurge") || 1,
|
52
|
+
maxUnavailable: get("maxUnavailable") || 0,
|
53
53
|
}
|
54
54
|
}
|
55
55
|
end
|
data/lib/pfab/templates/web.rb
CHANGED
data/lib/pfab/version.rb
CHANGED
data/pfab.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: pfab 0.58.
|
5
|
+
# stub: pfab 0.58.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "pfab".freeze
|
9
|
-
s.version = "0.58.
|
9
|
+
s.version = "0.58.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|