Two options to choose from:
Multi-VM configuration using Vagrant that comprises of the following:
- One jumpbox/development Xenial64 VM with the Cloud Foundry and Concourse FLY CLI's installed
- One VM that installs either Concourse CI using Docker Compose or Jenkins
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
How to get the environment up and running
Clone this repository to your local machine
git clone https://github.com/jolsenatx/install-concourseci
cd into the cloned repository and vagrant up
vagrant up --provider virtualbox
After the provision is complete, ssh into the jumpbox which will be used to interact with Concourse and Cloud Foundry (if desired)
vagrant ssh jumpbox
Once you've ssh'd into the jumbox VM, you will want to switch to root
Use the Fly CLI to login to the Concourse VM
fly -t tutorial login -c http://192.168.99.101:8080
You will be prompted for a username and password Username:
concourse
Password:
changeme
The last step is to Sync up Fly by running the following command:
fly -t tutorial sync
Thank you to Steven Thellen for writing the script that installs Concourse
Now that you have a working Concourse environment, I highly recommend learning how to fly with Concourse by following the Flight School tutorial.
Also, You are probably wondering why not just use the official Concourse Vagrant box?
- Because that would have been too easy
- I plan on expanding this project to include additional tools and capabilities to help better understand the CI/CD methodologies locally.