This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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