You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Rioting Pacifist b9b3bf572f
Initial commit
3 years ago
ci Initial commit 3 years ago
cloudformation Initial commit 3 years ago
environments Initial commit 3 years ago
src Initial commit 3 years ago
tests Initial commit 3 years ago
.drone.yml Initial commit 3 years ago
.gitignore Initial commit 3 years ago
.yamllint.yaml Initial commit 3 years ago
LICENSE Initial commit 3 years ago
Makefile Initial commit 3 years ago
README.md Initial commit 3 years ago
requirements.txt Initial commit 3 years ago
tox.ini Initial commit 3 years ago

README.md

Overview

A simple example project to use SAM/CodeDeploy preTrafficHooks to validate a lambda before finishing the deployment

Install, Linting, Testing, Deploying, Integration-Testing

  • Code uses black for formatting and pylint for code-standards
  • Tests use pytest
  • Deployment uses cloudformation via SAM for simplification
  • Integration Tests are part of the cloudformation

See make help for more details

Deployment

Environment overrides can be written in environments/<env>.env then launched with make all env=<env>

CI

This folder has scripts to

  • Deploy and Delete a CI environment
  • Deploy a permanent environment based on environments/<env>.env
  • Cleanup environments after merging

Contributing

Before contributing, please run all tests in a clean environment, e.g run make all