Copy offband artifacts for monorepo, monorepo_try builds.
Follow-up to 7a21186796e7e164dd2179d992dca8fa592adc97.
Fixes https://github.com/flutter/flutter/issues/147360
Change-Id: I28dcf1ac1379bba0c5557268d29e5bcefe0e0f0d
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/57320
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
diff --git a/recipes/engine_v2/tester.expected/engine.json b/recipes/engine_v2/tester.expected/engine.json
index 754e027..e68aa90 100644
--- a/recipes/engine_v2/tester.expected/engine.json
+++ b/recipes/engine_v2/tester.expected/engine.json
@@ -274,7 +274,7 @@
},
"name": "read material fonts version",
"~followup_annotations": [
- "@@@STEP_LOG_LINE@material_fonts.version@flutter_infra_release/flutter/fonts/12345/fonts.version@@@",
+ "@@@STEP_LOG_LINE@material_fonts.version@flutter_infra_release/flutter/fonts/12345/fonts.zip@@@",
"@@@STEP_LOG_END@material_fonts.version@@@"
]
},
@@ -287,8 +287,8 @@
"RECIPE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
- "gs://flutter_infra_release/flutter/fonts/12345/fonts.version",
- "gs://flutter_archives_v2/81123491/flutter_infra_release/flutter/fonts/12345/fonts.version"
+ "gs://flutter_infra_release/flutter/fonts/12345/fonts.zip",
+ "gs://flutter_archives_v2/81123491/flutter_infra_release/flutter/fonts/12345/fonts.zip"
],
"infra_step": true,
"luci_context": {
@@ -305,7 +305,7 @@
},
"name": "gsutil copy Material fonts",
"~followup_annotations": [
- "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/81123491/flutter_infra_release/flutter/fonts/12345/fonts.version@@@"
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/81123491/flutter_infra_release/flutter/fonts/12345/fonts.zip@@@"
]
},
{
diff --git a/recipes/engine_v2/tester.expected/monorepo.json b/recipes/engine_v2/tester.expected/monorepo.json
index 1349fd2..24c04cf 100644
--- a/recipes/engine_v2/tester.expected/monorepo.json
+++ b/recipes/engine_v2/tester.expected/monorepo.json
@@ -484,6 +484,156 @@
},
{
"cmd": [
+ "vpython3",
+ "-u",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
+ "[CACHE]/builder/flutter/bin/internal/material_fonts.version",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "read material fonts version",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@material_fonts.version@flutter_infra_release/flutter/fonts/12345/fonts.zip@@@",
+ "@@@STEP_LOG_END@material_fonts.version@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/flutter/fonts/12345/fonts.zip",
+ "gs://flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/fonts/12345/fonts.zip"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy Material fonts",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/fonts/12345/fonts.zip@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "vpython3",
+ "-u",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
+ "[CACHE]/builder/flutter/bin/internal/gradle_wrapper.version",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "read graddle wrapper version",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@gradle_wrapper.version@flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz@@@",
+ "@@@STEP_LOG_END@gradle_wrapper.version@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz",
+ "gs://flutter_archives_v2/monorepo/123/flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy Gradle wrapper",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo/123/flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/flutter/coverage/lcov.info",
+ "gs://flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/coverage/lcov.info"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy lcov.info",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/coverage/lcov.info@@@"
+ ]
+ },
+ {
+ "cmd": [
"git",
"rev-parse",
"HEAD"
diff --git a/recipes/engine_v2/tester.expected/monorepo_framework_tests.json b/recipes/engine_v2/tester.expected/monorepo_framework_tests.json
index 734336a..e71be4c 100644
--- a/recipes/engine_v2/tester.expected/monorepo_framework_tests.json
+++ b/recipes/engine_v2/tester.expected/monorepo_framework_tests.json
@@ -484,6 +484,156 @@
},
{
"cmd": [
+ "vpython3",
+ "-u",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
+ "[CACHE]/builder/flutter/bin/internal/material_fonts.version",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "read material fonts version",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@material_fonts.version@flutter_infra_release/flutter/fonts/12345/fonts.zip@@@",
+ "@@@STEP_LOG_END@material_fonts.version@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/flutter/fonts/12345/fonts.zip",
+ "gs://flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/fonts/12345/fonts.zip"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy Material fonts",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/fonts/12345/fonts.zip@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "vpython3",
+ "-u",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
+ "[CACHE]/builder/flutter/bin/internal/gradle_wrapper.version",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "read graddle wrapper version",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@gradle_wrapper.version@flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz@@@",
+ "@@@STEP_LOG_END@gradle_wrapper.version@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz",
+ "gs://flutter_archives_v2/monorepo/123/flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy Gradle wrapper",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo/123/flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/flutter/coverage/lcov.info",
+ "gs://flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/coverage/lcov.info"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy lcov.info",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/coverage/lcov.info@@@"
+ ]
+ },
+ {
+ "cmd": [
"git",
"rev-parse",
"HEAD"
diff --git a/recipes/engine_v2/tester.expected/monorepo_tryjob.json b/recipes/engine_v2/tester.expected/monorepo_tryjob.json
index 74cd9fb..9853a78 100644
--- a/recipes/engine_v2/tester.expected/monorepo_tryjob.json
+++ b/recipes/engine_v2/tester.expected/monorepo_tryjob.json
@@ -250,6 +250,156 @@
},
{
"cmd": [
+ "vpython3",
+ "-u",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
+ "[CACHE]/builder/flutter/bin/internal/material_fonts.version",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:8945511751514863184",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "read material fonts version",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@material_fonts.version@flutter_infra_release/flutter/fonts/12345/fonts.zip@@@",
+ "@@@STEP_LOG_END@material_fonts.version@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/flutter/fonts/12345/fonts.zip",
+ "gs://flutter_archives_v2/monorepo_try/81123491/flutter_infra_release/flutter/fonts/12345/fonts.zip"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:8945511751514863184",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy Material fonts",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo_try/81123491/flutter_infra_release/flutter/fonts/12345/fonts.zip@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "vpython3",
+ "-u",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
+ "[CACHE]/builder/flutter/bin/internal/gradle_wrapper.version",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:8945511751514863184",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "read graddle wrapper version",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@gradle_wrapper.version@flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz@@@",
+ "@@@STEP_LOG_END@gradle_wrapper.version@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz",
+ "gs://flutter_archives_v2/monorepo_try/81123491/flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:8945511751514863184",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy Gradle wrapper",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo_try/81123491/flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/flutter/coverage/lcov.info",
+ "gs://flutter_archives_v2/monorepo_try/81123491/flutter_infra_release/flutter/coverage/lcov.info"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:8945511751514863184",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy lcov.info",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo_try/81123491/flutter_infra_release/flutter/coverage/lcov.info@@@"
+ ]
+ },
+ {
+ "cmd": [
"git",
"rev-parse",
"HEAD"
diff --git a/recipes/engine_v2/tester.expected/monorepo_web_tests.json b/recipes/engine_v2/tester.expected/monorepo_web_tests.json
index ec184a8..d21e944 100644
--- a/recipes/engine_v2/tester.expected/monorepo_web_tests.json
+++ b/recipes/engine_v2/tester.expected/monorepo_web_tests.json
@@ -484,6 +484,156 @@
},
{
"cmd": [
+ "vpython3",
+ "-u",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
+ "[CACHE]/builder/flutter/bin/internal/material_fonts.version",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "read material fonts version",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@material_fonts.version@flutter_infra_release/flutter/fonts/12345/fonts.zip@@@",
+ "@@@STEP_LOG_END@material_fonts.version@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/flutter/fonts/12345/fonts.zip",
+ "gs://flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/fonts/12345/fonts.zip"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy Material fonts",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/fonts/12345/fonts.zip@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "vpython3",
+ "-u",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
+ "[CACHE]/builder/flutter/bin/internal/gradle_wrapper.version",
+ "/path/to/tmp/"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "read graddle wrapper version",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@gradle_wrapper.version@flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz@@@",
+ "@@@STEP_LOG_END@gradle_wrapper.version@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz",
+ "gs://flutter_archives_v2/monorepo/123/flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy Gradle wrapper",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo/123/flutter_infra_release/gradle-wrapper/12345/gradle-wrapper.tgz@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python3",
+ "-u",
+ "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
+ "--",
+ "RECIPE_REPO[depot_tools]/gsutil.py",
+ "----",
+ "cp",
+ "gs://flutter_infra_release/flutter/coverage/lcov.info",
+ "gs://flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/coverage/lcov.info"
+ ],
+ "infra_step": true,
+ "luci_context": {
+ "realm": {
+ "name": "dart:ci.sandbox"
+ },
+ "resultdb": {
+ "current_invocation": {
+ "name": "invocations/build:123",
+ "update_token": "token"
+ },
+ "hostname": "rdbhost"
+ }
+ },
+ "name": "gsutil copy lcov.info",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_archives_v2/monorepo/123/flutter_infra_release/flutter/coverage/lcov.info@@@"
+ ]
+ },
+ {
+ "cmd": [
"git",
"rev-parse",
"HEAD"
diff --git a/recipes/engine_v2/tester.py b/recipes/engine_v2/tester.py
index d2a4cb2..e055730 100644
--- a/recipes/engine_v2/tester.py
+++ b/recipes/engine_v2/tester.py
@@ -57,14 +57,14 @@
def copy_offband_artifacts(api, checkout, artifact_url):
- # Noop for monorepo.
- if '/monorepo' in artifact_url:
- return
+ # Need to place artifacts into [artifact_url]-based location where
+ # flutter tools can find them at runtime.
+
# fonts.zip
src = api.file.read_text(
'read material fonts version',
checkout.join('bin', 'internal', 'material_fonts.version'),
- test_data='flutter_infra_release/flutter/fonts/12345/fonts.version',
+ test_data='flutter_infra_release/flutter/fonts/12345/fonts.zip',
include_log=True
)
_upload_artifact(api, 'Material fonts', src, artifact_url)
@@ -106,7 +106,8 @@
flutter.join('bin', 'internal', 'engine.version'), engine_version + '\n'
)
- # Copy offband artifacts. This is a noop for monorepo.
+ # Not all artifacts were just built and put into [artifact_url]-relative url, so
+ # copy those which were not built there now, so flutter tools can find them there.
copy_offband_artifacts(api, flutter, artifact_url)
# TODO(https://github.com/flutter/flutter/issues/116906): Combine this