Skip to content

ww24/calendar-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

calendar-notifier

Go Reference test-and-build

Calendar Notifier provides event handler and actions triggered by Google Calendar.

dockeri.co

Features

Setup

Usage

Use docker-compose

  • Run docker-compose up

Use docker

  • Run docker build -t calendar-notifier .
  • Run docker run -e SERVICE_ACCOUNT=$(base64 < service_account.json) -e CONFIG=$(base64 < config.yml) calendar-notifier

Permission

Cloud Tasks

If use Cloud Tasks Action, service account should have the following permissions.

cloudtasks.tasks.list
cloudtasks.tasks.create
cloudtasks.tasks.delete
iam.serviceAccounts.actAs

For example, give your service account the following roles.

roles/cloudtasks.viewer
roles/cloudtasks.enqueuer
roles/cloudtasks.taskDeleter
roles/iam.serviceAccountUser

References

Cloud Pub/Sub

If use Cloud Pub/Sub Action, service account should have the following permissions.

pubsub.topics.publish

For example, give your service account the following roles.

roles/pubsub.publisher

References