bosh-gen 0.94.0 → 0.95.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bosh/gen/generators/job_generator/templates/jobs/%job_name%_simple/templates/bin/ctl.tt +1 -1
- data/lib/bosh/gen/generators/new_release_generator/templates/README.md.tt +14 -11
- data/lib/bosh/gen/version.rb +1 -1
- metadata +2 -3
- data/lib/bosh/gen/generators/new_release_generator/templates/jobs/.gitkeep +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1cfc4a215ddf754dcd6510a6f7a33a9a11dbb70
|
4
|
+
data.tar.gz: 26199f5c15857f4e7a028885b69e9f546e571fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bc0fa1eb18596f9ef591dc3569d256731fec3bcb37cd8fef8c8e703ea424da4d108a624b0bf065947fafa6dccbe59195dd8e79ba4334389827ac727d84c3156
|
7
|
+
data.tar.gz: 6d80e76fac0ae6014b6ae359346a002a9cd54ae440093edbde48fc8bda6d7c95d6502891dbf5d2b40e957055485851f8bee42164405d5254f1c95643d8db2979
|
data/lib/bosh/gen/generators/job_generator/templates/jobs/%job_name%_simple/templates/bin/ctl.tt
CHANGED
@@ -6,7 +6,7 @@ set -u # report the usage of uninitialized variables
|
|
6
6
|
# Setup env vars and folders for the webapp_ctl script
|
7
7
|
source /var/vcap/jobs/<%= job_name %>/helpers/ctl_setup.sh '<%= job_name %>'
|
8
8
|
|
9
|
-
export PORT
|
9
|
+
export PORT=<%= p("port") %>
|
10
10
|
export LANG=en_US.UTF-8
|
11
11
|
|
12
12
|
case $1 in
|
@@ -2,25 +2,28 @@
|
|
2
2
|
|
3
3
|
This BOSH release and deployment manifest deploy a cluster of <%= project_name %>.
|
4
4
|
|
5
|
-
##
|
5
|
+
## Usage
|
6
|
+
|
7
|
+
This repository includes base manifests and operator files. They can be used for initial deployments and subsequently used for updating your deployments:
|
6
8
|
|
7
9
|
```
|
8
10
|
export BOSH_ENVIRONMENT=<bosh-alias>
|
9
11
|
export BOSH_DEPLOYMENT=<%= project_name %>
|
10
|
-
|
12
|
+
git clone https://github.com/cloudfoundry-community/<%= project_name %>-boshrelease.git
|
13
|
+
bosh deploy <%= project_name %>-boshrelease/manifests/<%= project_name %>.yml
|
11
14
|
```
|
12
15
|
|
13
|
-
If your BOSH
|
14
|
-
|
16
|
+
If your BOSH does not have Credhub/Config Server, then remember `--vars-store` to allow generation of passwords and certificates.
|
15
17
|
|
16
|
-
|
18
|
+
### Update
|
17
19
|
|
18
|
-
|
20
|
+
When new versions of `redis-boshrelease` are released the `manifests/redis.yml` file will be updated. This means you can easily `git pull` and `bosh deploy` to upgrade.
|
19
21
|
|
20
22
|
```
|
21
|
-
bosh
|
22
|
-
|
23
|
-
|
23
|
+
export BOSH_ENVIRONMENT=<bosh-alias>
|
24
|
+
export BOSH_DEPLOYMENT=<%= project_name %>
|
25
|
+
cd <%= project_name %>-boshrelease
|
26
|
+
git pull
|
27
|
+
cd -
|
28
|
+
bosh deploy <%= project_name %>-boshrelease/manifests/redis.yml
|
24
29
|
```
|
25
|
-
|
26
|
-
If your BOSH has Credhub, then you can omit `--vars-store` flag. It is used to generate any passwords/credentials/certificates required by `manifests/<%= project_name %>.yml`.
|
data/lib/bosh/gen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.95.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dr Nic Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -199,7 +199,6 @@ files:
|
|
199
199
|
- lib/bosh/gen/generators/new_release_generator/templates/jobs/%project_name%/monit.tt
|
200
200
|
- lib/bosh/gen/generators/new_release_generator/templates/jobs/%project_name%/spec.tt
|
201
201
|
- lib/bosh/gen/generators/new_release_generator/templates/jobs/%project_name%/templates/ignoreme
|
202
|
-
- lib/bosh/gen/generators/new_release_generator/templates/jobs/.gitkeep
|
203
202
|
- lib/bosh/gen/generators/new_release_generator/templates/manifests/%project_name%.yml.tt
|
204
203
|
- lib/bosh/gen/generators/new_release_generator/templates/manifests/operators/dev.yml.tt
|
205
204
|
- lib/bosh/gen/generators/new_release_generator/templates/packages/.gitkeep
|
File without changes
|