Python CD framework
- Publish, update and delete Lambdas
- Publish, update and delete Layers
- Doppler integration
- Simple and light wieght
- Multi stages lambdas
- Before/after deploy hooks
pip install pylone
pylone -h
You can set the stages
parameter to have a multistage project
stages:
- dev # first one is used as default stage
- prod # all other stages are more advanced stages
You can use the source
parameter to force a directory to be used as source
source: ./bin
You can use the before-script
parameter to execute a bash script before processing an entity
before-script: ./script.sh
# OR
before-script: "echo 'Starting ...'"
Similar as before-script
but launch script at the end of process
after-script: ./script.sh
# OR
after-script: "echo 'END of process'"
Default value:
pylone-bucket
Allows you to choose the bucket name where pylone will upload zip files.
bucket-name: tmp-pylone-files
.vscode/settings.json
{
"yaml.customTags": [
"!env scalar"
]
}
- Bump version in
setup.py
- Commit and push to master
- Create a new github release + tag using this format
vX.X.X
- Github Action will take care of the rest!