bosh-cloudfoundry 0.6.0 → 0.6.1
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.
- data/ChangeLog.md +8 -0
- data/README.md +5 -6
- data/bosh-cloudfoundry.gemspec +1 -1
- data/lib/bosh-cloudfoundry/version.rb +1 -1
- data/spec/assets/deployments/openstack-core-only.yml +204 -0
- metadata +10 -8
data/ChangeLog.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
Create and manage your Cloud Foundry deployments on AWS and OpenStack with a simple command line tool (a plugin for BOSH CLI in fact). Start small, grow big, and constantly upgrade your various Cloud Foundry deployments.
|
4
|
+
|
3
5
|
## v0.6
|
4
6
|
|
5
7
|
There is now a write up of [the concepts](https://github.com/StarkAndWayne/bosh-cloudfoundry/blob/master/docs/concept.md) and constructs being deployed from Anders Sveen!
|
@@ -12,6 +14,12 @@ Faster when using a final release because it no longer pulls down all the submod
|
|
12
14
|
|
13
15
|
Still need to create development releases from cf-release's master branch. Hopefully all the required patches will be in cf-release's 130 release coming soon!
|
14
16
|
|
17
|
+
### v0.6.1
|
18
|
+
|
19
|
+
Constrain which fog version is installed to match bosh_cli. [thx @bonzofenix]
|
20
|
+
|
21
|
+
Little bit of README clean up.
|
22
|
+
|
15
23
|
## v0.5
|
16
24
|
|
17
25
|
Gerrit is dead. Long live gerrit. This release is for everyone who is getting started or wants to upgrade. Gerrit is dead.
|
data/README.md
CHANGED
@@ -20,14 +20,9 @@ bosh-bootstrap deploy
|
|
20
20
|
# and some other fields that you can
|
21
21
|
# just press Enter for.
|
22
22
|
|
23
|
-
# SSH into inception VM
|
23
|
+
# SSH into inception VM (also see 'tmux' and 'mosh' commands)
|
24
24
|
bosh-bootstrap ssh
|
25
25
|
|
26
|
-
git config --global user.email "you@example.com"
|
27
|
-
git config --global user.name "Your Name"
|
28
|
-
|
29
|
-
sudo gem install bosh-cloudfoundry
|
30
|
-
export TMPDIR=/var/vcap/store/tmp
|
31
26
|
bosh cf prepare system production
|
32
27
|
# prompts for a DNS host for your CloudFoundry, such as mycompany.com
|
33
28
|
# will generate a new IP address
|
@@ -237,3 +232,7 @@ bundle exec rake install
|
|
237
232
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
238
233
|
4. Push to the branch (`git push origin my-new-feature`)
|
239
234
|
5. Create new Pull Request
|
235
|
+
|
236
|
+
|
237
|
+
[](https://bitdeli.com/free "Bitdeli Badge")
|
238
|
+
|
data/bosh-cloudfoundry.gemspec
CHANGED
@@ -26,6 +26,6 @@ deployments.
|
|
26
26
|
gem.add_dependency "bosh_cli", ">=1.0.3"
|
27
27
|
gem.add_dependency "rake" # file_utils sh helper
|
28
28
|
gem.add_dependency "net-dns"
|
29
|
-
gem.add_dependency "fog", "
|
29
|
+
gem.add_dependency "fog", "~>1.9.0"
|
30
30
|
gem.add_development_dependency "rspec"
|
31
31
|
end
|
@@ -0,0 +1,204 @@
|
|
1
|
+
---
|
2
|
+
name: production-core
|
3
|
+
director_uuid: fd63be52-be83-4fa3-950a-01fb26c2c781
|
4
|
+
|
5
|
+
release:
|
6
|
+
name: bobrelease
|
7
|
+
version: latest
|
8
|
+
|
9
|
+
compilation:
|
10
|
+
workers: 3
|
11
|
+
network: default
|
12
|
+
cloud_properties:
|
13
|
+
instance_type: bosh
|
14
|
+
|
15
|
+
update:
|
16
|
+
canaries: 1
|
17
|
+
canary_watch_time: 3000-90000
|
18
|
+
update_watch_time: 3000-90000
|
19
|
+
max_in_flight: 2
|
20
|
+
max_errors: 1
|
21
|
+
|
22
|
+
networks:
|
23
|
+
- name: default
|
24
|
+
type: dynamic
|
25
|
+
cloud_properties:
|
26
|
+
security_groups:
|
27
|
+
- cloudfoundry-production
|
28
|
+
|
29
|
+
- name: vip_network
|
30
|
+
type: vip
|
31
|
+
cloud_properties:
|
32
|
+
security_groups:
|
33
|
+
- cloudfoundry-production
|
34
|
+
|
35
|
+
resource_pools:
|
36
|
+
|
37
|
+
- name: core
|
38
|
+
network: default
|
39
|
+
size: 1
|
40
|
+
stemcell:
|
41
|
+
name: bosh-stemcell
|
42
|
+
version: 0.7.0
|
43
|
+
cloud_properties:
|
44
|
+
instance_type: bosh
|
45
|
+
#env:
|
46
|
+
#bosh:
|
47
|
+
#password: $6$w4JRA567VU84$0TPA5/ZZqjXVvEUw5nDXBg8dYqp20xB4Qno2x4nH/oJaMrSUZ8Rgblhil4uv5x..xWA7xhwFuAXJ/rmCizql0.
|
48
|
+
|
49
|
+
|
50
|
+
jobs:
|
51
|
+
|
52
|
+
- name: core
|
53
|
+
template:
|
54
|
+
- nats
|
55
|
+
- router
|
56
|
+
- stager
|
57
|
+
- postgres
|
58
|
+
- uaa
|
59
|
+
- dea
|
60
|
+
- cloud_controller
|
61
|
+
- vcap_redis
|
62
|
+
- health_manager_next
|
63
|
+
instances: 1
|
64
|
+
resource_pool: core
|
65
|
+
networks:
|
66
|
+
- name: default
|
67
|
+
default:
|
68
|
+
- dns
|
69
|
+
- gateway
|
70
|
+
- name: vip_network
|
71
|
+
static_ips:
|
72
|
+
- 1.2.3.4
|
73
|
+
|
74
|
+
properties:
|
75
|
+
domain: cloudfoundry.test
|
76
|
+
|
77
|
+
env:
|
78
|
+
|
79
|
+
networks:
|
80
|
+
apps: default
|
81
|
+
management: default
|
82
|
+
|
83
|
+
nats:
|
84
|
+
user: nats
|
85
|
+
password: aaa3ij3122
|
86
|
+
address: 192.168.1.11
|
87
|
+
port: 4222
|
88
|
+
|
89
|
+
dea:
|
90
|
+
max_memory: 4096
|
91
|
+
|
92
|
+
stager:
|
93
|
+
max_staging_duration: 120
|
94
|
+
max_active_tasks: 20
|
95
|
+
queues:
|
96
|
+
- staging
|
97
|
+
|
98
|
+
router:
|
99
|
+
client_inactivity_timeout: 600
|
100
|
+
app_inactivity_timeout: 600
|
101
|
+
local_route: 1.2.3.4
|
102
|
+
status:
|
103
|
+
port: 8080
|
104
|
+
user: aaaUxXlS0pc71wVef
|
105
|
+
password: aaamaIf9vPV4mJyBe
|
106
|
+
|
107
|
+
postgresql_server:
|
108
|
+
max_connections: 30
|
109
|
+
listen_address: 0.0.0.0
|
110
|
+
|
111
|
+
service_lifecycle:
|
112
|
+
download_url: 1.2.3.4
|
113
|
+
mount_point: /var/vcap/service_lifecycle
|
114
|
+
tmp_dir: /var/vcap/service_lifecycle/tmp_dir
|
115
|
+
resque:
|
116
|
+
host: 1.2.3.4
|
117
|
+
port: 3456
|
118
|
+
password: c1oudc0wc1oudc0w
|
119
|
+
|
120
|
+
db: ccdb
|
121
|
+
ccdb:
|
122
|
+
template: postgres
|
123
|
+
address: 1.2.3.4
|
124
|
+
port: 2544
|
125
|
+
databases:
|
126
|
+
- tag: cc
|
127
|
+
name: appcloud
|
128
|
+
- tag: uaa
|
129
|
+
name: uaa
|
130
|
+
roles:
|
131
|
+
- name: root
|
132
|
+
password: c1oudc0wc1oudc0w
|
133
|
+
tag: admin
|
134
|
+
- name: uaa
|
135
|
+
password: c1oudc0wc1oudc0w
|
136
|
+
tag: uaa
|
137
|
+
|
138
|
+
uaa:
|
139
|
+
catalina_opts: -Xmx768m -XX:MaxPermSize=256m
|
140
|
+
url: http://uaa.cloudfoundry.test
|
141
|
+
resource_id: account_manager
|
142
|
+
client_secret: foosecret
|
143
|
+
token_secret: barsecret
|
144
|
+
cc:
|
145
|
+
token_secret: WGvbxaiC37
|
146
|
+
client_secret: fOZF5DMND
|
147
|
+
admin:
|
148
|
+
client_secret: MeM5fER8e
|
149
|
+
login:
|
150
|
+
client_secret: HZtd2FyZS
|
151
|
+
batch:
|
152
|
+
username: do0H2AK
|
153
|
+
password: FSCTipl
|
154
|
+
client:
|
155
|
+
override: true
|
156
|
+
autoapprove:
|
157
|
+
- vmc
|
158
|
+
- my
|
159
|
+
- portal
|
160
|
+
- micro
|
161
|
+
- support-signon
|
162
|
+
- login
|
163
|
+
|
164
|
+
scim:
|
165
|
+
user:
|
166
|
+
override: true
|
167
|
+
users:
|
168
|
+
- admin|bob|admin@bobland.com|admin|admin|clients.read,clients.write,clients.secret,uaa.admin,scim.read,scim.write,password.write
|
169
|
+
- bob|bob|openid,dashboard.user
|
170
|
+
|
171
|
+
|
172
|
+
cc:
|
173
|
+
srv_api_uri: http://api.cloudfoundry.test
|
174
|
+
password: aaauuLaap44jadlas2l312lk
|
175
|
+
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7
|
176
|
+
use_nginx: true
|
177
|
+
new_stager_percent: 100
|
178
|
+
new_stager_email_regexp: '.*@vmware.com'
|
179
|
+
staging_upload_user: aaafhgjg
|
180
|
+
staging_upload_password: aaafdase9
|
181
|
+
allow_registration: true
|
182
|
+
# uaa:
|
183
|
+
# enabled: true
|
184
|
+
# resource_id: cloud_controller
|
185
|
+
# token_creation_email_filter: [""]
|
186
|
+
admins:
|
187
|
+
- admin.bobland.com
|
188
|
+
|
189
|
+
vcap_redis:
|
190
|
+
address: 192.168.1.16
|
191
|
+
port: 5454
|
192
|
+
password: aaaxbL98RWpwBuUJvKNojnpIcRb1ot2
|
193
|
+
maxmemory: 2000000000 # 2GB
|
194
|
+
|
195
|
+
uaadb:
|
196
|
+
address: 1.2.3.4
|
197
|
+
port: 2544
|
198
|
+
roles:
|
199
|
+
- tag: admin
|
200
|
+
name: uaa
|
201
|
+
password: c1oudc0wc1oudc0w
|
202
|
+
databases:
|
203
|
+
- tag: uaa
|
204
|
+
name: uaa
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-cloudfoundry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
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: 2013-
|
12
|
+
date: 2013-03-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bosh_cli
|
@@ -64,17 +64,17 @@ dependencies:
|
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.
|
69
|
+
version: 1.9.0
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.
|
77
|
+
version: 1.9.0
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: rspec
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,6 +135,7 @@ files:
|
|
135
135
|
- spec/assets/deployments/aws-core-2-m1.xlarge-dea.yml
|
136
136
|
- spec/assets/deployments/aws-core-only.yml
|
137
137
|
- spec/assets/deployments/aws-core-with-nfs.yml
|
138
|
+
- spec/assets/deployments/openstack-core-only.yml
|
138
139
|
- spec/functional/.gitkeep
|
139
140
|
- spec/spec_helper.rb
|
140
141
|
- spec/unit/.gitkeep
|
@@ -163,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
163
164
|
version: '0'
|
164
165
|
segments:
|
165
166
|
- 0
|
166
|
-
hash:
|
167
|
+
hash: 1048486874731810334
|
167
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
169
|
none: false
|
169
170
|
requirements:
|
@@ -172,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
173
|
version: '0'
|
173
174
|
segments:
|
174
175
|
- 0
|
175
|
-
hash:
|
176
|
+
hash: 1048486874731810334
|
176
177
|
requirements: []
|
177
178
|
rubyforge_project:
|
178
179
|
rubygems_version: 1.8.25
|
@@ -189,6 +190,7 @@ test_files:
|
|
189
190
|
- spec/assets/deployments/aws-core-2-m1.xlarge-dea.yml
|
190
191
|
- spec/assets/deployments/aws-core-only.yml
|
191
192
|
- spec/assets/deployments/aws-core-with-nfs.yml
|
193
|
+
- spec/assets/deployments/openstack-core-only.yml
|
192
194
|
- spec/functional/.gitkeep
|
193
195
|
- spec/spec_helper.rb
|
194
196
|
- spec/unit/.gitkeep
|