commit | 1c5c47ff0baafb9679402155a729c056d7cd40ac | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Fri Sep 18 19:32:55 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 18 19:32:55 2020 |
tree | b400082787d84f8cd5399662e72dc269f42dcc42 | |
parent | 77845005465c68cd53eaf87f9fd913da5bfa3577 [diff] |
[auth] Make get_realm_data return None if AuthDB has no realms. It's fine, it just means the code will think there's no realms.cfg in the project. This primarily happens in tests that don't provide fake realm info. R=tandrii@chromium.org, iannucci@chromium.org Change-Id: Id898617ff3ae667b33f8d053666e3b16ea1b91d0 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/2417651 Reviewed-by: Andrii Shyshkalov <tandrii@google.com> Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
LUCI is an ensemble of services that work together to run large scale CI (continuous integration) infrastructure to get results in O(1). It is used by the Chromium project.
See appengine/ for the services provided.
A complete CI toolkit:
master
constains the latest code.stable
contains the stable code.user.email
and user.name
are configured in git config
.Run 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 luci-py 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.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores
. Use yapf (git cl format
) to autoformat new code.
This project is licensed under Apache v2.0 license. See LICENSE for details.