/hello-CircleCI

Learning CircleCI and diving into CI/CD

hello-CircleCI

Learning CircleCI and diving into CI/CD


Getting first Green Build 🤙

Using this tutorial.
Branch: circleci-project-setup

Using Environment Variables 🤙

Using this tutorial.
Branch: circleci-project-env-vars

Sharing Files 🤙

Using this tutorial.
Branch: circleci-project-sharing-files

Reusable Commands 🤙

Using this tutorial.
Branch: circleci-project-reusable-commands

Job Failures 🤙

Using this tutorial.
Branch: circleci-project-job-failures

Infrastructure Creation 🤙

Steps:

  • Creating Environment Variables:
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
    • AWS_DEFAULT_REGION
  • Cloudformation Script

Branch: circleci-project-infrastructure-creation

Checkout Experiment 🤙

Using this tutorial.
Branch: circleci-project-checkout-experiment

Configuration and Deployment 🤙

Steps:

  • Create an EC2 instance with a key-pair
  • Add the key-pair to CircleCI environment variables
  • Create a job to install Ansible on the docker container and add_ssh_keys
  • Create an Ansible Playbook to run a simple task on the instance
  • Access the EC2 Instance using Ansible Playground

Branch: circleci-project-configuration-deployment

Smoke Testing 🤙

Steps:

  • Create a job that uses curl command to ping a website

Branch: circleci-project-smoke-testing

Rollback 🤙

Steps:

  • Create a CloudFormation Script
  • Use this script in a job to create a stack
  • Create a job that fails intentionally
  • Create a jon that deletes the stack created earlier

Branch: circleci-project-rollback

Production 🤙

Steps:

  • Create a public S3 Bucket
  • Create a SPA
  • Create a Cloudformation template (cloudfront.yml) to create a Cloudfront Distribution
  • Execute the template manually
  • Create a Cloudformation template that create a new S3 Bucket and copies production files
  • Create a job that executes this template
  • Promote to Production by executing the cloudfront.yml template using a job
  • Create a job that destroys previous S3 Bucket and Cloudformation Stack