-
Create a repository on GitHub under your user named "training"
-
Change directory (
cd
) into the05-atlas
directory -
Run
$ git init
-
Run
$ git commit -m "Initial commit"`
-
Run
$ git remote config origin https://github.com/<username>/training
-
Run
$ git push origin master
- Navigate to Atlas
- Click on "Builds" in the navigation bar
- Click on "New Build Configuration"
- Create a configuration named "web" and check the "Automatically build on version uploads" option
- Go to the "Variables" page and add the following
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
- Go to the "Integrations" page and select your GitHub repo:
- GitHub repo:
<username>/training
- GitHub directory:
packer
- Packer template:
web.json
- Click on "Builds" in the navigation bar
- Click on "New Build Configuration"
- Create a configuration named "haproxy" and check the "Automatically build on version uploads" option
- Go to the "Variables" page and add the following
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
- Go to the "Integrations" page and select your GitHub repo:
- GitHub repo:
<username>/training
- GitHub directory:
packer
- Packer template:
haproxy.json
-
Change directory (
cd
) into the05-atlas
directory -
Run
$ git commit -m "Trigger initial builds" --allow-empty
-
Look in Atlas UI and see builds running