go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/teams/README.md (about) 1 # LUCI Teams Service 2 3 This service maintains information about development teams and the tests they are 4 interested in. The data is used to tailor LUCI UI to users. 5 6 ## Prerequisites 7 8 Commands below assume you are running in the infra environment. 9 To enter the infra env (via the infra.git checkout), run: 10 ``` 11 eval infra/go/env.py 12 ``` 13 14 ## Running tests locally 15 16 ``` 17 INTEGRATION_TESTS=1 go test go.chromium.org/luci/teams/... 18 ``` 19 20 ## Running locally 21 22 ``` 23 go run main.go \ 24 -cloud-project luci-teams-dev \ 25 -auth-service-host chrome-infra-auth-dev.appspot.com \ 26 -spanner-database projects/luci-teams-dev/instances/dev/databases/luci-teams-dev 27 ``` 28 29 You can test the RPCs using the [rpcexplorer](http://127.0.0.1:8800/rpcexplorer). 30 31 ## Deploy demo instance with local changes to AppEngine 32 33 ``` 34 gae.py upload --target-version ${USER} -A luci-teams-dev 35 ``` 36 37 ## Deploy to staging 38 39 LUCI Teams is automatically deployed to staging by LUCI CD every time a CL is submitted. 40 41 ## Deploy to prod 42 43 LUCI Teams is manually deployed to prod by creating a CL in the data/gae repository.