| commit | 842c196920ca287e07fdc52378a812b306870776 | [log] [tgz] |
|---|---|---|
| author | vadimsh <vadimsh@chromium.org> | Wed May 24 01:06:48 2017 |
| committer | Commit bot <commit-bot@chromium.org> | Wed May 24 01:06:48 2017 |
| tree | 8b942d1479413d763187016cddbd26b4c62b7358 | |
| parent | 2dc055c583df335f62536db98bcffd3afb739795 [diff] |
Introduce luci-go components version metric. A large chunk of luci-go library is used as a common GAE runtime for many LUCI and Chrome Infra apps. It becomes hard to track what apps are outdated and need to be redeployed. This CL makes each individual GAE process report 'luci/components/version' metric with semantic version of the luci-go GAE library, so we can precisely see what is currently running in production. The code is a bit more general to eventually allow reporting versions of other optional components (like Tumble and pRPC server runtime). R=iannucci@chromium.org, dnj@chromium.org BUG= Review-Url: https://codereview.chromium.org/2870293002
go get -u github.com/luci/luci-go/client/cmd/... go get -u github.com/luci/luci-go/server/cmd/...
/common/... and /server/..../appengine/..., /client/... and /server/...; for example, the structures used by the server APIs. These are inherently APIs./appengine/....go1 contains the stable code.master constains the latest code.user.email and user.name are configured in git config.go get -u -t github.com/luci/luci-go/client/...go get -u github.com/maruel/pre-commit-go/cmd/... && pcgRun the following to setup the code review tool and create your first review:
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/src/depot_tools export PATH="$PATH:$HOME/src/depot_tools" cd $GOROOT/github.com/luci/luci-go git checkout -b work origin/master # hack hack git commit -a -m "This is awesome\nR=joe@example.com" # This will ask for your Google Account credentials. git cl upload -s # Wait for LGTM over email. # Check the commit queue box in codereview website. # Wait for the change to be tested and landed automatically.
Use git cl help and git cl help <cmd> for more details.