teams

command
v0.0.0-...-864d242 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

LUCI Teams Service

This service maintains information about development teams and the tests they are interested in. The data is used to tailor LUCI UI to users.

Prerequisites

Commands below assume you are running in the infra environment. To enter the infra env (via the infra.git checkout), run:

eval infra/go/env.py

Running tests locally

INTEGRATION_TESTS=1 go test go.chromium.org/luci/teams/...

Running locally

go run main.go \
  -cloud-project luci-teams-dev \
  -auth-service-host chrome-infra-auth-dev.appspot.com \
  -spanner-database projects/luci-teams-dev/instances/dev/databases/luci-teams-dev

You can test the RPCs using the rpcexplorer.

Deploy demo instance with local changes to AppEngine

gae.py upload --target-version ${USER} -A luci-teams-dev

Deploy to staging

LUCI Teams is automatically deployed to staging by LUCI CD every time a CL is submitted.

Deploy to prod

LUCI Teams is manually deployed to prod by creating a CL in the data/gae repository.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
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.
teams
Package teams encapsulates reading/writing teams entities to Spanner.
Package teams encapsulates reading/writing teams entities to Spanner.
testutil
Package testutil holds helper functions for testing.
Package testutil holds helper functions for testing.
proto
v1
Package v1 contains the proto definitions for the teams pRPC API.
Package v1 contains the proto definitions for the teams pRPC API.
Package rpc contains the RPC handlers for the tree status service.
Package rpc contains the RPC handlers for the tree status service.

Jump to

Keyboard shortcuts

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