Skip to content

Instantly share code, notes, and snippets.

@mneil
Created April 2, 2020 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mneil/e32dd411a44d4d0cac01b42de5841ef4 to your computer and use it in GitHub Desktop.
Save mneil/e32dd411a44d4d0cac01b42de5841ef4 to your computer and use it in GitHub Desktop.
Mutato Environment Setup
#!/bin/bash
cd /path/to/your/github/repo
echo "GITHUB_TOKEN=$GITHUB_TOKEN" > mutato.env
aws-vault exec <profile name> -- env | grep AWS_ >> mutato.env
docker run -it --rm --env-file mutato.env -v `pwd`:/project stelligent/mutato bootstrap
docker run -it --rm --env-file mutato.env -v `pwd`:/project stelligent/mutato deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment