angle: set $build/goma["use_luci_auth"] = True

without use_luci_auth=true, goma will use global service account,
which uses exported service account key.

use task service account by use_luci_auth=true instead.
angle-ci-builder@chops-service-accounts.iam.gserviceaccount.com
angle-try-builder@chops-service-accounts.iam.gserviceaccount.com
are added to goma-rbe-chromium c-i-a group
https://chrome-infra-auth.appspot.com/auth/groups/goma-rbe-chromium

Bug: chromium:1105814
Change-Id: Ia31c297e77fe2451958a64f2caf2ffeb85864a26
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3737242
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Auto-Submit: Fumitoshi Ukai <ukai@google.com>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
This commit is contained in:
Fumitoshi Ukai 2022-06-30 01:58:15 +00:00 коммит произвёл Angle LUCI CQ
Родитель 4a5c1e1f2d
Коммит 06bd0c1146
3 изменённых файлов: 114 добавлений и 57 удалений

Просмотреть файл

@ -27,7 +27,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -67,7 +68,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -107,7 +109,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -147,7 +150,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -187,7 +191,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -227,7 +232,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -269,7 +275,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -311,7 +318,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -353,7 +361,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -395,7 +404,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -437,7 +447,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -479,7 +490,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -521,7 +533,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -563,7 +576,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -603,7 +617,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -643,7 +658,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -683,7 +699,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -725,7 +742,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -767,7 +785,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -809,7 +828,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -851,7 +871,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -893,7 +914,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -935,7 +957,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -977,7 +1000,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1019,7 +1043,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1061,7 +1086,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1103,7 +1129,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1145,7 +1172,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1187,7 +1215,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1229,7 +1258,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1271,7 +1301,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1327,7 +1358,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1367,7 +1399,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1407,7 +1440,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1447,7 +1481,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1487,7 +1522,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1529,7 +1565,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1571,7 +1608,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1613,7 +1651,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1655,7 +1694,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1697,7 +1737,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1737,7 +1778,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1777,7 +1819,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1817,7 +1860,8 @@ buckets {
'{'
' "$build/goma": {'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1893,7 +1937,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1935,7 +1980,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -1977,7 +2023,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -2019,7 +2066,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -2061,7 +2109,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -2103,7 +2152,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -2145,7 +2195,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -2187,7 +2238,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -2229,7 +2281,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -2271,7 +2324,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -2313,7 +2367,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['
@ -2355,7 +2410,8 @@ buckets {
' "$build/goma": {'
' "enable_ats": true,'
' "rpc_extra_params": "?prod",'
' "server_host": "goma.chromium.org"'
' "server_host": "goma.chromium.org",'
' "use_luci_auth": true'
' },'
' "$recipe_engine/resultdb/test_presentation": {'
' "column_keys": ['

Просмотреть файл

@ -7,7 +7,7 @@
name: "angle"
access: "group:all"
lucicfg {
version: "1.30.11"
version: "1.31.3"
package_dir: ".."
config_dir: "generated"
entry_point: "main.star"

Просмотреть файл

@ -137,6 +137,7 @@ _DEFAULT_BUILDERLESS_OS_CATEGORIES = [os_category.LINUX, os_category.WINDOWS]
_GOMA_RBE_PROD = {
"server_host": "goma.chromium.org",
"rpc_extra_params": "?prod",
"use_luci_auth": True,
}
def _recipe_for_package(cipd_package):