From f3746f90011e0d0833f3191a26ed91f917e4362e Mon Sep 17 00:00:00 2001 From: Zachary Anderson Date: Wed, 2 Oct 2024 16:41:59 -0700 Subject: [PATCH] Shift --no-prebuilt-dart-sdk build to linux_unopt (flutter/engine#55597) This is my bad for not having this documented better/at-all, but since this build does not produce artifacts, it should not go under a builder that is marked as `release_build: "true"` in the .ci.yaml. This PR moves the build to `linux_unopt.json`. --- .../ci/builders/linux_android_aot_engine.json | 8 ++++ .../builders/linux_android_debug_engine.json | 8 ++++ .../ci/builders/linux_arm_host_engine.json | 8 ++++ .../flutter/ci/builders/linux_fuchsia.json | 8 ++++ .../builders/linux_host_desktop_engine.json | 8 ++++ .../ci/builders/linux_host_engine.json | 42 ++++--------------- .../src/flutter/ci/builders/linux_unopt.json | 30 +++++++++++++ .../ci/builders/mac_android_aot_engine.json | 8 ++++ .../flutter/ci/builders/mac_ios_engine.json | 8 ++++ 9 files changed, 94 insertions(+), 34 deletions(-) diff --git a/engine/src/flutter/ci/builders/linux_android_aot_engine.json b/engine/src/flutter/ci/builders/linux_android_aot_engine.json index 41dfccb36b..fd6b8a3015 100644 --- a/engine/src/flutter/ci/builders/linux_android_aot_engine.json +++ b/engine/src/flutter/ci/builders/linux_android_aot_engine.json @@ -1,4 +1,12 @@ { + "_comment": [ + "The builds defined in this file should not contain tests, ", + "and the file should not contain builds that are essentially tests. ", + "The only builds in this file should be the builds necessary to produce ", + "release artifacts. ", + "Tests to run on linux hosts should go in one of the other linux_ build ", + "definition files." + ], "builds": [ { "archives": [ diff --git a/engine/src/flutter/ci/builders/linux_android_debug_engine.json b/engine/src/flutter/ci/builders/linux_android_debug_engine.json index a9f2c20f70..38b24106cc 100644 --- a/engine/src/flutter/ci/builders/linux_android_debug_engine.json +++ b/engine/src/flutter/ci/builders/linux_android_debug_engine.json @@ -1,4 +1,12 @@ { + "_comment": [ + "The builds defined in this file should not contain tests, ", + "and the file should not contain builds that are essentially tests. ", + "The only builds in this file should be the builds necessary to produce ", + "release artifacts. ", + "Tests to run on linux hosts should go in one of the other linux_ build ", + "definition files." + ], "builds": [ { "archives": [ diff --git a/engine/src/flutter/ci/builders/linux_arm_host_engine.json b/engine/src/flutter/ci/builders/linux_arm_host_engine.json index e5890f95d3..6af3a9f172 100644 --- a/engine/src/flutter/ci/builders/linux_arm_host_engine.json +++ b/engine/src/flutter/ci/builders/linux_arm_host_engine.json @@ -1,4 +1,12 @@ { + "_comment": [ + "The builds defined in this file should not contain tests, ", + "and the file should not contain builds that are essentially tests. ", + "The only builds in this file should be the builds necessary to produce ", + "release artifacts. ", + "Tests to run on linux hosts should go in one of the other linux_ build ", + "definition files." + ], "builds": [ { "archives": [ diff --git a/engine/src/flutter/ci/builders/linux_fuchsia.json b/engine/src/flutter/ci/builders/linux_fuchsia.json index 8ed7e08f63..947226c7f5 100644 --- a/engine/src/flutter/ci/builders/linux_fuchsia.json +++ b/engine/src/flutter/ci/builders/linux_fuchsia.json @@ -1,4 +1,12 @@ { + "_comment": [ + "The builds defined in this file should not contain tests, ", + "and the file should not contain builds that are essentially tests. ", + "The only builds in this file should be the builds necessary to produce ", + "release artifacts. ", + "Tests to run on linux hosts should go in one of the other linux_ build ", + "definition files." + ], "builds": [ { "drone_dimensions": [ diff --git a/engine/src/flutter/ci/builders/linux_host_desktop_engine.json b/engine/src/flutter/ci/builders/linux_host_desktop_engine.json index 97e2c3d358..70812cef54 100644 --- a/engine/src/flutter/ci/builders/linux_host_desktop_engine.json +++ b/engine/src/flutter/ci/builders/linux_host_desktop_engine.json @@ -1,4 +1,12 @@ { + "_comment": [ + "The builds defined in this file should not contain tests, ", + "and the file should not contain builds that are essentially tests. ", + "The only builds in this file should be the builds necessary to produce ", + "release artifacts. ", + "Tests to run on linux hosts should go in one of the other linux_ build ", + "definition files." + ], "builds": [ { "archives": [ diff --git a/engine/src/flutter/ci/builders/linux_host_engine.json b/engine/src/flutter/ci/builders/linux_host_engine.json index ea2e11cb21..3870ea1b76 100644 --- a/engine/src/flutter/ci/builders/linux_host_engine.json +++ b/engine/src/flutter/ci/builders/linux_host_engine.json @@ -1,4 +1,12 @@ { + "_comment": [ + "The builds defined in this file should not contain tests, ", + "and the file should not contain builds that are essentially tests. ", + "The only builds in this file should be the builds necessary to produce ", + "release artifacts. ", + "Tests to run on linux hosts should go in one of the other linux_ build ", + "definition files." + ], "builds": [ { "archives": [ @@ -208,40 +216,6 @@ ] } ] - }, - { - "archives": [ - ], - "cas_archive": false, - "drone_dimensions": [ - "device_type=none", - "os=Linux" - ], - "gclient_variables": { - "download_android_deps": false, - "download_jdk": false, - "use_rbe": true - }, - "gn": [ - "--target-dir", - "ci/host_debug", - "--runtime-mode", - "debug", - "--no-prebuilt-dart-sdk", - "--build-embedder-examples", - "--rbe", - "--no-goma" - ], - "name": "ci/host_debug_no_prebuilt_dart_sdk", - "description": "Produces debug mode Linux host-side tooling for Linux without use of prebuilt dart sdk artifacts.", - "ninja": { - "config": "ci/host_debug", - "targets": [ - "default" - ] - }, - "tests": [ - ] } ], "generators": { diff --git a/engine/src/flutter/ci/builders/linux_unopt.json b/engine/src/flutter/ci/builders/linux_unopt.json index fe260c013b..0835c0f16e 100644 --- a/engine/src/flutter/ci/builders/linux_unopt.json +++ b/engine/src/flutter/ci/builders/linux_unopt.json @@ -363,6 +363,36 @@ ] } ] + }, + { + "cas_archive": false, + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_variables": { + "download_android_deps": false, + "download_jdk": false, + "use_rbe": true + }, + "gn": [ + "--target-dir", + "ci/host_debug", + "--runtime-mode", + "debug", + "--no-prebuilt-dart-sdk", + "--build-embedder-examples", + "--rbe", + "--no-goma" + ], + "name": "ci/host_debug_no_prebuilt_dart_sdk", + "description": "Produces debug mode Linux host-side tooling for Linux without use of prebuilt dart sdk artifacts.", + "ninja": { + "config": "ci/host_debug", + "targets": [ + "default" + ] + } } ] } diff --git a/engine/src/flutter/ci/builders/mac_android_aot_engine.json b/engine/src/flutter/ci/builders/mac_android_aot_engine.json index a773e1df31..311bdd58a7 100644 --- a/engine/src/flutter/ci/builders/mac_android_aot_engine.json +++ b/engine/src/flutter/ci/builders/mac_android_aot_engine.json @@ -1,4 +1,12 @@ { + "_comment": [ + "The builds defined in this file should not contain tests, ", + "and the file should not contain builds that are essentially tests. ", + "The only builds in this file should be the builds necessary to produce ", + "release artifacts. ", + "Tests to run on mac hosts should go in one of the other mac_ build ", + "definition files." + ], "builds": [ { "archives": [ diff --git a/engine/src/flutter/ci/builders/mac_ios_engine.json b/engine/src/flutter/ci/builders/mac_ios_engine.json index dbec8bb711..78423c2acc 100644 --- a/engine/src/flutter/ci/builders/mac_ios_engine.json +++ b/engine/src/flutter/ci/builders/mac_ios_engine.json @@ -1,4 +1,12 @@ { + "_comment": [ + "The builds defined in this file should not contain tests, ", + "and the file should not contain builds that are essentially tests. ", + "The only builds in this file should be the builds necessary to produce ", + "release artifacts. ", + "Tests to run on mac hosts should go in one of the other mac_ build ", + "definition files." + ], "builds": [ { "drone_dimensions": [