Follow these two steps:
- Add a suitable chat webhook to your chat channel (or use an existing one)

- Paste the URL into your meeting description somewhere, and invite the reminder calendar to your meeting. Ask John for the calendar ID (it's private to avoid possible abuse) Note: When you add the bot or reschedule a meeting, you don't need to "send out invites" for it to work.

The bot will drop a message on your channel when the meeting starts, respecting any reschedules or cancellations.
You should be able to get membership aws credentials and then run the main method in the LocalTest class (or type sbt lambda/run
)
The lambda will use the SANDBOX calendar when running locally.
Unit tests can be run using sbt test
(or sbt cdk/test
and sbt lambda/test
as required)
TODO There are no runnable integration tests yet.
When running in CODE it will use the SANDBOX calendar as above. Otherwise it's exactly the same as the PROD one.
TODO make this nicer (this can be made into an sbt command e.g. sbt deployToCode
or a shell script)
- sbt lambda/assembly
- aws s3 cp lambda/target/scala-3.6.4/meeting-reminder-bot.jar s3://membership-dist/CODE/meeting-reminder-bot/meeting-reminder-bot.jar --profile developerPlayground
- Go to the lambda console and update the lambda code.
- cdk synth --app "sbt 'cdk/runMain com.gu.meeting.main'"
- Go to cloudformation and update the stack, upload the -CODE template from ./cdk.out folder locally.