Point to a new artifacts location. (#70673)
This is in preparation to move the flutter artifacts to a more secure location. Bug: go/fxb/64576
This commit is contained in:
@@ -26,10 +26,10 @@ void main() {
|
||||
|
||||
test('start works', () async {
|
||||
final Map<String, List<ProcessResult>> calls = <String, List<ProcessResult>>{
|
||||
'gsutil acl get gs://flutter_infra/releases/releases.json': <ProcessResult>[
|
||||
'gsutil acl get gs://flutter_infra_release/releases/releases.json': <ProcessResult>[
|
||||
ProcessResult(0, 0, 'output1', ''),
|
||||
],
|
||||
'gsutil cat gs://flutter_infra/releases/releases.json': <ProcessResult>[
|
||||
'gsutil cat gs://flutter_infra_release/releases/releases.json': <ProcessResult>[
|
||||
ProcessResult(0, 0, 'output2', ''),
|
||||
],
|
||||
};
|
||||
@@ -48,10 +48,10 @@ void main() {
|
||||
|
||||
test('run works', () async {
|
||||
final Map<String, List<ProcessResult>> calls = <String, List<ProcessResult>>{
|
||||
'gsutil acl get gs://flutter_infra/releases/releases.json': <ProcessResult>[
|
||||
'gsutil acl get gs://flutter_infra_release/releases/releases.json': <ProcessResult>[
|
||||
ProcessResult(0, 0, 'output1', ''),
|
||||
],
|
||||
'gsutil cat gs://flutter_infra/releases/releases.json': <ProcessResult>[
|
||||
'gsutil cat gs://flutter_infra_release/releases/releases.json': <ProcessResult>[
|
||||
ProcessResult(0, 0, 'output2', ''),
|
||||
],
|
||||
};
|
||||
@@ -65,10 +65,10 @@ void main() {
|
||||
|
||||
test('runSync works', () async {
|
||||
final Map<String, List<ProcessResult>> calls = <String, List<ProcessResult>>{
|
||||
'gsutil acl get gs://flutter_infra/releases/releases.json': <ProcessResult>[
|
||||
'gsutil acl get gs://flutter_infra_release/releases/releases.json': <ProcessResult>[
|
||||
ProcessResult(0, 0, 'output1', ''),
|
||||
],
|
||||
'gsutil cat gs://flutter_infra/releases/releases.json': <ProcessResult>[
|
||||
'gsutil cat gs://flutter_infra_release/releases/releases.json': <ProcessResult>[
|
||||
ProcessResult(0, 0, 'output2', ''),
|
||||
],
|
||||
};
|
||||
@@ -82,10 +82,10 @@ void main() {
|
||||
|
||||
test('captures stdin', () async {
|
||||
final Map<String, List<ProcessResult>> calls = <String, List<ProcessResult>>{
|
||||
'gsutil acl get gs://flutter_infra/releases/releases.json': <ProcessResult>[
|
||||
'gsutil acl get gs://flutter_infra_release/releases/releases.json': <ProcessResult>[
|
||||
ProcessResult(0, 0, 'output1', ''),
|
||||
],
|
||||
'gsutil cat gs://flutter_infra/releases/releases.json': <ProcessResult>[
|
||||
'gsutil cat gs://flutter_infra_release/releases/releases.json': <ProcessResult>[
|
||||
ProcessResult(0, 0, 'output2', ''),
|
||||
],
|
||||
};
|
||||
|
||||
@@ -21,10 +21,10 @@ import 'package:path/path.dart' as path;
|
||||
import 'package:platform/platform.dart' show Platform, LocalPlatform;
|
||||
import 'package:process/process.dart';
|
||||
|
||||
const String gsBase = 'gs://flutter_infra';
|
||||
const String gsBase = 'gs://flutter_infra_release';
|
||||
const String releaseFolder = '/releases';
|
||||
const String gsReleaseFolder = '$gsBase$releaseFolder';
|
||||
const String baseUrl = 'https://storage.googleapis.com/flutter_infra';
|
||||
const String baseUrl = 'https://storage.googleapis.com/flutter_infra_release';
|
||||
|
||||
/// Exception class for when a process fails to run, so we can catch
|
||||
/// it and provide something more readable than a stack trace.
|
||||
|
||||
Reference in New Issue
Block a user