This is a local development environment for concourse with credhub.
You must make sure you have the following pre-requisites installed:
Please run the following the following command from your the directory where you checked the project out.
docker-compose up -dThis should launch:
- concourse web
- concourse worker
- credhub
- uaa
- postgresql
To make sure everything has started properly please run:
docker psYou can also see logs from docker-compose by running:
docker-compose logs -fFirst you need a shell to the container running credhub, please run:
Next you will need to install the credhub cli, please run this once:
If this fails, please give it some time and run it again. Once this is done, you are in a position to start setting some secrets:
credhub set -n /concourse/main/parameters/cat-name --type value --value garfield
credhub set -n /concourse/main/parameters/dog-name --type value --value odiePlease make sure you are not in the credhub shell. You can login, create, unpause and run the test pipeline by running the following script:
./utils/install-and-run-pipeline.sh
Below are the details of the credentials for your development envirnment.
Details for accessing credhub.
- shell:
./utils/credhub-shell.sh - username:
credhub - password:
password
Details for accessing concourse.
- url:
http:/localhost:8080 - username:
test - password:
test
You can find a great tutorial for concourse here.