luci_notify/

directory
v0.0.0-...-a613c3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0

README

LUCI Notify

Running tests locally

INTEGRATION_TESTS=1 go test ./...

Running a local server

cd frontend
go run main.go --cloud-project luci-notify-dev --spanner-database projects/luci-notify-dev/instances/dev/databases/luci-notify-dev

Release

Releases for LUCI Notify are handled via LUCI CD. Configuration is in the infra/data/gae/apps/luci-notify directory.

To cut a release to prod, run:

cd ~/your_infra_checkout/data/gae/scripts
git checkout main
git pull
git checkout -b my-luci-notify-release
./promote.py --canary --stable --commit luci-notify
git cl upload

and have your CL approved.

Directories

Path Synopsis
api
service/v1
Package lucinotifypb defines the RPC services of luci-notify and the related message types.
Package lucinotifypb defines the RPC services of luci-notify and the related message types.
cmd
preview_email
Command preview_email renders an email template file.
Command preview_email renders an email template file.
Package common includes any common utility functions that are used from multiple other packages in the project.
Package common includes any common utility functions that are used from multiple other packages in the project.
alerts
Package alerts manages alert values in the database.
Package alerts manages alert values in the database.
span
Package span contains utility functions to interact with the underlying Spanner storage.
Package span contains utility functions to interact with the underlying Spanner storage.
testutil
Package testutil holds helper functions for testing.
Package testutil holds helper functions for testing.
Package mailtmpl implements email template bundling and execution.
Package mailtmpl implements email template bundling and execution.
Define the constants to use in notify
Define the constants to use in notify
proto
v1
Package rpc contains the RPC handlers for the LUCI Notify service.
Package rpc contains the RPC handlers for the LUCI Notify service.
Package server implements the server to handle pRPC requests.
Package server implements the server to handle pRPC requests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL