Skip to content

Instantly share code, notes, and snippets.

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 PaulDuvall/2255ad191afc4f8d69075ecbb4474ccc to your computer and use it in GitHub Desktop.
Save PaulDuvall/2255ad191afc4f8d69075ecbb4474ccc to your computer and use it in GitHub Desktop.
version: 0.2
phases:
install:
runtime-versions:
python: 3.7
commands:
- python --version
- 'curl -O https://bootstrap.pypa.io/get-pip.py'
- python3 get-pip.py --user
- pip install --upgrade pip
- pip install --user aws-sam-cli
- pip install pipenv
- pip install diagrams
- pipenv install diagrams
- pip install poetry
- yum -y install graphviz
build:
commands:
- python examples/cluster.py
- python examples/lambda.py
- mkdir diagrams
- mv ./*.png diagrams
- 'aws s3 cp --recursive --acl public-read ./diagrams s3://$S3_BUCKET'
artifacts:
files:
- '**/*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment