dapp 0.14.22 → 0.14.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dapp/cli.rb +4 -4
- data/lib/dapp/dapp.rb +3 -1
- data/lib/dapp/dimg/cli/command/dimg.rb +12 -12
- data/lib/dapp/dimg/cli/command/dimg/build_context.rb +2 -2
- data/lib/dapp/dimg/cli/command/dimg/stages.rb +6 -6
- data/lib/dapp/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: d8d1da8a8160be7b50b53511057698ca7bae2637
|
|
4
|
+
data.tar.gz: 62438a0975a40ba15c49e6d066b9ab48f847eee8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 721388743f11b178777d376b689f91f2620ca0ea748cd62a89b9b0f3ff171eb9371e04af0531be573d60f84ab3918221accb943265d398b0b209c53fac9daa76
|
|
7
|
+
data.tar.gz: 9f504db1d359a3aeecdb0b8bdbb630618b2729926b6895e4987f0acb99c15559da14708f32f8ff10b792e042f325493d68f8b29081d6eb7154700d7d90a2e65a
|
data/lib/dapp/cli.rb
CHANGED
|
@@ -12,10 +12,10 @@ Usage: dapp subcommand [subcommand options]
|
|
|
12
12
|
|
|
13
13
|
Available subcommands: (for details, dapp SUB-COMMAND --help)
|
|
14
14
|
|
|
15
|
-
dapp dimg
|
|
16
|
-
dapp deployment
|
|
17
|
-
dapp kube
|
|
18
|
-
dapp update
|
|
15
|
+
dapp dimg
|
|
16
|
+
dapp deployment
|
|
17
|
+
dapp kube
|
|
18
|
+
dapp update
|
|
19
19
|
|
|
20
20
|
Options:
|
|
21
21
|
BANNER
|
data/lib/dapp/dapp.rb
CHANGED
|
@@ -118,7 +118,9 @@ module Dapp
|
|
|
118
118
|
def host_docker_login
|
|
119
119
|
return unless option_repo
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
validate_repo_name!(option_repo)
|
|
122
|
+
|
|
123
|
+
login = proc {|u, p| shellout!("#{host_docker} login '#{option_repo}' -u '#{u}' -p '#{p}'")}
|
|
122
124
|
if options.key?(:registry_username) && options.key?(:registry_password)
|
|
123
125
|
login.call(options[:registry_username], options[:registry_password])
|
|
124
126
|
elsif ENV.key?('CI_JOB_TOKEN')
|
|
@@ -8,18 +8,18 @@ Usage: dapp dimg [options] subcommand [subcommand options]
|
|
|
8
8
|
|
|
9
9
|
Available subcommands: (for details, dapp dimg SUB-COMMAND --help)
|
|
10
10
|
|
|
11
|
-
dapp dimg build [options] [DIMG ...]
|
|
12
|
-
dapp dimg bp [options] [DIMG ...] REPO
|
|
13
|
-
dapp dimg push [options] [DIMG ...] REPO
|
|
14
|
-
dapp dimg spush [options] [DIMG] REPO
|
|
15
|
-
dapp dimg tag [options] [DIMG] TAG
|
|
16
|
-
dapp dimg list [options] [DIMG ...]
|
|
17
|
-
dapp dimg run [options] [DIMG] [DOCKER ARGS]
|
|
18
|
-
dapp dimg cleanup [options] [DIMG ...]
|
|
19
|
-
dapp dimg mrproper [options]
|
|
20
|
-
dapp dimg stage image [options] [DIMG]
|
|
21
|
-
dapp dimg stages
|
|
22
|
-
dapp dimg build-context
|
|
11
|
+
dapp dimg build [options] [DIMG ...]
|
|
12
|
+
dapp dimg bp [options] [DIMG ...] REPO
|
|
13
|
+
dapp dimg push [options] [DIMG ...] REPO
|
|
14
|
+
dapp dimg spush [options] [DIMG] REPO
|
|
15
|
+
dapp dimg tag [options] [DIMG] TAG
|
|
16
|
+
dapp dimg list [options] [DIMG ...]
|
|
17
|
+
dapp dimg run [options] [DIMG] [DOCKER ARGS]
|
|
18
|
+
dapp dimg cleanup [options] [DIMG ...]
|
|
19
|
+
dapp dimg mrproper [options]
|
|
20
|
+
dapp dimg stage image [options] [DIMG]
|
|
21
|
+
dapp dimg stages
|
|
22
|
+
dapp dimg build-context
|
|
23
23
|
|
|
24
24
|
Options:
|
|
25
25
|
BANNER
|
|
@@ -7,8 +7,8 @@ module Dapp::Dimg::CLI
|
|
|
7
7
|
banner <<BANNER.freeze
|
|
8
8
|
Available subcommands: (for details, dapp dimg build-context SUB-COMMAND --help)
|
|
9
9
|
|
|
10
|
-
dapp dimg build-context export [options] [DIMG ...]
|
|
11
|
-
dapp dimg build-context import [options]
|
|
10
|
+
dapp dimg build-context export [options] [DIMG ...]
|
|
11
|
+
dapp dimg build-context import [options]
|
|
12
12
|
|
|
13
13
|
Options:
|
|
14
14
|
BANNER
|
|
@@ -7,12 +7,12 @@ module Dapp::Dimg::CLI
|
|
|
7
7
|
banner <<BANNER.freeze
|
|
8
8
|
Available subcommands: (for details, dapp dimg stages SUB-COMMAND --help)
|
|
9
9
|
|
|
10
|
-
dapp dimg stages cleanup local [options] [DIMG ...] [REPO]
|
|
11
|
-
dapp dimg stages cleanup repo [options] [DIMG ...] REPO
|
|
12
|
-
dapp dimg stages flush local [options] [DIMG ...]
|
|
13
|
-
dapp dimg stages flush repo [options] [DIMG ...] REPO
|
|
14
|
-
dapp dimg stages push [options] [DIMG ...] REPO
|
|
15
|
-
dapp dimg stages pull [options] [DIMG ...] REPO
|
|
10
|
+
dapp dimg stages cleanup local [options] [DIMG ...] [REPO]
|
|
11
|
+
dapp dimg stages cleanup repo [options] [DIMG ...] REPO
|
|
12
|
+
dapp dimg stages flush local [options] [DIMG ...]
|
|
13
|
+
dapp dimg stages flush repo [options] [DIMG ...] REPO
|
|
14
|
+
dapp dimg stages push [options] [DIMG ...] REPO
|
|
15
|
+
dapp dimg stages pull [options] [DIMG ...] REPO
|
|
16
16
|
|
|
17
17
|
Options:
|
|
18
18
|
BANNER
|
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.14.
|
|
4
|
+
version: 0.14.23
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Stolyarov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-09-
|
|
11
|
+
date: 2017-09-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mixlib-shellout
|