How it works
The container will checkout a git repo and execute a given script defined
SCRIPT_PATH env var.
After the script is executed, any file that is on
~/reports/ will be
uploaded to the
S3_BUCKET under the directory report for later reference
How to use
Define the following env variables:
- S3_BUCKET - The bucket that have a directory with the keys necessary
to checkout the code from the git repo, a directory reports will be
created on the bucket and files created during the executiong of the
script will be uploaded there.
- KEYS_PATH - Relative path from
S3_BUCKETwhere the ssh keys are
- SCRIPT_PATH - The path to the script to run