YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Python Raven Vulnerability
Setup
python -m pip install --upgrade poetry
to install Poetry
Lambdas
The project contains the following lambdas under the lambdas directory
- do-nothing-lambda
Local Mode
make build
to resolve and install dependenciesmake test
to execute the testsmake package
to create deployable zipped packagesmake help
to see a list of all available commands
Deploying the Lambda from Local
The Lambda should be deployed by publishing a new version to AWS which is referenced by the Lambda infrastructure using the "live" alias, therefore deploying the Lambda is a two step process:
- Publish a new version of the Lambda
aws lambda update-function-code --function-name app-<lambda-name> --publish --zip-file fileb://<path to zip file>
Note the Lambda version in the response.
- Update the "live" alias
aws lambda update-alias --function-name app-<lambda name> --name live --function-version <lambda version>
The "live" alias is updated automatically when deploying through jules.