The whole CICD process is controlled by the travis.
Steps:
1. Build web application docker image and push it to AWS ECR.
2. Provision terraform aws resources.
3. Deploy application helm charts to eks cluster
-
Every new merge to master will automatically trigger new deployment. https://travis-ci.org/github/junchil/web-kubernetes/builds/700288540
-
Every new release will automatically trigger new deployment. https://travis-ci.org/github/junchil/web-kubernetes/builds/700288781
-
Also you can deploy a specific branch by using custom commit message "deploy-to-aws" in travis to trigger a deployment. https://travis-ci.org/github/junchil/web-kubernetes/builds/699887456
-
For destroying all the aws resources, you can use custom commit message "destroy-to-aws" in travis. https://travis-ci.org/github/junchil/web-kubernetes/builds/700291053