bosh_cli 1.3262.25.0 → 1.3262.26.0

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: fa232f4ec99f694654dfb27d2ee419f410f609da
4
- data.tar.gz: 25582a86c10a6ad5c48e30385ed240b62acadd22
3
+ metadata.gz: a4025d7e9844c46f1f30022d70f972db4a25599f
4
+ data.tar.gz: 8566983072c8d41affc58e9ff5a6fd7749f634a6
5
5
  SHA512:
6
- metadata.gz: 61a6bc65f0f10abd19fe8423cc53bbdb3d655866eae1d9d51917df41b1b22e76b90b5f73eddcf352de80009bdfc3bfe3446d7e429bcde69eeecda70f91d350e7
7
- data.tar.gz: 188cce22f99ef2ec64877549ee74b68785beb1a79a58bac2e06e004078deb80da2284c0a8fb64f0a7bc1e19e7908b13d9fde3b266cf61ffb90768f99247deb1a
6
+ metadata.gz: 1e9ac2609c5b6016d21087d4c5c35faa1fd28497cdd83214c9764d68be466beee5dae267741eff8c6aee83e569b7600bdf610a99f1b186b9fb1ec374fec81037
7
+ data.tar.gz: afa7d9e48184141f902db41f3a2e54c4a3c1308c6dad2653673771e311211eb97bb2607f7901340293250640d68a77f63698b25826918d728e11c75729bef649
@@ -274,7 +274,7 @@ module Bosh::Cli
274
274
 
275
275
  manifest_yaml[@packages_folder].each_with_index do |package, i|
276
276
  @packages << package
277
- name, version = package['name'], package['version']
277
+ name = package['name']
278
278
 
279
279
  package_file = File.expand_path(name + ".tgz", File.join(@unpack_dir, @packages_folder))
280
280
  package_exists = File.exists?(package_file)
@@ -286,10 +286,6 @@ module Bosh::Cli
286
286
 
287
287
  if package_exists
288
288
  @available_packages[name] = true
289
- step("Package '#{name}' checksum",
290
- "Incorrect checksum for package '#{name}'") do
291
- Digest::SHA1.file(package_file).hexdigest == package["sha1"]
292
- end
293
289
  end
294
290
  end
295
291
 
@@ -340,11 +336,6 @@ module Bosh::Cli
340
336
  end
341
337
 
342
338
  if job_exists
343
- step("Job '#{name}' checksum",
344
- "Incorrect checksum for job '#{name}'") do
345
- Digest::SHA1.file(job_file).hexdigest == job["sha1"]
346
- end
347
-
348
339
  job_tmp_dir = Dir.mktmpdir
349
340
  FileUtils.mkdir_p(job_tmp_dir)
350
341
  job_extracted = !!system("tar", "-C", job_tmp_dir, "-xzf", job_file, out: "/dev/null", err: "/dev/null")
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Cli
3
- VERSION = '1.3262.25.0'
3
+ VERSION = '1.3262.26.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3262.25.0
4
+ version: 1.3262.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-02 00:00:00.000000000 Z
11
+ date: 2017-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bosh_common
@@ -384,7 +384,6 @@ files:
384
384
  - lib/cli/commands/release/list_releases.rb
385
385
  - lib/cli/commands/release/reset_release.rb
386
386
  - lib/cli/commands/release/upload_release.rb
387
- - lib/cli/commands/release/verify_release.rb
388
387
  - lib/cli/commands/restore.rb
389
388
  - lib/cli/commands/runtime_config.rb
390
389
  - lib/cli/commands/snapshot.rb
@@ -1,28 +0,0 @@
1
- module Bosh::Cli::Command
2
- module Release
3
- class VerifyRelease < Base
4
-
5
- # bosh verify release
6
- usage 'verify release'
7
- desc 'Verify release'
8
- def verify(tarball_path)
9
- tarball = Bosh::Cli::ReleaseTarball.new(tarball_path)
10
-
11
- nl
12
- say('Verifying release...')
13
- tarball.validate
14
- nl
15
-
16
- if tarball.valid?
17
- say("'#{tarball_path}' is a valid release".make_green)
18
- else
19
- say('Validation errors:'.make_red)
20
- tarball.errors.each do |error|
21
- say("- #{error}")
22
- end
23
- err("'#{tarball_path}' is not a valid release".make_red)
24
- end
25
- end
26
- end
27
- end
28
- end