Skip to content

Commit

Permalink
CPs: ci.yaml changes for packaging (#117196)
Browse files Browse the repository at this point in the history
* Migrate Packaging Builders to .ci.yaml (#115569)

* packaging builder initial config

* add release scheduler parameter

* remove stables

* add taskname + test owner

* testowner test

* comment structure

* test naming convention

* test adding tags

* add timeout

* prune names

* Update testowners.

* Move packaging to shards section.

* Set packaging as shard.

* Use packaging V2

Co-authored-by: godofredoc <godofredoc@google.com>

* use deploy suffix (#116533)

* Update docs_deploy builder with the real name. (#116631)

This is removing the temporary comments and simplifying the name.

Bug: #115489

* Add Remaining Packaging Builders (#116683)

* add stable packaging builders

* update testowners

* consolidate and use enabled_branches

* update to reflect the consolidation

* Several fixes to packaging builders. (#116800)

It includes the following changes:

* Adds main as the enabled branches.
* Adds docs_beta and docs_stable to pass the expected gcp project.
* Adds dimensions to packaging arm64 to ensure that it runs on arm64
  bot.

Bug: https://github.com/orgs/flutter/projects/43

* Pass drone_dimensions as part of the main target. (#116812)

* Pass drone_dimensions as part of the main target.

Drone dimensions were passed as properties when the sharding utility is
expecting them in the target.

Bug: #116794

* Use dimensions instead of drone_dimensions.

* Use a map format.

* Several fixes to packaging builders. (#116800)

It includes the following changes:

* Adds main as the enabled branches.
* Adds docs_beta and docs_stable to pass the expected gcp project.
* Adds dimensions to packaging arm64 to ensure that it runs on arm64
  bot.

Bug: https://github.com/orgs/flutter/projects/43

* Pass dimension explicitly to mac x64 packaging. (#117172)

Without passing this dimension there is a chance that the build will
run on a arm64 machine.

Co-authored-by: sealesj <103135467+sealesj@users.noreply.github.com>
  • Loading branch information
godofredoc and sealesj committed Dec 16, 2022
1 parent 838467a commit 9623d32
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 9 deletions.
97 changes: 88 additions & 9 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4621,15 +4621,74 @@ targets:
["devicelab", "hostonly", "mac"]
task_name: flutter_tool_startup__macos

# TODO(drewroengoogle): Remove this target when the release scheduler is
# confirmed to be working correctly and as intended.
# (https://github.com/flutter/flutter/issues/100806)
# This target is marked `bringup: true` because this is a temporary target
# that is not intended to impact the tree.
- name: Linux docs_deploy_with_release_scheduler
- name: Linux flutter_packaging
recipe: packaging_v2/packaging_v2
timeout: 60
scheduler: release
bringup: true
enabled_branches:
- beta
- stable
- main
properties:
task_name: flutter_packaging
tags: >
["framework", "hostonly", "shard", "linux"]
- name: Mac flutter_packaging
recipe: packaging_v2/packaging_v2
timeout: 60
scheduler: release
bringup: true
enabled_branches:
- beta
- stable
- main
properties:
task_name: flutter_packaging
tags: >
["framework", "hostonly", "shard", "mac"]
dimensions:
cpu: "x86"

- name: Mac_arm64 flutter_packaging
recipe: packaging_v2/packaging_v2
timeout: 60
scheduler: release
bringup: true
enabled_branches:
- beta
- stable
- main
properties:
task_name: flutter_packaging
tags: >
["framework", "hostonly", "shard", "mac"]
dimensions:
cpu: "arm64"

- name: Windows flutter_packaging
recipe: packaging_v2/packaging_v2
timeout: 60
scheduler: release
bringup: true
enabled_branches:
- beta
- stable
- main
properties:
task_name: flutter_packaging
tags: >
["framework", "hostonly", "shard", "windows"]
- name: Linux docs_deploy_beta
recipe: flutter/flutter
scheduler: release
bringup: true
enabled_branches:
- beta
- main
presubmit: false
timeout: 60
properties:
Expand All @@ -4641,7 +4700,27 @@ targets:
]
tags: >
["framework", "hostonly", "linux"]
validation: docs
validation_name: Docs
validation: docs_deploy
validation_name: Docs_deploy
firebase_project: master-docs-flutter-dev
release_ref: refs/heads/master

- name: Linux docs_deploy_stable
recipe: flutter/flutter
scheduler: release
bringup: true
enabled_branches:
- stable
presubmit: false
timeout: 60
properties:
cores: "32"
dependencies: >-
[
{"dependency": "dashing", "version": "0.4.0"},
{"dependency": "firebase", "version": "v11.0.1"}
]
tags: >
["framework", "hostonly", "linux"]
validation: docs_deploy
validation_name: Docs_deploy
firebase_project: docs-flutter-dev
1 change: 1 addition & 0 deletions TESTOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -301,3 +301,4 @@
# skp_generator @Hixie
# test_ownership @keyonghan
# verify_binaries_codesigned @christopherfujino @flutter/releases
# flutter_packaging @godofredoc @flutter/infra

0 comments on commit 9623d32

Please sign in to comment.