Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplifies the pipeline configuration document.
...referencing the bosh/docs version. [#95665326](https://www.pivotaltracker.com/story/show/95665326) Signed-off-by: Corey Innis <cinnis@pivotal.io>
- Loading branch information
1 parent
80ed2d4
commit 16955ec
Showing
1 changed file
with
3 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,5 @@ | ||
# Steps for Configuring the BOSH Pipeline | ||
# Steps for Configuring the Pipeline | ||
|
||
- [ ] 0. Set up environment | ||
``` bash | ||
export PROJECT_PATH=</PATH/TO/PROJECT> | ||
export LASTPASS_USER=<USERNAME@pivotal.io> | ||
export LASTPASS_NOTE="bosh-agent concourse secrets" | ||
``` | ||
- [ ] 1. Configure the pipeline | ||
``` bash | ||
# Update project | ||
cd $PROJECT_PATH | ||
git co develop | ||
git pull | ||
Follow the steps in [BOSH: Configuring Concourse Pipelines][link], using "bosh-agent" as the value for `PROJECT_NAME`. | ||
|
||
# Get pipeline secrets (see "lpass" installation notes below) | ||
lpass login $LASTPASS_USER | ||
lpass show --notes "${LASTPASS_NOTE}" > /tmp/bosh-agent-secrets.yml | ||
|
||
# Configure the pipeline | ||
fly -t production configure -c ci/pipeline.yml \ | ||
--vf /tmp/bosh-agent-secrets.yml bosh-agent | ||
|
||
# Clean up secrets | ||
rm /tmp/bosh-agent-secrets.yml | ||
``` | ||
|
||
## Notes | ||
|
||
- To install the LastPass CLI: | ||
``` bash | ||
brew install lastpass-cli --with-pinentry | ||
``` | ||
[link]: (https://github.com/cloudfoundry/bosh/blob/develop/docs/configuring_concourse_pipelines.md) |