A quick and easy way to bring up a Jenkins in GCP with minimal commands, overhead and cost.
This repository provisions resources in GCP using Terraform, configures the resources using Ansible to bring up Docker Swarm and then installs Jenkins
- GCP Account
- Terraform
- Ansible
- Docker
- Jenkins
- Make
You will need a GCP account and have authenticated. I've created a Makefile to simplify the creation of this project in three steps
make gcp-service-account
This will provision the GCP Service Account necessary to create resources using Terraform
make deploy-infra
This will initialize terraform and deploy the resources as necessary
make ansible
This will bootstrap together the Docker Swarm stack
Inspiration, code snippets, etc.