Infra: Use Python 3 for the Tint recipe
BUG=chromium:1256440 Change-Id: If1983c22da65ef14f21c992edf89face29f7a388 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/68020 Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
parent
d3f628b303
commit
d148be4f00
|
@ -26,6 +26,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -47,6 +51,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x86\""
|
properties_j: "target_cpu:\"x86\""
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -68,6 +76,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -89,6 +101,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x86\""
|
properties_j: "target_cpu:\"x86\""
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -114,6 +130,10 @@ buckets {
|
||||||
path: "osx_sdk"
|
path: "osx_sdk"
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -139,6 +159,10 @@ buckets {
|
||||||
path: "osx_sdk"
|
path: "osx_sdk"
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -164,6 +188,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -189,6 +217,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -214,6 +246,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -239,6 +275,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -259,6 +299,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -279,6 +323,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "tint-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -317,6 +365,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -339,6 +391,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x86\""
|
properties_j: "target_cpu:\"x86\""
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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:\"x86\""
|
properties_j: "target_cpu:\"x86\""
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -409,6 +473,10 @@ buckets {
|
||||||
path: "osx_sdk"
|
path: "osx_sdk"
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -435,6 +503,10 @@ buckets {
|
||||||
path: "osx_sdk"
|
path: "osx_sdk"
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -455,6 +527,10 @@ buckets {
|
||||||
properties_j: "runhooks:true"
|
properties_j: "runhooks:true"
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -481,6 +557,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -507,6 +587,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -533,6 +617,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -559,6 +647,10 @@ buckets {
|
||||||
path: "win_toolchain"
|
path: "win_toolchain"
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -580,6 +672,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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
|
||||||
|
@ -601,6 +697,10 @@ buckets {
|
||||||
properties_j: "target_cpu:\"x64\""
|
properties_j: "target_cpu:\"x64\""
|
||||||
}
|
}
|
||||||
service_account: "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
service_account: "tint-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: "tint"
|
name: "tint"
|
||||||
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 Tint'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