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:
Corentin Wallez 2021-10-29 09:07:43 +00:00 committed by Dawn LUCI CQ
parent 94d1678c67
commit 2f8a68ce21
3 changed files with 114 additions and 1 deletions

View File

@ -27,6 +27,10 @@ buckets {
properties_j: "target_cpu:\"x64\""
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -48,6 +52,10 @@ buckets {
properties_j: "target_cpu:\"x64\""
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -69,6 +77,10 @@ buckets {
properties_j: "target_cpu:\"x86\""
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -90,6 +102,10 @@ buckets {
properties_j: "target_cpu:\"x64\""
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -111,6 +127,10 @@ buckets {
properties_j: "target_cpu:\"x86\""
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -136,6 +156,10 @@ buckets {
path: "osx_sdk"
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -161,6 +185,10 @@ buckets {
path: "osx_sdk"
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -186,6 +214,10 @@ buckets {
path: "win_toolchain"
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -211,6 +243,10 @@ buckets {
path: "win_toolchain"
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -236,6 +272,10 @@ buckets {
path: "win_toolchain"
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -261,6 +301,10 @@ buckets {
path: "win_toolchain"
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -281,6 +325,10 @@ buckets {
properties_j: "target_cpu:\"x64\""
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -301,6 +349,10 @@ buckets {
properties_j: "target_cpu:\"x64\""
}
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -339,6 +391,10 @@ buckets {
properties_j: "target_cpu:\"x64\""
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -361,6 +417,10 @@ buckets {
properties_j: "target_cpu:\"x86\""
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -383,6 +443,10 @@ buckets {
properties_j: "target_cpu:\"x64\""
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -405,6 +469,10 @@ buckets {
properties_j: "target_cpu:\"x86\""
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -431,6 +499,10 @@ buckets {
path: "osx_sdk"
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -457,6 +529,10 @@ buckets {
path: "osx_sdk"
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -477,6 +553,10 @@ buckets {
properties_j: "runhooks:true"
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -503,6 +583,10 @@ buckets {
path: "win_toolchain"
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -529,6 +613,10 @@ buckets {
path: "win_toolchain"
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -555,6 +643,10 @@ buckets {
path: "win_toolchain"
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -581,6 +673,10 @@ buckets {
path: "win_toolchain"
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -602,6 +698,10 @@ buckets {
properties_j: "target_cpu:\"x64\""
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100
@ -623,6 +723,10 @@ buckets {
properties_j: "target_cpu:\"x64\""
}
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "luci.recipes.use_python3"
value: 100
}
experiments {
key: "luci.use_realms"
value: 100

View File

@ -6,3 +6,9 @@
name: "dawn"
access: "group:all"
lucicfg {
version: "1.29.1"
package_dir: ".."
config_dir: "generated"
entry_point: "main.star"
}

View File

@ -10,7 +10,10 @@ main.star: lucicfg configuration for Dawn's standalone builers.
# Enable realms experiment.
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)