bosh_cli 1.2577.0 → 1.2578.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cli/packaging_helper.rb +5 -9
- data/lib/cli/release.rb +5 -0
- data/lib/cli/version.rb +1 -1
- metadata +8 -8
data/lib/cli/packaging_helper.rb
CHANGED
@@ -131,14 +131,6 @@ module Bosh::Cli
|
|
131
131
|
end
|
132
132
|
|
133
133
|
def generate_tarball
|
134
|
-
if final?
|
135
|
-
err_message = 'No matching build found for ' +
|
136
|
-
"`#{@name}' #{@artefact_type}.\n" +
|
137
|
-
"Please consider creating a dev release first.\n" +
|
138
|
-
"The fingerprint is `#{fingerprint}'."
|
139
|
-
err(err_message)
|
140
|
-
end
|
141
|
-
|
142
134
|
version = fingerprint
|
143
135
|
tmp_file = Tempfile.new(name)
|
144
136
|
|
@@ -157,7 +149,11 @@ module Bosh::Cli
|
|
157
149
|
'version' => version
|
158
150
|
}
|
159
151
|
|
160
|
-
|
152
|
+
if final?
|
153
|
+
@final_index.add_version(fingerprint, item, tmp_file.path)
|
154
|
+
@tarball_path = @final_index.filename(version)
|
155
|
+
elsif dry_run?
|
156
|
+
else
|
161
157
|
@dev_index.add_version(fingerprint, item, tmp_file.path)
|
162
158
|
@tarball_path = @dev_index.filename(version)
|
163
159
|
end
|
data/lib/cli/release.rb
CHANGED
@@ -61,6 +61,11 @@ module Bosh::Cli
|
|
61
61
|
|
62
62
|
def has_blobstore_secret?
|
63
63
|
bs = @private_config["blobstore"]
|
64
|
+
|
65
|
+
# Add special handling for local blobstore which should not need need credentials
|
66
|
+
provider = @final_config['blobstore']['provider']
|
67
|
+
return true if provider == 'local'
|
68
|
+
|
64
69
|
has_legacy_secret? ||
|
65
70
|
has_blobstore_secrets?(bs, "atmos", "secret") ||
|
66
71
|
has_blobstore_secrets?(bs, "simple", "user", "password") ||
|
data/lib/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2578.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
12
|
+
date: 2014-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bosh_common
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.2578.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: 1.2578.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: json_pure
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,7 +114,7 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.2578.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 1.
|
125
|
+
version: 1.2578.0
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: net-ssh
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,7 +205,7 @@ dependencies:
|
|
205
205
|
version: 0.5.4
|
206
206
|
description: ! 'BOSH CLI
|
207
207
|
|
208
|
-
|
208
|
+
38620a'
|
209
209
|
email: support@cloudfoundry.com
|
210
210
|
executables:
|
211
211
|
- bosh
|
@@ -318,7 +318,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
318
318
|
version: '0'
|
319
319
|
segments:
|
320
320
|
- 0
|
321
|
-
hash: -
|
321
|
+
hash: -1119826350413236228
|
322
322
|
requirements: []
|
323
323
|
rubyforge_project:
|
324
324
|
rubygems_version: 1.8.23
|