Now it’s time to setup build machine.
I’ll use Ubuntu instead of Amazon Linux because of problems with AWS CLI installing.
Hope it will be fixed soon, but Ubuntu is quiet good for us too.
Our build machine must have access to repo with scripts, so let’s create script that will clone our repo to this machine:
#!/bin/bash add-apt-repository ppa:git-core/ppa -y apt-get update apt-get install git -y git clone [email protected]:kagarlickij/meteorapp-deploy-scripts-public.git /deploy-scripts --quiet echo .gitignore >> /deploy-scripts/.git/info/exclude
We’ll use this script while build machine launching:
When build machine is ready, we need to check git status: