dapp 0.35.0 → 0.35.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dapp/cli/command/base.rb +1 -3
- data/lib/dapp/dapp.rb +2 -0
- data/lib/dapp/dimg/cli/command/dimg/cleanup_repo.rb +1 -1
- data/lib/dapp/dimg/cli/command/dimg/flush_repo.rb +1 -1
- data/lib/dapp/dimg/cli/command/dimg/push.rb +1 -3
- data/lib/dapp/dimg/cli/command/dimg/stages/cleanup_local.rb +1 -1
- data/lib/dapp/dimg/cli/command/dimg/stages/flush_repo.rb +1 -1
- data/lib/dapp/dimg/cli/command/dimg/stages/pull.rb +1 -3
- data/lib/dapp/dimg/cli/command/dimg/stages/push.rb +1 -3
- data/lib/dapp/kube/helm/values.rb +2 -2
- data/lib/dapp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d582445e85c5fb764f8550bd9af362b24a8052501703361ff74e173d3331a5c
|
4
|
+
data.tar.gz: 1cf1ee08368dc4d5462a77b5f7b654550033464cad4bfd5dea186415a5cdb5f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dbdde8c67331bdcac234990fa4b83db2345d109372617fd8645adfb6b03e6eecba095340088424bb9490310e1c7541be73047d28935c847652b28d7133bf178
|
7
|
+
data.tar.gz: 48dca1e28cb796911dde4956287bf01dd95f13f20ea6f281be4320297bf5d1f6457fbb65c57b74fca73f3ec561b74efd74e1af1cbc363a96737a98ffaef7a994
|
@@ -56,15 +56,13 @@ module Dapp
|
|
56
56
|
super()
|
57
57
|
end
|
58
58
|
|
59
|
-
def run_dapp_command(run_method, options: {}
|
59
|
+
def run_dapp_command(run_method, options: {})
|
60
60
|
dapp = ::Dapp::Dapp.new(options: options)
|
61
61
|
::Dapp::CLI.dapp_object = dapp
|
62
62
|
dapp.sentry_message("Manual usage: `#{options[:dapp_command]}` command") unless ENV['CI']
|
63
63
|
|
64
64
|
log_dapp_running_time(dapp) do
|
65
65
|
begin
|
66
|
-
dapp.try_host_docker_login if try_host_docker_login
|
67
|
-
|
68
66
|
if block_given?
|
69
67
|
yield dapp
|
70
68
|
elsif !run_method.nil?
|
data/lib/dapp/dapp.rb
CHANGED
@@ -39,7 +39,7 @@ BANNER
|
|
39
39
|
def run(argv = ARGV)
|
40
40
|
self.class.parse_options(self, argv)
|
41
41
|
repo = self.class.required_argument(self, 'repo')
|
42
|
-
run_dapp_command(run_method, options: cli_options(dimgs_patterns: cli_arguments, repo: repo, verbose: true)
|
42
|
+
run_dapp_command(run_method, options: cli_options(dimgs_patterns: cli_arguments, repo: repo, verbose: true))
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
@@ -28,7 +28,7 @@ BANNER
|
|
28
28
|
def run(argv = ARGV)
|
29
29
|
self.class.parse_options(self, argv)
|
30
30
|
repo = self.class.required_argument(self, 'repo')
|
31
|
-
run_dapp_command(run_method, options: cli_options(dimgs_patterns: cli_arguments, repo: repo, verbose: true)
|
31
|
+
run_dapp_command(run_method, options: cli_options(dimgs_patterns: cli_arguments, repo: repo, verbose: true))
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -31,9 +31,7 @@ BANNER
|
|
31
31
|
def run(argv = ARGV)
|
32
32
|
self.class.parse_options(self, argv)
|
33
33
|
repo = self.class.required_argument(self, 'repo')
|
34
|
-
run_dapp_command(run_method,
|
35
|
-
options: cli_options(dimgs_patterns: cli_arguments, repo: repo),
|
36
|
-
try_host_docker_login: true)
|
34
|
+
run_dapp_command(run_method, options: cli_options(dimgs_patterns: cli_arguments, repo: repo))
|
37
35
|
end
|
38
36
|
end
|
39
37
|
end
|
@@ -31,7 +31,7 @@ BANNER
|
|
31
31
|
def run(argv = ARGV)
|
32
32
|
self.class.parse_options(self, argv)
|
33
33
|
repository = repo
|
34
|
-
run_dapp_command(run_method, options: cli_options(repo: repository)
|
34
|
+
run_dapp_command(run_method, options: cli_options(repo: repository))
|
35
35
|
end
|
36
36
|
|
37
37
|
def repo
|
@@ -19,7 +19,7 @@ BANNER
|
|
19
19
|
def run(argv = ARGV)
|
20
20
|
self.class.parse_options(self, argv)
|
21
21
|
repo = self.class.required_argument(self, 'repo')
|
22
|
-
run_dapp_command(:stages_flush_repo, options: cli_options(repo: repo)
|
22
|
+
run_dapp_command(:stages_flush_repo, options: cli_options(repo: repo))
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -25,9 +25,7 @@ BANNER
|
|
25
25
|
def run(argv = ARGV)
|
26
26
|
self.class.parse_options(self, argv)
|
27
27
|
repo = self.class.required_argument(self, 'repo')
|
28
|
-
run_dapp_command(:stages_pull,
|
29
|
-
options: cli_options(dimgs_patterns: cli_arguments, repo: repo),
|
30
|
-
try_host_docker_login: true)
|
28
|
+
run_dapp_command(:stages_pull, options: cli_options(dimgs_patterns: cli_arguments, repo: repo))
|
31
29
|
end
|
32
30
|
end
|
33
31
|
end
|
@@ -21,9 +21,7 @@ BANNER
|
|
21
21
|
def run(argv = ARGV)
|
22
22
|
self.class.parse_options(self, argv)
|
23
23
|
repo = self.class.required_argument(self, 'repo')
|
24
|
-
run_dapp_command(:stages_push,
|
25
|
-
options: cli_options(dimgs_patterns: cli_arguments, repo: repo),
|
26
|
-
try_host_docker_login: true)
|
24
|
+
run_dapp_command(:stages_push, options: cli_options(dimgs_patterns: cli_arguments, repo: repo))
|
27
25
|
end
|
28
26
|
end
|
29
27
|
end
|
@@ -87,9 +87,9 @@ module Dapp
|
|
87
87
|
begin
|
88
88
|
dimg_labels = dapp.dimg_registry(repo).image_config(docker_tag, dimg.name)["config"]["Labels"]
|
89
89
|
docker_image_id = dapp.dimg_registry(repo).image_id(docker_tag, dimg.name)
|
90
|
-
rescue ::Dapp::Dimg::Error::Registry =>
|
90
|
+
rescue ::Dapp::Dimg::Error::Registry => e
|
91
91
|
unless disable_warnings
|
92
|
-
dapp.log_warning "
|
92
|
+
dapp.log_warning "Cannot determine <dimg>.docker_image_id and <dimg>.git.<ga>.commit_id helm values of dimg#{dimg.name ? " `#{dimg.name}`" : nil}: #{e.net_status[:data][:message]}"
|
93
93
|
end
|
94
94
|
end
|
95
95
|
end
|
data/lib/dapp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.35.
|
4
|
+
version: 0.35.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Stolyarov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|