[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[ci] Part 1 of swapping iOS platform test arch #7064

Merged
merged 4 commits into from
Jan 31, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[ci] Part 1 of swapping iOS task arch
Adds Intel versions of iOS build-all and ARM versions of iOS platform
tests, as part one of swapping them. Once the new tasks propagate, they
will be brought out of bringup mode and the old versions removed.

These were on the opposite architectures because of issues with running
the platfor tests on Cirrus ARM VMs, and then were ported as-is from
Cirrus to LUCI, but now that macOS ARM works on LUCI we can switch to
the desired configuration.
  • Loading branch information
stuartmorgan committed Jan 30, 2023
commit 5251954e2195a844467c8424e2a9cf68c417da5a
108 changes: 108 additions & 0 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,26 @@ targets:
version_file: flutter_stable.version
target_file: ios_build_all_plugins.yaml

- name: Mac_x64 ios_build_all_plugins master
bringup: true # New task, replaces ARM version
recipe: plugins/plugins
timeout: 30
properties:
channel: master
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: ios_build_all_plugins.yaml

- name: Mac_x64 ios_build_all_plugins stable
bringup: true # New task, replaces ARM version
recipe: plugins/plugins
timeout: 30
properties:
channel: stable
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: ios_build_all_plugins.yaml

# TODO(stuartmorgan): Swap the architecture of this and ios_build_all_plugins
# once simulator tests are reliable on the ARM infrastructure. See discussion
# at https://github.com/flutter/plugins/pull/5693#issuecomment-1126011089
Expand Down Expand Up @@ -168,6 +188,46 @@ targets:
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 3 --shardCount 4"

- name: Mac_arm64 ios_platform_tests_1_of_4 master
bringup: true # New task; will replace Intel version
recipe: plugins/plugins
timeout: 60
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 0 --shardCount 4"

- name: Mac_arm64 ios_platform_tests_2_of_4 master
bringup: true # New task; will replace Intel version
recipe: plugins/plugins
timeout: 60
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 1 --shardCount 4"

- name: Mac_arm64 ios_platform_tests_3_of_4 master
bringup: true # New task; will replace Intel version
recipe: plugins/plugins
timeout: 60
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 2 --shardCount 4"

- name: Mac_arm64 ios_platform_tests_4_of_4 master
bringup: true # New task; will replace Intel version
recipe: plugins/plugins
timeout: 60
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 3 --shardCount 4"

# Don't run full platform tests on both channels in pre-submit.
- name: Mac_x64 ios_platform_tests_1_of_4 stable
recipe: plugins/plugins
Expand Down Expand Up @@ -213,6 +273,54 @@ targets:
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 3 --shardCount 4"

- name: Mac_arm64 ios_platform_tests_1_of_4 stable
bringup: true # New task; will replace Intel version
recipe: plugins/plugins
presubmit: false
timeout: 60
properties:
channel: stable
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 0 --shardCount 4"

- name: Mac_arm64 ios_platform_tests_2_of_4 stable
bringup: true # New task; will replace Intel version
recipe: plugins/plugins
presubmit: false
timeout: 60
properties:
channel: stable
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 1 --shardCount 4"

- name: Mac_arm64 ios_platform_tests_3_of_4 stable
bringup: true # New task; will replace Intel version
recipe: plugins/plugins
presubmit: false
timeout: 60
properties:
channel: stable
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 2 --shardCount 4"

- name: Mac_arm64 ios_platform_tests_4_of_4 stable
bringup: true # New task; will replace Intel version
recipe: plugins/plugins
presubmit: false
timeout: 60
properties:
channel: stable
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: ios_platform_tests.yaml
package_sharding: "--shardIndex 3 --shardCount 4"

- name: Windows win32-platform_tests master
recipe: plugins/plugins
timeout: 60
Expand Down