build/cloudfns/wikiwebhook
Guoqi Chen 7eab32633e cloudfns/wikiwebhook: update cloud.google.com/go/pubsub version
go get cloud.google.com/go/pubsub@v1.26.0
go mod tidy

This brings in loong64 support.

Change-Id: Iff5905f5aa866b240832abf76ce97a4a8763e8f7
Reviewed-on: https://go-review.googlesource.com/c/build/+/453456
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2022-11-28 21:09:57 +00:00
..
README.md cloudfns/wikiwebhook: set GCP_PROJECT env var explicitly 2021-03-18 16:11:36 +00:00
go.mod cloudfns/wikiwebhook: update cloud.google.com/go/pubsub version 2022-11-28 21:09:57 +00:00
go.sum cloudfns/wikiwebhook: update cloud.google.com/go/pubsub version 2022-11-28 21:09:57 +00:00
wikiwebhook.go cloudfns/wikiwebhook: set GCP_PROJECT env var explicitly 2021-03-18 16:11:36 +00:00
wikiwebhook_test.go cloudfns: send email updates when the wiki changes 2019-01-29 20:39:59 +00:00

README.md

Go Reference

golang.org/x/build/cloudfns/wikiwebhook

Package wikiwebhook implements an Google Cloud Function HTTP handler that expects GitHub webhook change events.

Deploying

gcloud functions deploy GitHubWikiChangeWebHook \
  --project=symbolic-datum-552 \
  --runtime go113 \
  --trigger-http \
  --set-env-vars="PUBSUB_TOPIC=github.webhooks.golang.go.wiki,GCP_PROJECT=symbolic-datum-552,GITHUB_WEBHOOK_SECRET=$(gcloud --project=symbolic-datum-552 secrets versions access latest --secret=github-webhook-secret)"