Skip to content

Commit 209db21

Browse files
authored
[tooling] mark infra steps as infra steps in yaml files (#4473)
- Add infra notation to infra tasks in packages repo flutter/flutter#130598
1 parent 1127baf commit 209db21

21 files changed

+31
-0
lines changed

.ci/targets/analyze.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: analyze repo tools
56
script: .ci/scripts/analyze_repo_tools.sh
67
- name: analyze

.ci/targets/analyze_legacy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
# Does a sanity check that packages at least pass analysis on the N-1 and N-2
56
# versions of Flutter stable if the package claims to support that version.
67
# This is to minimize accidentally making changes that break old versions

.ci/targets/android_build_all_packages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: create all_packages app
56
script: .ci/scripts/create_all_packages_app.sh
7+
infra_step: true # Note infra steps failing prevents "always" from running.
68
- name: build all_packages for Android debug
79
script: .ci/scripts/build_all_packages_app.sh
810
args: ["apk", "debug"]

.ci/targets/dart_unit_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: Dart unit tests
56
script: script/tool_runner.sh
67
args: ["dart-test", "--exclude=script/configs/dart_unit_tests_exceptions.yaml", "--platform=vm"]

.ci/targets/ios_build_all_packages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: create all_packages app
56
script: .ci/scripts/create_all_packages_app.sh
7+
infra_step: true # Note infra steps failing prevents "always" from running.
68
- name: build all_packages for iOS debug
79
script: .ci/scripts/build_all_packages_app.sh
810
args: ["ios", "debug", "--no-codesign"]

.ci/targets/ios_platform_tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: create simulator
56
script: .ci/scripts/create_simulator.sh
7+
infra_step: true # Note infra steps failing prevents "always" from running.
68
- name: build examples
79
script: script/tool_runner.sh
810
args: ["build-examples", "--ios"]
@@ -25,3 +27,4 @@ tasks:
2527
- name: remove simulator
2628
script: .ci/scripts/remove_simulator.sh
2729
always: true
30+
infra_step: true

.ci/targets/linux_build_all_packages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: create all_packages app
56
script: .ci/scripts/create_all_packages_app.sh
7+
infra_step: true # Note infra steps failing prevents "always" from running.
68
- name: build all_packages for Linux debug
79
script: .ci/scripts/build_all_packages_app.sh
810
args: ["linux", "debug"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: custom tests
56
script: script/tool_runner.sh
67
args: ["custom-test"]

.ci/targets/macos_build_all_packages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: create all_packages app
56
script: .ci/scripts/create_all_packages_app.sh
7+
infra_step: true # Note infra steps failing prevents "always" from running.
68
- name: build all_packages for macOS debug
79
script: .ci/scripts/build_all_packages_app.sh
810
args: ["macos", "debug"]

.ci/targets/macos_check_podspecs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: validate iOS and macOS podspecs
56
script: script/tool_runner.sh
67
args: ["podspec-check"]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: create simulator
56
script: .ci/scripts/create_simulator.sh
7+
infra_step: true # Note infra steps failing prevents "always" from running.
68
- name: custom package tests
79
script: .ci/scripts/custom_package_tests.sh
810
- name: remove simulator
911
script: .ci/scripts/remove_simulator.sh
1012
always: true
13+
infra_step: true

.ci/targets/macos_platform_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: build examples
56
script: script/tool_runner.sh
67
args: ["build-examples", "--macos"]

.ci/targets/repo_checks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: format
56
script: script/tool_runner.sh
67
args: ["format", "--fail-on-change"]

.ci/targets/repo_tools_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: tool unit tests
56
script: .ci/scripts/plugin_tools_tests.sh

.ci/targets/web_build_all_packages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: create all_packages app
56
script: .ci/scripts/create_all_packages_app.sh
7+
infra_step: true # Note infra steps failing prevents "always" from running.
68
# No debug version, unlike the other platforms, since web does not support
79
# debug builds.
810
- name: build all_packages app for Web release

.ci/targets/web_dart_unit_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: Dart unit tests - web
56
script: script/tool_runner.sh
67
args: ["dart-test", "--exclude=script/configs/dart_unit_tests_exceptions.yaml", "--platform=chrome"]

.ci/targets/web_platform_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: build examples
56
script: script/tool_runner.sh
67
args: ["build-examples", "--web"]

.ci/targets/windows_build_all_packages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: create all_packages app
56
script: .ci/scripts/create_all_packages_app.sh
7+
infra_step: true # Note infra steps failing prevents "always" from running.
68
- name: build all_packages app for Windows debug
79
script: .ci/scripts/build_all_packages_app.sh
810
args: ["windows", "debug"]

.ci/targets/windows_build_and_platform_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: build examples (Win32)
56
script: .ci/scripts/build_examples_win32.sh
67
- name: native unit tests (Win32)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: custom package tests
56
script: .ci/scripts/custom_package_tests.sh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
tasks:
22
- name: prepare tool
33
script: .ci/scripts/prepare_tool.sh
4+
infra_step: true # Note infra steps failing prevents "always" from running.
45
- name: dart unit tests
56
script: .ci/scripts/dart_unit_tests_win32.sh

0 commit comments

Comments
 (0)