Infra: Use Python 3 for the Dawn recipe.
Bug: chromium:1256411 Change-Id: Iab6cf738a2a25cd15006bbc9291328ca74357179 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/67820 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
94d1678c67
commit
2f8a68ce21
|
@ -27,6 +27,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -48,6 +52,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -69,6 +77,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x86\""
|
properties_j: "target_cpu:\"x86\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -90,6 +102,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -111,6 +127,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x86\""
|
properties_j: "target_cpu:\"x86\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -136,6 +156,10 @@ buckets {
|
||||||
path: "osx_sdk"
|
path: "osx_sdk"
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -161,6 +185,10 @@ buckets {
|
||||||
path: "osx_sdk"
|
path: "osx_sdk"
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -186,6 +214,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -211,6 +243,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -236,6 +272,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -261,6 +301,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -281,6 +325,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -301,6 +349,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -339,6 +391,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -361,6 +417,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x86\""
|
properties_j: "target_cpu:\"x86\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -383,6 +443,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -405,6 +469,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x86\""
|
properties_j: "target_cpu:\"x86\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -431,6 +499,10 @@ buckets {
|
||||||
path: "osx_sdk"
|
path: "osx_sdk"
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -457,6 +529,10 @@ buckets {
|
||||||
path: "osx_sdk"
|
path: "osx_sdk"
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -477,6 +553,10 @@ buckets {
|
||||||
properties_j: "runhooks:true"
|
properties_j: "runhooks:true"
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -503,6 +583,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -529,6 +613,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -555,6 +643,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -581,6 +673,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -602,6 +698,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
@ -623,6 +723,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
|
experiments {
|
||||||
|
key: "luci.recipes.use_python3"
|
||||||
|
value: 100
|
||||||
|
}
|
||||||
experiments {
|
experiments {
|
||||||
key: "luci.use_realms"
|
key: "luci.use_realms"
|
||||||
value: 100
|
value: 100
|
||||||
|
|
|
@ -6,3 +6,9 @@
|
||||||
|
|
||||||
name: "dawn"
|
name: "dawn"
|
||||||
access: "group:all"
|
access: "group:all"
|
||||||
|
lucicfg {
|
||||||
|
version: "1.29.1"
|
||||||
|
package_dir: ".."
|
||||||
|
config_dir: "generated"
|
||||||
|
entry_point: "main.star"
|
||||||
|
}
|
||||||
|
|
|
@ -10,7 +10,10 @@ main.star: lucicfg configuration for Dawn's standalone builers.
|
||||||
|
|
||||||
# Enable realms experiment.
|
# Enable realms experiment.
|
||||||
lucicfg.enable_experiment("crbug.com/1085650")
|
lucicfg.enable_experiment("crbug.com/1085650")
|
||||||
luci.builder.defaults.experiments.set({"luci.use_realms": 100})
|
luci.builder.defaults.experiments.set({
|
||||||
|
"luci.use_realms": 100,
|
||||||
|
"luci.recipes.use_python3": 100,
|
||||||
|
})
|
||||||
|
|
||||||
lucicfg.config(fail_on_warnings = True)
|
lucicfg.config(fail_on_warnings = True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue