Deploy an AWS lambda that automatically confirm TGVmax travels every 10 hours
Only confirm trainline travels for now
The following env variable needs to be set in gitlab secret:
- TGVMAX_LOGIN
- TGVMAX_PWD
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
Optionally the following env variable can be used to send a notification to a matrix room
- MATRIX_TOKEN (can be found in Help&About -> Advanced in riot.im settings)
- MATRIX_USER (ex: @abcdef:matrix.org)
- MATRIX_ROOM (can be found in Advanced -> Room Information in riot.im room settings)
- serveless for deploying the lambda, config can be changed in serverless.yml file
- puppeteer for browser automation
- matrix-js-sdk for sending a notification