This repository is used in a free workshop conducted by Skills Union to help the general public who are interested in career transition to become DevOps Engineer to gain hands on experience with DevOps CICD Pipeline.
Fork this repository. To verify fork successful, you should see the following URL:
https://github.com/<your username>/simple_devops
Upon signing in with GitHub account, Circle CI will show a list of repositories belonged to you. Choose the simple_devops
repository.
You are to create an App so that Circle CI can deploy the application to. You should name the App based on your preference (recommendation: simple_devops_<your name>
). The App name is globally unique.
There are two environment variables to be added in Circle CI. Namely,
- HEROKU_API_KEY
- HEROKU_APP_NAME
The HEROKU_API_KEY can be found in your Heroku account settings.
The HEROKU_APP_NAME is the name of the App in Heroku that you created. Recommended: simple_devops_<your name>
.
The pipeline script has been provided by the instructor and you can view the file here. This script resides in the GitHub repository that you have forked.
The instructor would explain what the script do in the session.