dapp 0.14.22 → 0.14.23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91f98f4a91fc8f36c578b83def3521f2ee410eaa
4
- data.tar.gz: 920ea832d4cc613843c017140b342691af90c930
3
+ metadata.gz: d8d1da8a8160be7b50b53511057698ca7bae2637
4
+ data.tar.gz: 62438a0975a40ba15c49e6d066b9ab48f847eee8
5
5
  SHA512:
6
- metadata.gz: 9a27136ab594b292ad17cefd266dd50f960c8992f3a70df29c91b6177e567803eb9b322854a650436c3ac890ac6050e46fc86abd0f4b7a5e82401b531ca5c21c
7
- data.tar.gz: c165a9b3fe27903e545fd85c105d7ccacfec53a0ef21d7e333ed140682b89735a1fc3df8846ed13f71f64eb261483d8ddf340476866040fd091cbd4b067d4d87
6
+ metadata.gz: 721388743f11b178777d376b689f91f2620ca0ea748cd62a89b9b0f3ff171eb9371e04af0531be573d60f84ab3918221accb943265d398b0b209c53fac9daa76
7
+ data.tar.gz: 9f504db1d359a3aeecdb0b8bdbb630618b2729926b6895e4987f0acb99c15559da14708f32f8ff10b792e042f325493d68f8b29081d6eb7154700d7d90a2e65a
@@ -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
@@ -118,7 +118,9 @@ module Dapp
118
118
  def host_docker_login
119
119
  return unless option_repo
120
120
 
121
- login = proc {|u, p| shellout!("#{host_docker} login \"#{option_repo}\" -u \"#{u}\" -p \"#{p}\"")}
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
@@ -1,4 +1,4 @@
1
1
  module Dapp
2
- VERSION = '0.14.22'.freeze
2
+ VERSION = '0.14.23'.freeze
3
3
  BUILD_CACHE_VERSION = 16
4
4
  end
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.22
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-20 00:00:00.000000000 Z
11
+ date: 2017-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout