Container for building Python-based Lambda applications, deployed with yolo.readthedocs.io.
2.3K
Manage infrastructure and services on AWS for multiple accounts/stages.
(Or, "yolo everything into prod.")
Detailed documentation is available at https://yolocli.readthedocs.io/en/latest/
The Dockerfile contained in this repo is published to
https://hub.docker.com/r/larsbutler/yolo/. It is built directly from GitHub, so
if this file is updated the patch needs to merged downstream into the master
branch of https://github.com/larsbutler/yolo.
yolo login
yolo deploy-infra --account testaccount
yolo deploy-infra --stage dev
yolo build-lambda --stage dev
yolo deploy-lambda --stage dev
Usage: yolo [OPTIONS] COMMAND [ARGS]...
Manage infrastructure and services on AWS for multiple accounts/stages.
(Or, "yolo everything into prod".)
Options:
-h, --help Show this message and exit.
Commands:
build-lambda Build Lambda function packages.
clear-config Clear cached configuration for `yolo`.
deploy-baseline-infra DEPRECATED: Use `yolo deploy-infra` instead.
deploy-infra Deploy infrastructure from templates.
deploy-lambda Deploy Lambda functions for services.
deploy-s3 Deploy a built S3 application.
list-accounts List AWS accounts.
list-builds List the pushed builds for a service/stage.
list-lambda-builds DEPRECATED: Use `yolo list-builds` instead.
list-s3-builds DEPRECATED: Use `yolo list-builds` instead.
login Login with and cache Rackspace credentials.
push Push a local build, ready it for deployment.
push-lambda DEPRECATED: Use `yolo push` instead.
put-parameters Securely store service/stage parameters.
run Run a script with AWS account credentials.
shell Launch a Python shell with AWS credentials.
show-config Show currently cached configuration.
show-outputs Show infrastructure stack outputs.
show-parameters Show centralized config for a service/stage.
show-service Show service configuration for a given stage.
status Show infrastructure deployments status.
upload-s3 DEPRECATED: Use `yolo push` instead.
use-profile Make Yolo use an AWS CLI named profile.
NOTE(larsbutler): This is more for my benefit than anyone else's, since I can never remember the exact incantations to publish to PyPI for some reason. :)
Testing a release:
$ python setup.py sdist upload --repository https://test.pypi.org/legacy/
Make the actual release:
$ python setup.py sdist upload --repository https://upload.pypi.org/legacy/
Content type
Image
Digest
Size
507.7 MB
Last updated
about 8 years ago
docker pull larsbutler/yolo:python