Add a prefix to the gcs url.
This is to be able to test the new GN artifacts.
Bug: https://github.com/flutter/flutter/issues/81855
Change-Id: Ia7612ad43aacb0e36e30ebadcefc3ca71162aa02
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/31162
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
Reviewed-by: Keyong Han <keyonghan@google.com>
diff --git a/recipes/engine_v2/builder.expected/basic_gcs.json b/recipes/engine_v2/builder.expected/basic_gcs.json
index bd110b8..2b25ec9 100644
--- a/recipes/engine_v2/builder.expected/basic_gcs.json
+++ b/recipes/engine_v2/builder.expected/basic_gcs.json
@@ -909,7 +909,7 @@
"cmd": [],
"name": "Set output properties",
"~followup_annotations": [
- "@@@SET_BUILD_PROPERTY@cas_output_hash@{\"host_debug_unopt\": \"gs://flutter_archives_v2/host_debug_unopt_tmp_1\"}@@@"
+ "@@@SET_BUILD_PROPERTY@cas_output_hash@{\"host_debug_unopt\": \"gs://flutter_archives_v2/flutter_infra_release/flutter/host_debug_unopt_tmp_1\"}@@@"
]
},
{
diff --git a/recipes/engine_v2/builder.py b/recipes/engine_v2/builder.py
index cced2eb..5fcaf4f 100644
--- a/recipes/engine_v2/builder.py
+++ b/recipes/engine_v2/builder.py
@@ -136,7 +136,7 @@
source='%s/*' % archive_dir, bucket='flutter_archives_v2',
dest=commit, args=['-r'],
name=archive_config['name'],)
- return 'gs://flutter_archives_v2/%s' % api.path.basename(archive_dir)
+ return 'gs://flutter_archives_v2/flutter_infra_release/flutter/%s' % api.path.basename(archive_dir)
# Archive using CAS by default
return api.cas_util.upload(archive_dir, step_name='Archive %s' % archive_config['name'])