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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9773fa2e39d0ae8a6d5513bd2ae6cad27178403a
4
- data.tar.gz: 35c45b8490b916e4f6fc4bb57ac668a6dd780d3a
3
+ metadata.gz: f1cfc4a215ddf754dcd6510a6f7a33a9a11dbb70
4
+ data.tar.gz: 26199f5c15857f4e7a028885b69e9f546e571fad
5
5
  SHA512:
6
- metadata.gz: 30dca4e17c40d0439a51ed3df4a4cb06e120afc178296c02556f2f95838d4264287def8633f95cb91584242a08035bdd89b23a4c3344a21394d75a16943ce84c
7
- data.tar.gz: 3267dd6bff4060740824d643a67b2916eb0fa30aa8c5983162a97db3c3d4171c24cc01d4f8efb75963062dd409ef9dd0c3d21890339aa2026c51d630388e9475
6
+ metadata.gz: 1bc0fa1eb18596f9ef591dc3569d256731fec3bcb37cd8fef8c8e703ea424da4d108a624b0bf065947fafa6dccbe59195dd8e79ba4334389827ac727d84c3156
7
+ data.tar.gz: 6d80e76fac0ae6014b6ae359346a002a9cd54ae440093edbde48fc8bda6d7c95d6502891dbf5d2b40e957055485851f8bee42164405d5254f1c95643d8db2979
@@ -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=${PORT:-5000}
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
- ## Install
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
- bosh deploy manifests/<%= project_name %>.yml --vars-store tmp/creds.yml
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 has Credhub, then you can omit `--vars-store` flag. It is used to generate any passwords/credentials/certificates required by `manifests/<%= project_name %>.yml`.
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
- ## Development
18
+ ### Update
17
19
 
18
- As a developer of this release, create new releases, upload and deploy them:
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 create-release --force && \
22
- bosh -n upload-release && \
23
- bosh deploy manifests/<%= project_name %>.yml --vars-store tmp/creds.yml
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`.
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Gen
3
- VERSION = "0.94.0"
3
+ VERSION = "0.95.0"
4
4
  end
5
5
  end
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.94.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-09-10 00:00:00.000000000 Z
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