Add slack integrationConnect to Opsgenie or another calendar to pull engineer's work shiftAdd a test mode to simulate assigning ticketsNeed to decide where to set availability and organizationsClean up the codeHandle PTOFinally enable the ticket assignment
- Install pyenv to manage python versions, instructions.
- Install Python 3.12 using pyenv
pyenv install 3.12
- Clone the dispatcher repo
- Change directory to the repo directory
- Set python version in the repo dir
pyenv local 3.12
- Create a virtual environment in the repo
python -m venv .venv
- Activate virtual env
source .venv/bin/activate
- Install Python libraries for this project
pip instal -r requirements.txt
- Create the dependency layer:
mkdir python cp -r .venv/lib python/ zip -r layer_content.zip python
- Upload the
layer_content.zip
to S3 and add/edit the lambda function layer. - Create the function package:
zip -r package.zip *.py
- Upload the package to the lambda function.
- Don't forget to se the environment variables in the lambda configuration.