Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce documentation upgrade effort on release. #12

Merged
merged 1 commit into from
Mar 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ sudo: true
jdk:
- oraclejdk8
after_success:
- mkdir static-creds-broker
- cp target/static-creds-broker-1.2.war static-creds-broker
- cp manifest.yml static-creds-broker/
- zip -r static-creds-broker ./static-creds-broker/*
- zip -j static-creds-broker manifest.yml target/*.war
deploy:
provider: releases
skip_cleanup: true
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ $ curl -O -L $LATEST_RELEASE_URL

# Unzip the zip release of this broker. The zip contains binary release and manifest file.
$ unzip static-creds-broker.zip
$ cd to-release

# Configure the broker through environment variables, possibly captured in a CF CLI manifest file
# A sample default example manifest file is provided, adapt it to your environment (in particular set the domain)
Expand All @@ -29,7 +28,7 @@ applications:
instances: 1
host: mybroker
domain: my-admin-domain.cf.io
path: static-creds-broker-1.1.war
path: static-creds-broker-<LATEST_RELEASE_VERSION>.war

env:
SECURITY_USER_PASSWORD: MySecurePwd
Expand All @@ -38,7 +37,7 @@ applications:
SERVICES_ID_METADATA_LONGDESCRIPTION: A long description for my service
SERVICES_ID_CREDENTIALS_URI: mysql://USERNAME:PASSWORD@HOSTNAME:PORT/NAME
# deploy the broker
$ cf push
$ cf push -d mydomain.org -p static-cred*.war

# Register the broker system-wise (requires cloudcontroller.admin i.e. admin access to the CloudFoundry instance)
# refer to http://docs.cloudfoundry.org/services/managing-service-brokers.html#register-brokre
Expand Down