-
This step can be skipped if you want as the image is already built and available at
surjeet112/docker-flask:latest
Make sure to follow some of the intiial guidelines pre-reqs section 1,2,3 along with enabling API endpoints and service account creation for infrastructure provisioning to setup your GCP account and configure the helm tiller on your GKE cluster before deploying any apps via helm.
For CI/CD and infra provisionig jenkins pipelines, please follow this guide. Jenkins project will look for Jenkinsfile, which is used to automate the process.
- Initially, the pipeline will get the GCP service account credentials from Jenkins credential store and build the app and push to GCR registry, it then validates the terraform scripts and create a plan to provision the infrastructure.
- Once approved, pipeline will provision the GCP and GKE infrastrcuture and deploy the application HELM chart