bosh-versions 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +37 -0
- data/.rspec +3 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +236 -0
- data/README.md +44 -0
- data/Rakefile +5 -0
- data/bosh-versions.gemspec +34 -0
- data/lib/bosh-versions.rb +1 -0
- data/lib/bosh/cli/commands/versions.rb +20 -0
- data/lib/bosh/versions.rb +11 -0
- data/lib/bosh/versions/helpers.rb +24 -0
- data/lib/bosh/versions/version.rb +5 -0
- data/spec/assets/bosh.io.release.html +570 -0
- data/spec/command_spec.rb +37 -0
- data/spec/spec_helper.rb +16 -0
- metadata +23 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57f5fa0acfaf483dead85decbba3fca8ac82028b
|
4
|
+
data.tar.gz: 048d1e2737bf92ff09a33195e9422a840789efdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f98d4f310aea1ee1bd1711a9d91bc04ed1b68d296d032477b5a40264006ed417a60d538d72df0371deb296218936b806342174f6477c00e01a2598207afa0baf
|
7
|
+
data.tar.gz: 95150b48967f4a83ba26c5cd905a307189a0d869d10c9b30f7b13ae0eaef8352fc38b7222a8db329da4aea3ef473a42a086d93e213ee5b5e42c098c158c1db28
|
data/.gitignore
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/test/tmp/
|
9
|
+
/test/version_tmp/
|
10
|
+
/tmp/
|
11
|
+
|
12
|
+
## Specific to RubyMotion:
|
13
|
+
.dat*
|
14
|
+
.repl_history
|
15
|
+
build/
|
16
|
+
|
17
|
+
## Documentation cache and generated files:
|
18
|
+
/.yardoc/
|
19
|
+
/_yardoc/
|
20
|
+
/doc/
|
21
|
+
/rdoc/
|
22
|
+
|
23
|
+
## Environment normalisation:
|
24
|
+
/.bundle/
|
25
|
+
/lib/bundler/man/
|
26
|
+
|
27
|
+
# for a library or gem, you might want to ignore these files since the code is
|
28
|
+
# intended to run in multiple environments; otherwise, check them in:
|
29
|
+
# Gemfile.lock
|
30
|
+
# .ruby-version
|
31
|
+
# .ruby-gemset
|
32
|
+
|
33
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
34
|
+
.rvmrc
|
35
|
+
.ruby-gemset
|
36
|
+
.ruby-version
|
37
|
+
bosh-versions-*.gem
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,236 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
bosh-versions (0.1.0)
|
5
|
+
bosh_cli (>= 1.3098.0)
|
6
|
+
bosh_common (>= 1.3098.0)
|
7
|
+
membrane (~> 1.1.0)
|
8
|
+
rest-client (~> 1.8.0)
|
9
|
+
rubygems_api (~> 1.0.1)
|
10
|
+
|
11
|
+
GEM
|
12
|
+
remote: https://rubygems.org/
|
13
|
+
specs:
|
14
|
+
CFPropertyList (2.3.2)
|
15
|
+
ast (2.1.0)
|
16
|
+
astrolabe (1.3.1)
|
17
|
+
parser (~> 2.2)
|
18
|
+
aws-sdk (1.60.2)
|
19
|
+
aws-sdk-v1 (= 1.60.2)
|
20
|
+
aws-sdk-v1 (1.60.2)
|
21
|
+
json (~> 1.4)
|
22
|
+
nokogiri (>= 1.4.4)
|
23
|
+
blobstore_client (1.3098.0)
|
24
|
+
aws-sdk (= 1.60.2)
|
25
|
+
bosh_common (~> 1.3098.0)
|
26
|
+
fog (~> 1.31.0)
|
27
|
+
fog-aws (<= 0.1.1)
|
28
|
+
httpclient (= 2.4.0)
|
29
|
+
multi_json (~> 1.1)
|
30
|
+
bosh-template (1.3098.0)
|
31
|
+
semi_semantic (~> 1.1.0)
|
32
|
+
bosh_cli (1.3098.0)
|
33
|
+
blobstore_client (~> 1.3098.0)
|
34
|
+
bosh-template (~> 1.3098.0)
|
35
|
+
bosh_common (~> 1.3098.0)
|
36
|
+
cf-uaa-lib (~> 3.2.1)
|
37
|
+
highline (~> 1.6.2)
|
38
|
+
httpclient (= 2.4.0)
|
39
|
+
json_pure (~> 1.7)
|
40
|
+
minitar (~> 0.5.4)
|
41
|
+
net-scp (~> 1.1.0)
|
42
|
+
net-ssh (>= 2.2.1)
|
43
|
+
net-ssh-gateway (~> 1.2.0)
|
44
|
+
netaddr (~> 1.5.0)
|
45
|
+
progressbar (~> 0.9.0)
|
46
|
+
sshkey (~> 1.7.0)
|
47
|
+
terminal-table (~> 1.4.3)
|
48
|
+
bosh_common (1.3098.0)
|
49
|
+
logging (~> 1.8.2)
|
50
|
+
semi_semantic (~> 1.1.0)
|
51
|
+
builder (3.2.2)
|
52
|
+
cf-uaa-lib (3.2.4)
|
53
|
+
multi_json
|
54
|
+
diff-lcs (1.2.5)
|
55
|
+
domain_name (0.5.25)
|
56
|
+
unf (>= 0.0.5, < 1.0.0)
|
57
|
+
excon (0.45.4)
|
58
|
+
fission (0.5.0)
|
59
|
+
CFPropertyList (~> 2.2)
|
60
|
+
fog (1.31.0)
|
61
|
+
fog-atmos
|
62
|
+
fog-aws (~> 0.0)
|
63
|
+
fog-brightbox (~> 0.4)
|
64
|
+
fog-core (~> 1.30)
|
65
|
+
fog-ecloud
|
66
|
+
fog-google (>= 0.0.2)
|
67
|
+
fog-json
|
68
|
+
fog-local
|
69
|
+
fog-powerdns (>= 0.1.1)
|
70
|
+
fog-profitbricks
|
71
|
+
fog-radosgw (>= 0.0.2)
|
72
|
+
fog-riakcs
|
73
|
+
fog-sakuracloud (>= 0.0.4)
|
74
|
+
fog-serverlove
|
75
|
+
fog-softlayer
|
76
|
+
fog-storm_on_demand
|
77
|
+
fog-terremark
|
78
|
+
fog-vmfusion
|
79
|
+
fog-voxel
|
80
|
+
fog-xml (~> 0.1.1)
|
81
|
+
ipaddress (~> 0.5)
|
82
|
+
nokogiri (~> 1.5, >= 1.5.11)
|
83
|
+
fog-atmos (0.1.0)
|
84
|
+
fog-core
|
85
|
+
fog-xml
|
86
|
+
fog-aws (0.1.1)
|
87
|
+
fog-core (~> 1.27)
|
88
|
+
fog-json (~> 1.0)
|
89
|
+
fog-xml (~> 0.1)
|
90
|
+
ipaddress (~> 0.8)
|
91
|
+
fog-brightbox (0.9.0)
|
92
|
+
fog-core (~> 1.22)
|
93
|
+
fog-json
|
94
|
+
inflecto (~> 0.0.2)
|
95
|
+
fog-core (1.32.1)
|
96
|
+
builder
|
97
|
+
excon (~> 0.45)
|
98
|
+
formatador (~> 0.2)
|
99
|
+
mime-types
|
100
|
+
net-scp (~> 1.1)
|
101
|
+
net-ssh (>= 2.1.3)
|
102
|
+
fog-ecloud (0.3.0)
|
103
|
+
fog-core
|
104
|
+
fog-xml
|
105
|
+
fog-google (0.1.1)
|
106
|
+
fog-core
|
107
|
+
fog-json
|
108
|
+
fog-xml
|
109
|
+
fog-json (1.0.2)
|
110
|
+
fog-core (~> 1.0)
|
111
|
+
multi_json (~> 1.10)
|
112
|
+
fog-local (0.2.1)
|
113
|
+
fog-core (~> 1.27)
|
114
|
+
fog-powerdns (0.1.1)
|
115
|
+
fog-core (~> 1.27)
|
116
|
+
fog-json (~> 1.0)
|
117
|
+
fog-xml (~> 0.1)
|
118
|
+
fog-profitbricks (0.0.5)
|
119
|
+
fog-core
|
120
|
+
fog-xml
|
121
|
+
nokogiri
|
122
|
+
fog-radosgw (0.0.4)
|
123
|
+
fog-core (>= 1.21.0)
|
124
|
+
fog-json
|
125
|
+
fog-xml (>= 0.0.1)
|
126
|
+
fog-riakcs (0.1.0)
|
127
|
+
fog-core
|
128
|
+
fog-json
|
129
|
+
fog-xml
|
130
|
+
fog-sakuracloud (1.3.3)
|
131
|
+
fog-core
|
132
|
+
fog-json
|
133
|
+
fog-serverlove (0.1.2)
|
134
|
+
fog-core
|
135
|
+
fog-json
|
136
|
+
fog-softlayer (0.4.7)
|
137
|
+
fog-core
|
138
|
+
fog-json
|
139
|
+
fog-storm_on_demand (0.1.1)
|
140
|
+
fog-core
|
141
|
+
fog-json
|
142
|
+
fog-terremark (0.1.0)
|
143
|
+
fog-core
|
144
|
+
fog-xml
|
145
|
+
fog-vmfusion (0.1.0)
|
146
|
+
fission
|
147
|
+
fog-core
|
148
|
+
fog-voxel (0.1.0)
|
149
|
+
fog-core
|
150
|
+
fog-xml
|
151
|
+
fog-xml (0.1.2)
|
152
|
+
fog-core
|
153
|
+
nokogiri (~> 1.5, >= 1.5.11)
|
154
|
+
formatador (0.2.5)
|
155
|
+
highline (1.6.21)
|
156
|
+
http-cookie (1.0.2)
|
157
|
+
domain_name (~> 0.5)
|
158
|
+
httpclient (2.4.0)
|
159
|
+
hurley (0.2)
|
160
|
+
inflecto (0.0.2)
|
161
|
+
ipaddress (0.8.0)
|
162
|
+
json (1.8.3)
|
163
|
+
json_pure (1.8.2)
|
164
|
+
little-plugger (1.1.4)
|
165
|
+
logging (1.8.2)
|
166
|
+
little-plugger (>= 1.1.3)
|
167
|
+
multi_json (>= 1.8.4)
|
168
|
+
membrane (1.1.0)
|
169
|
+
mime-types (2.6.2)
|
170
|
+
mini_portile (0.6.2)
|
171
|
+
minitar (0.5.4)
|
172
|
+
multi_json (1.11.2)
|
173
|
+
net-scp (1.1.2)
|
174
|
+
net-ssh (>= 2.6.5)
|
175
|
+
net-ssh (3.0.1)
|
176
|
+
net-ssh-gateway (1.2.0)
|
177
|
+
net-ssh (>= 2.6.5)
|
178
|
+
netaddr (1.5.0)
|
179
|
+
netrc (0.10.3)
|
180
|
+
nokogiri (1.6.6.2)
|
181
|
+
mini_portile (~> 0.6.0)
|
182
|
+
parser (2.2.3.0)
|
183
|
+
ast (>= 1.1, < 3.0)
|
184
|
+
powerpack (0.1.1)
|
185
|
+
progressbar (0.9.2)
|
186
|
+
rainbow (2.0.0)
|
187
|
+
rake (10.4.2)
|
188
|
+
rest-client (1.8.0)
|
189
|
+
http-cookie (>= 1.0.2, < 2.0)
|
190
|
+
mime-types (>= 1.16, < 3.0)
|
191
|
+
netrc (~> 0.7)
|
192
|
+
rspec (3.3.0)
|
193
|
+
rspec-core (~> 3.3.0)
|
194
|
+
rspec-expectations (~> 3.3.0)
|
195
|
+
rspec-mocks (~> 3.3.0)
|
196
|
+
rspec-core (3.3.2)
|
197
|
+
rspec-support (~> 3.3.0)
|
198
|
+
rspec-expectations (3.3.1)
|
199
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
200
|
+
rspec-support (~> 3.3.0)
|
201
|
+
rspec-its (1.2.0)
|
202
|
+
rspec-core (>= 3.0.0)
|
203
|
+
rspec-expectations (>= 3.0.0)
|
204
|
+
rspec-mocks (3.3.2)
|
205
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
206
|
+
rspec-support (~> 3.3.0)
|
207
|
+
rspec-support (3.3.0)
|
208
|
+
rubocop (0.34.2)
|
209
|
+
astrolabe (~> 1.3)
|
210
|
+
parser (>= 2.2.2.5, < 3.0)
|
211
|
+
powerpack (~> 0.1)
|
212
|
+
rainbow (>= 1.99.1, < 3.0)
|
213
|
+
ruby-progressbar (~> 1.4)
|
214
|
+
ruby-progressbar (1.7.5)
|
215
|
+
rubygems_api (1.0.1)
|
216
|
+
hurley (~> 0)
|
217
|
+
semi_semantic (1.1.0)
|
218
|
+
sshkey (1.7.0)
|
219
|
+
terminal-table (1.4.5)
|
220
|
+
unf (0.1.4)
|
221
|
+
unf_ext
|
222
|
+
unf_ext (0.0.7.1)
|
223
|
+
|
224
|
+
PLATFORMS
|
225
|
+
ruby
|
226
|
+
|
227
|
+
DEPENDENCIES
|
228
|
+
bosh-versions!
|
229
|
+
bundler (~> 1.10)
|
230
|
+
rake (~> 10.4.2)
|
231
|
+
rspec (~> 3.3.0)
|
232
|
+
rspec-its (~> 1.2.0)
|
233
|
+
rubocop (~> 0.34.2)
|
234
|
+
|
235
|
+
BUNDLED WITH
|
236
|
+
1.10.6
|
data/README.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Bosh plugin generator
|
2
|
+
|
3
|
+
Allow to see versions of BOSH releases and bosh-core gem.
|
4
|
+
|
5
|
+
## What is BOSH?
|
6
|
+
|
7
|
+
BOSH orchestrates initial deployments and ongoing updates that are: predictable, repeatable, reliable, self-healing, infrastructure-agnostic. You can take a look on [BOSH project on GitHub](https://github.com/cloudfoundry/bosh) and read more details in [docs](http://docs.cloudfoundry.org/bosh/).
|
8
|
+
|
9
|
+
## How to install
|
10
|
+
|
11
|
+
```
|
12
|
+
gem install bosh-versions
|
13
|
+
```
|
14
|
+
|
15
|
+
## How to use
|
16
|
+
|
17
|
+
* `bosh latest release <release-name>` - outputs the latest version of BOSH release, `release-name` shoud be specified `<organization>/<release-name>`, if `<organization>` is not set it is considered to be `cloudfoundry`;
|
18
|
+
* `bosh gem latest version` - outputs the latest version of BOSH gem;
|
19
|
+
|
20
|
+
## Examples of use
|
21
|
+
|
22
|
+
```
|
23
|
+
→ bosh latest version cf-platform-eng/docker-boshrelease
|
24
|
+
22
|
25
|
+
|
26
|
+
→ bosh gem latest version
|
27
|
+
1.3098.0
|
28
|
+
```
|
29
|
+
|
30
|
+
## How to publish gems
|
31
|
+
|
32
|
+
See [this notes](http://guides.rubygems.org/publishing/) to know how to publish your gem.
|
33
|
+
|
34
|
+
## Contributing
|
35
|
+
|
36
|
+
1. Fork it
|
37
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
38
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
39
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
40
|
+
5. Create new Pull Request
|
41
|
+
|
42
|
+
## Notes
|
43
|
+
|
44
|
+
Generated by [BOSH plugin generator](https://github.com/Altoros/bosh-plugin-generator)
|
data/Rakefile
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'bosh/versions/version'
|
6
|
+
bosh_version = '1.3098.0'
|
7
|
+
|
8
|
+
Gem::Specification.new do |spec|
|
9
|
+
spec.name = 'bosh-versions'
|
10
|
+
spec.version = Bosh::Versions::VERSION
|
11
|
+
spec.authors = ['Alexander Lomov']
|
12
|
+
spec.email = ["alexander.lomov@altoros.com"]
|
13
|
+
spec.description = %q{Allows to see versions of BOSH releases and bosh-core gem.}
|
14
|
+
spec.summary = %q{Allows to check versions of BOSH releases and bosh-core gem.}
|
15
|
+
spec.homepage = 'https://github.com/Altoros/bosh-versions'
|
16
|
+
|
17
|
+
spec.files = `git ls-files`.split($/)
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
+
spec.require_paths = ['lib']
|
21
|
+
|
22
|
+
spec.required_ruby_version = '>= 2.0.0'
|
23
|
+
|
24
|
+
spec.add_runtime_dependency 'bosh_cli', ">= #{bosh_version}"
|
25
|
+
spec.add_runtime_dependency 'bosh_common', ">= #{bosh_version}"
|
26
|
+
spec.add_runtime_dependency 'membrane', '~> 1.1.0'
|
27
|
+
spec.add_runtime_dependency 'rest-client', '~> 1.8.0'
|
28
|
+
spec.add_runtime_dependency 'rubygems_api', '~> 1.0.1'
|
29
|
+
spec.add_development_dependency 'bundler', '~> 1.10'
|
30
|
+
spec.add_development_dependency 'rspec', '~> 3.3.0'
|
31
|
+
spec.add_development_dependency 'rspec-its', '~> 1.2.0'
|
32
|
+
spec.add_development_dependency 'rake', '~> 10.4.2'
|
33
|
+
spec.add_development_dependency 'rubocop', '~> 0.34.2'
|
34
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'bosh/versions'
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require "bosh/versions"
|
2
|
+
|
3
|
+
module Bosh::Cli::Command
|
4
|
+
class Versions < Base
|
5
|
+
include Bosh::Versions::Helpers
|
6
|
+
|
7
|
+
usage 'gem latest version'
|
8
|
+
desc 'Shows the latest version of BOSH gems'
|
9
|
+
def show_bosh_gem_latest_version
|
10
|
+
puts bosh_gem_latest_version
|
11
|
+
end
|
12
|
+
|
13
|
+
usage 'latest version'
|
14
|
+
desc 'Shows the latest version of release (using bosh.io)'
|
15
|
+
def show_latest_version(release)
|
16
|
+
puts release_latest_version(release)
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'rest-client'
|
2
|
+
require 'rubygems_api'
|
3
|
+
|
4
|
+
module Bosh
|
5
|
+
module Versions
|
6
|
+
module Helpers
|
7
|
+
|
8
|
+
def bosh_gem_latest_version
|
9
|
+
client = Rubygems::API::Client.new
|
10
|
+
response = client.gem_info('bosh-core')
|
11
|
+
response.body['version']
|
12
|
+
end
|
13
|
+
|
14
|
+
def release_latest_version(release)
|
15
|
+
release = "cloudfoundry/#{release}" unless release.include?('/')
|
16
|
+
release_page_html = RestClient.get("http://bosh.io/releases/github.com/#{release}")
|
17
|
+
version_match = release_page_html.match /https:\/\/bosh.io\/d\/github.com\/#{release}\?v\=(\d+)/
|
18
|
+
raise "unknown release or release version" unless version_match
|
19
|
+
version_match[1]
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,570 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>bosh</title>
|
4
|
+
|
5
|
+
<link href="/af0e459f8bc01d7c07c805df3795da81/stylesheets/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
+
<link href="/af0e459f8bc01d7c07c805df3795da81/stylesheets/base.css" media="all" rel="stylesheet" type="text/css" />
|
7
|
+
<link href="/af0e459f8bc01d7c07c805df3795da81/stylesheets/docs.css" media="all" rel="stylesheet" type="text/css" />
|
8
|
+
<link href="/af0e459f8bc01d7c07c805df3795da81/stylesheets/syntax.css" media="all" rel="stylesheet" type="text/css" />
|
9
|
+
<link href="/af0e459f8bc01d7c07c805df3795da81/stylesheets/releases.css" media="all" rel="stylesheet" type="text/css" />
|
10
|
+
<link href="/af0e459f8bc01d7c07c805df3795da81/stylesheets/job.css" media="all" rel="stylesheet" type="text/css" />
|
11
|
+
<link href="/af0e459f8bc01d7c07c805df3795da81/stylesheets/stemcells.css" media="all" rel="stylesheet" type="text/css" />
|
12
|
+
|
13
|
+
<script src="/af0e459f8bc01d7c07c805df3795da81/javascript/jquery.js"></script>
|
14
|
+
<script src="/af0e459f8bc01d7c07c805df3795da81/javascript/bootstrap.min.js"></script>
|
15
|
+
<script src="/af0e459f8bc01d7c07c805df3795da81/javascript/docs.js"></script>
|
16
|
+
<script src="/af0e459f8bc01d7c07c805df3795da81/javascript/job.js"></script>
|
17
|
+
|
18
|
+
<link rel="shortcut icon" href="/af0e459f8bc01d7c07c805df3795da81/images/favicon.ico" type="image/x-icon">
|
19
|
+
<link rel="icon" href="/af0e459f8bc01d7c07c805df3795da81/images/favicon.ico" type="image/x-icon">
|
20
|
+
</head>
|
21
|
+
|
22
|
+
<body data-spy="scroll" data-target="#sidebar">
|
23
|
+
<header>
|
24
|
+
<div class="container">
|
25
|
+
<h2>
|
26
|
+
<a href="/" class="logo">>bosh</a>
|
27
|
+
|
28
|
+
|
29
|
+
<span>release:</span>
|
30
|
+
github.com/cloudfoundry/cf-release
|
31
|
+
</h2>
|
32
|
+
</div>
|
33
|
+
</header>
|
34
|
+
|
35
|
+
<main>
|
36
|
+
<div class="container page-sep">
|
37
|
+
<div class="row">
|
38
|
+
<div class="col-md-12">
|
39
|
+
|
40
|
+
<h3 class="page-header">Release <span>'cf'</span></h3>
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
<p>Github source: <a href="https://github.com/cloudfoundry/cf-release">master</a> branch</p>
|
45
|
+
|
46
|
+
|
47
|
+
<h3 class="page-header">Versions</h3>
|
48
|
+
|
49
|
+
|
50
|
+
<ul class="list-group list-group-condensed">
|
51
|
+
|
52
|
+
|
53
|
+
<li class="list-group-item">
|
54
|
+
<p>
|
55
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=219">219</a> —
|
56
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=219">Download</a>
|
57
|
+
<span class="sha1">sha1: 8f184915d4ad0bf27c49e03922364e3c13fed85d</span>
|
58
|
+
</p>
|
59
|
+
|
60
|
+
|
61
|
+
<pre class="prettyprint terminal">
|
62
|
+
# Upload latest version, currently 219
|
63
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release
|
64
|
+
|
65
|
+
# Upload specific version
|
66
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=219
|
67
|
+
</pre>
|
68
|
+
|
69
|
+
|
70
|
+
<p class="note alert-warning">Note: To use upload with bosh.io URLs, use BOSH Director v1.2827.0 and above (cloudfoundry/bosh v137+).</p>
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
</li>
|
75
|
+
|
76
|
+
<li class="list-group-item">
|
77
|
+
<p>
|
78
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=218">218</a> —
|
79
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=218">Download</a>
|
80
|
+
<span class="sha1">sha1: 3bed1d375c4bd0acda8caf7a69325aef8cb25554</span>
|
81
|
+
</p>
|
82
|
+
|
83
|
+
|
84
|
+
<pre class="prettyprint terminal">
|
85
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=218
|
86
|
+
</pre>
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
</li>
|
91
|
+
|
92
|
+
<li class="list-group-item">
|
93
|
+
<p>
|
94
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=217">217</a> —
|
95
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=217">Download</a>
|
96
|
+
<span class="sha1">sha1: 6b41a35cf3f362f644ab0ce552d578dfd682e9a1</span>
|
97
|
+
</p>
|
98
|
+
|
99
|
+
|
100
|
+
<pre class="prettyprint terminal">
|
101
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=217
|
102
|
+
</pre>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
</li>
|
107
|
+
|
108
|
+
<li class="list-group-item">
|
109
|
+
<p>
|
110
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=215">215</a> —
|
111
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=215">Download</a>
|
112
|
+
<span class="sha1">sha1: fff498e8372d2467db5c779bf8155d23927232d2</span>
|
113
|
+
</p>
|
114
|
+
|
115
|
+
|
116
|
+
<pre class="prettyprint terminal">
|
117
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=215
|
118
|
+
</pre>
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
</li>
|
123
|
+
|
124
|
+
<li class="list-group-item">
|
125
|
+
<p>
|
126
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=214">214</a> —
|
127
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=214">Download</a>
|
128
|
+
<span class="sha1">sha1: 986803f16fe95c2ed2aa199a72b4f73e7bb9da89</span>
|
129
|
+
</p>
|
130
|
+
|
131
|
+
|
132
|
+
<pre class="prettyprint terminal">
|
133
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=214
|
134
|
+
</pre>
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
</li>
|
139
|
+
|
140
|
+
<li class="list-group-item">
|
141
|
+
<p>
|
142
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=213">213</a> —
|
143
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=213">Download</a>
|
144
|
+
<span class="sha1">sha1: 761452b48a1e204c9d1cc3814a10f27c5055d799</span>
|
145
|
+
</p>
|
146
|
+
|
147
|
+
|
148
|
+
<pre class="prettyprint terminal">
|
149
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=213
|
150
|
+
</pre>
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
</li>
|
155
|
+
|
156
|
+
<li class="list-group-item">
|
157
|
+
<p>
|
158
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=212">212</a> —
|
159
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=212">Download</a>
|
160
|
+
<span class="sha1">sha1: cfa03b6eb4f2a474eb6dca693e4fad61b365f130</span>
|
161
|
+
</p>
|
162
|
+
|
163
|
+
|
164
|
+
<pre class="prettyprint terminal">
|
165
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=212
|
166
|
+
</pre>
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
</li>
|
171
|
+
|
172
|
+
<li class="list-group-item">
|
173
|
+
<p>
|
174
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=211">211</a> —
|
175
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=211">Download</a>
|
176
|
+
<span class="sha1">sha1: d841e66df96cc492654dde179623f12ba52779f5</span>
|
177
|
+
</p>
|
178
|
+
|
179
|
+
|
180
|
+
<pre class="prettyprint terminal">
|
181
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=211
|
182
|
+
</pre>
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
</li>
|
187
|
+
|
188
|
+
<li class="list-group-item">
|
189
|
+
<p>
|
190
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=210">210</a> —
|
191
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=210">Download</a>
|
192
|
+
<span class="sha1">sha1: 084233921890106592d1b64973a96a66e546d804</span>
|
193
|
+
</p>
|
194
|
+
|
195
|
+
|
196
|
+
<pre class="prettyprint terminal">
|
197
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=210
|
198
|
+
</pre>
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
</li>
|
203
|
+
|
204
|
+
<li class="list-group-item">
|
205
|
+
<p>
|
206
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=209">209</a> —
|
207
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=209">Download</a>
|
208
|
+
<span class="sha1">sha1: d81bd5ae6538809a69cbf8e3b8b4d0c530023945</span>
|
209
|
+
</p>
|
210
|
+
|
211
|
+
|
212
|
+
<pre class="prettyprint terminal">
|
213
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=209
|
214
|
+
</pre>
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
</li>
|
219
|
+
|
220
|
+
<li class="list-group-item">
|
221
|
+
<p>
|
222
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=208">208</a> —
|
223
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=208">Download</a>
|
224
|
+
<span class="sha1">sha1: 859f8b617b7c1ba857b63f564968aa7b059c53de</span>
|
225
|
+
</p>
|
226
|
+
|
227
|
+
|
228
|
+
<pre class="prettyprint terminal">
|
229
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=208
|
230
|
+
</pre>
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
</li>
|
235
|
+
|
236
|
+
<li class="list-group-item">
|
237
|
+
<p>
|
238
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=207">207</a> —
|
239
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=207">Download</a>
|
240
|
+
<span class="sha1">sha1: 57a32f28aa509bdd8cf3e2d0f05fe0a55489ad21</span>
|
241
|
+
</p>
|
242
|
+
|
243
|
+
|
244
|
+
<pre class="prettyprint terminal">
|
245
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=207
|
246
|
+
</pre>
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
</li>
|
251
|
+
|
252
|
+
<li class="list-group-item">
|
253
|
+
<p>
|
254
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=206">206</a> —
|
255
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=206">Download</a>
|
256
|
+
<span class="sha1">sha1: c6d1dda2115c74baf0ee4efe05a0a014908130aa</span>
|
257
|
+
</p>
|
258
|
+
|
259
|
+
|
260
|
+
<pre class="prettyprint terminal">
|
261
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=206
|
262
|
+
</pre>
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
</li>
|
267
|
+
|
268
|
+
<li class="list-group-item">
|
269
|
+
<p>
|
270
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=205">205</a> —
|
271
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=205">Download</a>
|
272
|
+
<span class="sha1">sha1: 8ae6167102bfbcc9cbde658c4d2727d182c422f2</span>
|
273
|
+
</p>
|
274
|
+
|
275
|
+
|
276
|
+
<pre class="prettyprint terminal">
|
277
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=205
|
278
|
+
</pre>
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
</li>
|
283
|
+
|
284
|
+
<li class="list-group-item">
|
285
|
+
<p>
|
286
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=204">204</a> —
|
287
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=204">Download</a>
|
288
|
+
<span class="sha1">sha1: 8de7cb26c41d1103c1d0286df7722d4866093a1e</span>
|
289
|
+
</p>
|
290
|
+
|
291
|
+
|
292
|
+
<pre class="prettyprint terminal">
|
293
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=204
|
294
|
+
</pre>
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
</li>
|
299
|
+
|
300
|
+
<li class="list-group-item">
|
301
|
+
<p>
|
302
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=203">203</a> —
|
303
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=203">Download</a>
|
304
|
+
<span class="sha1">sha1: 18530663b50a6747011d67afe8d1e7a864bc2786</span>
|
305
|
+
</p>
|
306
|
+
|
307
|
+
|
308
|
+
<pre class="prettyprint terminal">
|
309
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=203
|
310
|
+
</pre>
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
</li>
|
315
|
+
|
316
|
+
<li class="list-group-item">
|
317
|
+
<p>
|
318
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=202">202</a> —
|
319
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=202">Download</a>
|
320
|
+
<span class="sha1">sha1: b6f596eaff4c7af21cc18a52ef97e19debb00403</span>
|
321
|
+
</p>
|
322
|
+
|
323
|
+
|
324
|
+
<pre class="prettyprint terminal">
|
325
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=202
|
326
|
+
</pre>
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
</li>
|
331
|
+
|
332
|
+
<li class="list-group-item">
|
333
|
+
<p>
|
334
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=201">201</a> —
|
335
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=201">Download</a>
|
336
|
+
<span class="sha1">sha1: 7618bfc553a2fbcf4fd45c1c19cebbc25a258f40</span>
|
337
|
+
</p>
|
338
|
+
|
339
|
+
|
340
|
+
<pre class="prettyprint terminal">
|
341
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=201
|
342
|
+
</pre>
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
</li>
|
347
|
+
|
348
|
+
<li class="list-group-item">
|
349
|
+
<p>
|
350
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=200">200</a> —
|
351
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=200">Download</a>
|
352
|
+
<span class="sha1">sha1: e723d331895935c4ddb40e23c5a0bb455a31dccd</span>
|
353
|
+
</p>
|
354
|
+
|
355
|
+
|
356
|
+
<pre class="prettyprint terminal">
|
357
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=200
|
358
|
+
</pre>
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
</li>
|
363
|
+
|
364
|
+
<li class="list-group-item">
|
365
|
+
<p>
|
366
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=199">199</a> —
|
367
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=199">Download</a>
|
368
|
+
<span class="sha1">sha1: 81036508c06cb733f621407deaabcd8eb61a8491</span>
|
369
|
+
</p>
|
370
|
+
|
371
|
+
|
372
|
+
<pre class="prettyprint terminal">
|
373
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=199
|
374
|
+
</pre>
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
</li>
|
379
|
+
|
380
|
+
<li class="list-group-item">
|
381
|
+
<p>
|
382
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=198">198</a> —
|
383
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=198">Download</a>
|
384
|
+
<span class="sha1">sha1: 43dbcdae21db838bc7aa7981aac373c421780651</span>
|
385
|
+
</p>
|
386
|
+
|
387
|
+
|
388
|
+
<pre class="prettyprint terminal">
|
389
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=198
|
390
|
+
</pre>
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
</li>
|
395
|
+
|
396
|
+
<li class="list-group-item">
|
397
|
+
<p>
|
398
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=197">197</a> —
|
399
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=197">Download</a>
|
400
|
+
<span class="sha1">sha1: 7dd65dd76a3cd266e00325bfb8128b8ef309cbd4</span>
|
401
|
+
</p>
|
402
|
+
|
403
|
+
|
404
|
+
<pre class="prettyprint terminal">
|
405
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=197
|
406
|
+
</pre>
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
</li>
|
411
|
+
|
412
|
+
<li class="list-group-item">
|
413
|
+
<p>
|
414
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=196">196</a> —
|
415
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=196">Download</a>
|
416
|
+
<span class="sha1">sha1: bddf373dca97576342ad53a4f71d2d4e82665a64</span>
|
417
|
+
</p>
|
418
|
+
|
419
|
+
|
420
|
+
<pre class="prettyprint terminal">
|
421
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=196
|
422
|
+
</pre>
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
</li>
|
427
|
+
|
428
|
+
<li class="list-group-item">
|
429
|
+
<p>
|
430
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=195">195</a> —
|
431
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=195">Download</a>
|
432
|
+
<span class="sha1">sha1: dcdfd2e00e7fc862efae6af212e389067029308d</span>
|
433
|
+
</p>
|
434
|
+
|
435
|
+
|
436
|
+
<pre class="prettyprint terminal">
|
437
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=195
|
438
|
+
</pre>
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
</li>
|
443
|
+
|
444
|
+
<li class="list-group-item">
|
445
|
+
<p>
|
446
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=194">194</a> —
|
447
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=194">Download</a>
|
448
|
+
<span class="sha1">sha1: 2fca018b1ff6efea75234a396e0bd9aa5900dad6</span>
|
449
|
+
</p>
|
450
|
+
|
451
|
+
|
452
|
+
<pre class="prettyprint terminal">
|
453
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=194
|
454
|
+
</pre>
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
</li>
|
459
|
+
|
460
|
+
<li class="list-group-item">
|
461
|
+
<p>
|
462
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=193">193</a> —
|
463
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=193">Download</a>
|
464
|
+
<span class="sha1">sha1: c02114e497f8ac96cfc94badded2b24776a35853</span>
|
465
|
+
</p>
|
466
|
+
|
467
|
+
|
468
|
+
<pre class="prettyprint terminal">
|
469
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=193
|
470
|
+
</pre>
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
</li>
|
475
|
+
|
476
|
+
<li class="list-group-item">
|
477
|
+
<p>
|
478
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=192">192</a> —
|
479
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=192">Download</a>
|
480
|
+
<span class="sha1">sha1: 92c0ecf0dcf183335215d3f1da9a39d1740424c6</span>
|
481
|
+
</p>
|
482
|
+
|
483
|
+
|
484
|
+
<pre class="prettyprint terminal">
|
485
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=192
|
486
|
+
</pre>
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
</li>
|
491
|
+
|
492
|
+
<li class="list-group-item">
|
493
|
+
<p>
|
494
|
+
<a href="/releases/github.com/cloudfoundry/cf-release?version=191">191</a> —
|
495
|
+
<a href="/d/github.com/cloudfoundry/cf-release?v=191">Download</a>
|
496
|
+
<span class="sha1">sha1: b2caf71a8be09fa46757fc16d1768aa15805a0c9</span>
|
497
|
+
</p>
|
498
|
+
|
499
|
+
|
500
|
+
<pre class="prettyprint terminal">
|
501
|
+
$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=191
|
502
|
+
</pre>
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
</li>
|
507
|
+
|
508
|
+
</ul>
|
509
|
+
|
510
|
+
</div>
|
511
|
+
</div>
|
512
|
+
</div>
|
513
|
+
</main>
|
514
|
+
|
515
|
+
|
516
|
+
<footer class="page-sep">
|
517
|
+
<div class="container">
|
518
|
+
<h3 class="page-header">Community</h3>
|
519
|
+
<ul>
|
520
|
+
<li>
|
521
|
+
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
<a href="/docs">Documentation</a>
|
526
|
+
|
527
|
+
</li>
|
528
|
+
<li>
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
<a href="https://github.com/cloudfoundry/bosh">cloudfoundry/bosh</a> on github
|
534
|
+
|
535
|
+
</li>
|
536
|
+
<li><a href="http://webchat.freenode.net/?channels=bosh">#bosh on freenode</a>
|
537
|
+
</li>
|
538
|
+
<li>
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
<a href="https://lists.cloudfoundry.org/pipermail/cf-bosh">cf-bosh mailing list</a> (Archived Google Groups: <a href="https://groups.google.com/a/cloudfoundry.org/forum/#!forum/bosh-users">bosh-users</a> & <a href="https://groups.google.com/a/cloudfoundry.org/forum/#!forum/bosh-dev">bosh-dev</a>)
|
546
|
+
|
547
|
+
</li>
|
548
|
+
<li><a href="https://www.pivotaltracker.com/n/projects/956238">Pivotal Tracker project</a>
|
549
|
+
</li>
|
550
|
+
<li><a href="https://pivotal.io/security">Report a security issue</a>
|
551
|
+
</li>
|
552
|
+
</ul>
|
553
|
+
</div>
|
554
|
+
</footer>
|
555
|
+
|
556
|
+
|
557
|
+
|
558
|
+
<script>
|
559
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
560
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
561
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
562
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
563
|
+
|
564
|
+
ga('create', 'UA-22181585-31', 'auto');
|
565
|
+
ga('send', 'pageview');
|
566
|
+
</script>
|
567
|
+
|
568
|
+
|
569
|
+
</body>
|
570
|
+
</html>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
describe 'bosh latest version' do
|
2
|
+
|
3
|
+
let(:dummy_class) { Class.new { include Bosh::Versions::Helpers } }
|
4
|
+
let(:dummy_object) { dummy_class.new }
|
5
|
+
|
6
|
+
describe 'with correct release name' do
|
7
|
+
|
8
|
+
before(:each) do
|
9
|
+
release_html = File.read(asset_file('bosh.io.release.html'))
|
10
|
+
allow(RestClient).to receive(:get).and_return(release_html)
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'cf-release' do
|
14
|
+
release_version = dummy_object.release_latest_version('cf-release')
|
15
|
+
expect(release_version).to eq('219')
|
16
|
+
end
|
17
|
+
|
18
|
+
it 'cloudfoundry/cf-release' do
|
19
|
+
release_version = dummy_object.release_latest_version('cloudfoundry/cf-release')
|
20
|
+
expect(release_version).to eq('219')
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
describe 'with incorrect release name' do
|
26
|
+
before do
|
27
|
+
allow(RestClient).to receive(:get).and_return('some-response')
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'cloudfoundry/cf-release' do
|
31
|
+
expect do
|
32
|
+
dummy_object.release_latest_version('cf-release')
|
33
|
+
end.to raise_error
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
Bundler.setup(:default, :test)
|
6
|
+
|
7
|
+
$:.unshift(File.expand_path("../../lib", __FILE__))
|
8
|
+
|
9
|
+
require 'rspec/core'
|
10
|
+
require 'rspec/its'
|
11
|
+
require 'bosh/versions'
|
12
|
+
|
13
|
+
def asset_file(*path)
|
14
|
+
assets_file = File.expand_path('../assets', __FILE__)
|
15
|
+
File.join(assets_file, *path)
|
16
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-versions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Lomov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bosh_cli
|
@@ -156,7 +156,23 @@ email:
|
|
156
156
|
executables: []
|
157
157
|
extensions: []
|
158
158
|
extra_rdoc_files: []
|
159
|
-
files:
|
159
|
+
files:
|
160
|
+
- ".gitignore"
|
161
|
+
- ".rspec"
|
162
|
+
- ".travis.yml"
|
163
|
+
- Gemfile
|
164
|
+
- Gemfile.lock
|
165
|
+
- README.md
|
166
|
+
- Rakefile
|
167
|
+
- bosh-versions.gemspec
|
168
|
+
- lib/bosh-versions.rb
|
169
|
+
- lib/bosh/cli/commands/versions.rb
|
170
|
+
- lib/bosh/versions.rb
|
171
|
+
- lib/bosh/versions/helpers.rb
|
172
|
+
- lib/bosh/versions/version.rb
|
173
|
+
- spec/assets/bosh.io.release.html
|
174
|
+
- spec/command_spec.rb
|
175
|
+
- spec/spec_helper.rb
|
160
176
|
homepage: https://github.com/Altoros/bosh-versions
|
161
177
|
licenses: []
|
162
178
|
metadata: {}
|
@@ -180,4 +196,7 @@ rubygems_version: 2.4.8
|
|
180
196
|
signing_key:
|
181
197
|
specification_version: 4
|
182
198
|
summary: Allows to check versions of BOSH releases and bosh-core gem.
|
183
|
-
test_files:
|
199
|
+
test_files:
|
200
|
+
- spec/assets/bosh.io.release.html
|
201
|
+
- spec/command_spec.rb
|
202
|
+
- spec/spec_helper.rb
|