Skip to content

[ci] Enable the all_packages tasks #2724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

stuartmorgan-g
Copy link
Contributor

@stuartmorgan-g stuartmorgan-g commented Oct 21, 2022

Adds the "build all packages together" tasks on all platforms. While doing it on every platform isn't necessary for non-plugin packages, this is part of pre-alignment with flutter/plugins in preparation for the move. This is a light-weight task, so adding it in advance should not cause significant overhead.

(Windows is in bringup mode, as required for new LUCI targets.)

The command name and the output directory are still plugin-centric, which is why the naming is sometimes "all packages" (everywhere the name is part of a CI specification) and "all plugins" (when it's the tool command or the directory created by the tool). The naming will be cleaned up later; using the final task names now avoids task name confusion (despite the name it builds all packages) and later churn in tasks (especially LUCI where name changes require a bringup cycle).

Part of flutter/flutter#113764

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

Adds the "build all packages together" tasks on all platforms. While
doing it on every platform isn't necessary for non-plugin packages, this
is part of pre-alignment with flutter/plugins in preparation for the
move. This is a light-weight task, so adding it in advance should not
cause significant overhead.

The command name and the output directory are still plugin-centric,
which is why the naming is sometimes "all packages" (everywhere the name
is part of a CI specification) and "all plugins" (when it's the tool
command or the directory created by the tool). The naming will be
cleaned up later; using the final task names now avoids task name
confusion (despite the name it builds all packages) and later churn in
tasks (especially LUCI where name changes require a `bringup` cycle).

Part of flutter/flutter#113764
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@@ -268,6 +307,23 @@ task:
<< : *FLUTTER_UPGRADE_TEMPLATE
<< : *MACOS_ARM_TEMPLATE
matrix:
- name: macos-custom_package_tests
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The weird diff here and below is because I noticed that I had accidentally put this in the "iOS tasks" group when I added groups to this file, but we don't actually know what the target platform(s) is/are for custom test scripts because they can do anything.

stuartmorgan-g added a commit to stuartmorgan-g/plugins that referenced this pull request Oct 21, 2022
Renames `all-plugins-app` to `create-all-packages-app`, to make it clear
that it's not plugin-specific (in preparation for the repo merge).

See flutter/packages#2724 for context.
@Hixie
Copy link
Contributor

Hixie commented Oct 24, 2022

test-exempt: configuration

Copy link
Contributor

@bparrishMines bparrishMines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 31, 2022
@auto-submit auto-submit bot merged commit debcfa3 into flutter:main Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App needs tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants