refactor: move to OpenFAAS
Description
Move the function to OpenFAAS from lambda.
Dependencies
Test instructions
- Proofread the code
- Validate CI pipeline is successful for this MR
- Validate that image is created for https://gitlab.com/opencraft/dev/client-board-updater/container_registry
- Check variables are pointing to stage instance at https://gitlab.com/opencraft/dev/client-board-updater/-/settings/ci_cd
Post merge actions
After merging the MR, the function will be deployed to the staging env. This is for testing purposes and intentional. After the deployment happens, we are going to validate the function call (which is impossible without deploying) and if everything works well, we deploy to production by changing the CI vars and running a deployment again.
Also:
-
Setup a pipeline schedule to call the function twice a day
Edited by Boros Gábor