Replace .join with / The paths in LUCI got updated to pathlib.Path which don't have .join method Generated files got updated by running the commands in README. Google-Bug-Id: b/365565157 Release-Notes: skip Change-Id: I313ccfbfac0d4ddb9af09b4d2b0e4884ea18d280
diff --git a/generated/commit-queue.cfg b/generated/commit-queue.cfg index 1182744..595b72b 100644 --- a/generated/commit-queue.cfg +++ b/generated/commit-queue.cfg
@@ -25,6 +25,7 @@ location_filters { gerrit_host_regexp: ".*" gerrit_project_regexp: ".*" + gerrit_ref_regexp: ".*" path_regexp: "polygerrit-ui/.+" } mode_allowlist: "DRY_RUN"
diff --git a/generated/project.cfg b/generated/project.cfg index fa19dff..e550dde 100644 --- a/generated/project.cfg +++ b/generated/project.cfg
@@ -7,7 +7,7 @@ name: "gerrit" access: "group:all" lucicfg { - version: "1.40.0" + version: "1.43.13" package_dir: ".." config_dir: "generated" entry_point: "main.star"
diff --git a/recipes/recipes/gerrit.py b/recipes/recipes/gerrit.py index db8b999..989eb16 100644 --- a/recipes/recipes/gerrit.py +++ b/recipes/recipes/gerrit.py
@@ -89,7 +89,7 @@ api.gsutil.download(gs_bucket, '%s/%s' % (gs_path, version_file), chrome) version = api.file.read_text('read latest chrome version', - chrome.join(version_file)) + chrome / version_file) api.gsutil.download(gs_bucket, '%s/%s/%s' % (gs_path, version, chrome_zip), chrome) api.zip.unzip('unzip chrome', chrome / chrome_zip, chrome / 'zip')