Boilerplate with sample configurations for a Concourse CI/CD instance
You must have the following installed for this to work:
-
Edit the
.env
file with the desired Postgres and Concourse settings -
Run
./keys/generate.sh
to generate the proper Concourse auth keys -
Run
docker-compose up -d
to get Concourse running locallyYou can now navigate to
http://127.0.0.1:8080
and see your Concourse instance running. (Make sure to use your IP instead oflocalhost
for your URL; this is because of a bug in Concourse where auth redirection fails)You can login with the credentials specified in the
.env
file. -
Run
fly login -t main -c http://127.0.0.1:8080
and login with the admin credentials used above. -
Run
fly set-pipeline -t main -c sample-pipeline/pipeline.yml -p "Sample Pipeline"
Replace
main
with the desired name of the Concourse project, and replaceSample Pipeline
with the desired pipeline name. -
Fin.
You can see the sample pipeline at your local Concourse instance. (Note: You may have to "unpause" the pipeline on start, which can be done from the UI)
If you'd like to learn more about how Concourse works (e.g. what the hell is a "Concourse Resource"?) take a look at the Concourse Docs