From 74b215e84c14788dcca401aed41dcc1a36e272bd Mon Sep 17 00:00:00 2001 From: Keyong Han Date: Wed, 31 May 2023 17:38:38 -0700 Subject: [PATCH 1/8] initial config --- ci/builders/linux_framework_smoke.json | 50 ++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ci/builders/linux_framework_smoke.json diff --git a/ci/builders/linux_framework_smoke.json b/ci/builders/linux_framework_smoke.json new file mode 100644 index 0000000000000..45ef8ad891c2e --- /dev/null +++ b/ci/builders/linux_framework_smoke.json @@ -0,0 +1,50 @@ +{ + "builds": [ + { + "archives": [], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gn": [ + "--unoptimized", + "--prebuilt-dart-sdk" + ], + "name": "host_debug_unopt", + "ninja": { + "config": "host_debug_unopt" + } + } + ], + "tests": [ + { + "name": "test: lint host_debug", + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "dependencies": [ + "host_debug_unopt" + ], + "tasks": [ + { + "name": "Framework analyze", + "parameters": [ + "analyze", + "--flutter-repo", + "--local-engine=host_debug_unopt" + ], + "script": "flutter/bin/flutter" + }, + { + "name": "test: frameowrk smoke", + "parameters": [ + "--local-engine=host_debug_unopt" + ], + "script": "flutter/bin/dart/dev/bots/test.dart", + "language": "dart" + } + ] + } + ] +} From ab8625be01877f4ca1b90b39a10a4d2429a327de Mon Sep 17 00:00:00 2001 From: Keyong Han Date: Thu, 1 Jun 2023 09:07:57 -0700 Subject: [PATCH 2/8] use shard --- ci/builders/linux_framework_smoke.json | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/ci/builders/linux_framework_smoke.json b/ci/builders/linux_framework_smoke.json index 45ef8ad891c2e..781ad10f5cecb 100644 --- a/ci/builders/linux_framework_smoke.json +++ b/ci/builders/linux_framework_smoke.json @@ -26,25 +26,9 @@ "dependencies": [ "host_debug_unopt" ], - "tasks": [ - { - "name": "Framework analyze", - "parameters": [ - "analyze", - "--flutter-repo", - "--local-engine=host_debug_unopt" - ], - "script": "flutter/bin/flutter" - }, - { - "name": "test: frameowrk smoke", - "parameters": [ - "--local-engine=host_debug_unopt" - ], - "script": "flutter/bin/dart/dev/bots/test.dart", - "language": "dart" - } - ] + "local_engine": "host_debug_unopt", + "shard": "framework_tests", + "subshard": "widgets" } ] } From 7e56769cb68ae845d7a37db8262695621fd260f0 Mon Sep 17 00:00:00 2001 From: Keyong Han Date: Thu, 1 Jun 2023 17:24:01 -0700 Subject: [PATCH 3/8] add library --- ci/builders/linux_framework_smoke.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ci/builders/linux_framework_smoke.json b/ci/builders/linux_framework_smoke.json index 781ad10f5cecb..4f776bf376bfb 100644 --- a/ci/builders/linux_framework_smoke.json +++ b/ci/builders/linux_framework_smoke.json @@ -18,7 +18,7 @@ ], "tests": [ { - "name": "test: lint host_debug", + "name": "test: lint host_debug widgets", "drone_dimensions": [ "device_type=none", "os=Linux" @@ -29,6 +29,19 @@ "local_engine": "host_debug_unopt", "shard": "framework_tests", "subshard": "widgets" + }, + { + "name": "test: lint host_debug library", + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "dependencies": [ + "host_debug_unopt" + ], + "local_engine": "host_debug_unopt", + "shard": "framework_tests", + "subshard": "library" } ] } From 783401d859db65ffc2a674374f28abb7842e12f5 Mon Sep 17 00:00:00 2001 From: Keyong Han Date: Thu, 1 Jun 2023 18:35:33 -0700 Subject: [PATCH 4/8] libraries --- ci/builders/linux_framework_smoke.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/builders/linux_framework_smoke.json b/ci/builders/linux_framework_smoke.json index 4f776bf376bfb..26bf3feac3884 100644 --- a/ci/builders/linux_framework_smoke.json +++ b/ci/builders/linux_framework_smoke.json @@ -41,7 +41,7 @@ ], "local_engine": "host_debug_unopt", "shard": "framework_tests", - "subshard": "library" + "subshard": "libraries" } ] } From 06656f702a946cd1572e49b437ee4f550edcdc96 Mon Sep 17 00:00:00 2001 From: Keyong Han Date: Fri, 2 Jun 2023 10:41:59 -0700 Subject: [PATCH 5/8] add archives --- ci/builders/linux_framework_smoke.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ci/builders/linux_framework_smoke.json b/ci/builders/linux_framework_smoke.json index 26bf3feac3884..2d564b792bc95 100644 --- a/ci/builders/linux_framework_smoke.json +++ b/ci/builders/linux_framework_smoke.json @@ -1,7 +1,17 @@ { "builds": [ { - "archives": [], + "archives": [ + { + "name": "host_debug_unopt", + "base_path": "out/host_debug_unopt/zip_archives/", + "type": "gcs", + "include_paths": [ + "out/host_debug_unopt/zip_archives/dart-sdk-linux-x64.zip" + ], + "realm": "production" + } + ], "drone_dimensions": [ "device_type=none", "os=Linux" From f2ae3760bccf395b48a8c9a4c757935156a76c13 Mon Sep 17 00:00:00 2001 From: Keyong Han Date: Fri, 2 Jun 2023 11:06:39 -0700 Subject: [PATCH 6/8] add ninja target --- ci/builders/linux_framework_smoke.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/builders/linux_framework_smoke.json b/ci/builders/linux_framework_smoke.json index 2d564b792bc95..4225db1519dfc 100644 --- a/ci/builders/linux_framework_smoke.json +++ b/ci/builders/linux_framework_smoke.json @@ -22,7 +22,10 @@ ], "name": "host_debug_unopt", "ninja": { - "config": "host_debug_unopt" + "config": "host_debug_unopt", + "targets": [ + "flutter/build/archives:dart_sdk_archive" + ] } } ], From dd4fe0b24f3bb1d18206fe90a6e16425fa53869f Mon Sep 17 00:00:00 2001 From: Keyong Han Date: Mon, 5 Jun 2023 10:52:34 -0700 Subject: [PATCH 7/8] analyze --- ci/builders/linux_framework_smoke.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/ci/builders/linux_framework_smoke.json b/ci/builders/linux_framework_smoke.json index 4225db1519dfc..abe4df087f4b3 100644 --- a/ci/builders/linux_framework_smoke.json +++ b/ci/builders/linux_framework_smoke.json @@ -39,7 +39,6 @@ "dependencies": [ "host_debug_unopt" ], - "local_engine": "host_debug_unopt", "shard": "framework_tests", "subshard": "widgets" }, @@ -52,9 +51,20 @@ "dependencies": [ "host_debug_unopt" ], - "local_engine": "host_debug_unopt", "shard": "framework_tests", "subshard": "libraries" + }, + { + "name": "test: flutter analyze", + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "dependencies": [ + "host_debug_unopt" + ], + "validation": "analyze", + "validation_name": "Analyze" } ] } From ed0da1eaf7c43957b13ab9ae8edbf1703980488a Mon Sep 17 00:00:00 2001 From: Keyong Han Date: Tue, 6 Jun 2023 12:33:57 -0700 Subject: [PATCH 8/8] string comments --- ci/builders/linux_framework_smoke.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/builders/linux_framework_smoke.json b/ci/builders/linux_framework_smoke.json index abe4df087f4b3..cda0a6057572e 100644 --- a/ci/builders/linux_framework_smoke.json +++ b/ci/builders/linux_framework_smoke.json @@ -51,6 +51,7 @@ "dependencies": [ "host_debug_unopt" ], + "_comment": "shard/subshard strings are defined in framework test runner: dev/bots/test.dart, and are consistent with properties defined in framework .ciyaml targets", "shard": "framework_tests", "subshard": "libraries" }, @@ -63,6 +64,7 @@ "dependencies": [ "host_debug_unopt" ], + "_comment": "validation strings are consistent with properties defined in framework .ciyaml targets", "validation": "analyze", "validation_name": "Analyze" }