TLDR; This repository is a sample project demonstrating a basic continuous integration (CI) / continuous deployment (CD) setup. This project is in READ ONLY mode.
This repository is best consumed while or after following the course attachment ๐
# You can generate this tree with:
# $ tree -a -I '.git|assets|.github|venv|node_modules|images|.DS_Store|*.tfvars|.terraform'
.
โโโ .gitignore
โโโ CODEOWNERS
โโโ LICENSE
โโโ README.md
โโโ infra
โย ย โโโ README.md
โย ย โโโ instances
โย ย โโโ production
โย ย โย ย โโโ .terraform.lock.hcl
โย ย โย ย โโโ main.tf
โย ย โย ย โโโ terraform.auto.tfvars.example
โย ย โโโ staging
โย ย โโโ .terraform.lock.hcl
โย ย โโโ create_staging_resource.sh
โย ย โโโ extra_staging.tf.example
โย ย โโโ main.tf
โย ย โโโ terraform.tfvars.auto.example
โโโ web
โโโ README.md
โโโ app.js
โโโ bin
โย ย โโโ www
โโโ package-lock.json
โโโ package.json
โโโ public
โย ย โโโ javascripts
โย ย โโโ stylesheets
โย ย โโโ style.css
โโโ routes
โย ย โโโ index.js
โย ย โโโ users.js
โโโ tests
โย ย โโโ app.test.js
โย ย โโโ routes.test.js
โโโ views
โโโ error.jade
โโโ index.jade
โโโ layout.jade
12 directories, 26 files
infra/images
: contains Packer template to build our AWS EC2 AMIinfra/instances
: contains our Terraform templates to setup ourstaging
andproduction
EC2 instancesweb
: contains our simple Express web application
Click to expand
- Create a new branch from the
main
branch and make some changes to the app - Push the new branch to GitHub
- Watch the CI workflow being triggered
- Troubleshoot issues as they rise