Skip to content
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

Allow specifying groups option in submit command #2891

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

khamilowicz
Copy link
Contributor

@khamilowicz khamilowicz commented Feb 7, 2025

Why

ENG-14634: Add support for groups option in fastlane pilot call

User should be able to pass the groups option to fastlane pilot when submitting an iOS build.

How

  • Accept the groups flag in the eas submit command
  • Pass this parameter to the submission-config

Test Plan

  1. Build the project
  2. Run the eas submit -p ios --groups "Test 1" command
  3. Check the submission logs

Deployment plan

  1. https://github.com/expo/turtle-v2/pull/2082
  2. https://github.com/expo/universe/pull/18600
  3. Allow specifying groups option in submit command #2891

Copy link

linear bot commented Feb 7, 2025

Copy link

github-actions bot commented Feb 7, 2025

Size Change: -157 B (0%)

Total Size: 53.5 MB

Filename Size Change
./packages/eas-cli/dist/eas-linux-x64.tar.gz 53.5 MB -157 B (0%)

compressed-size-action

@khamilowicz khamilowicz force-pushed the piotrekszeremeta/eng-14634-add-support-for-groups-option-in-fastlane-pilot-call branch 3 times, most recently from 7408a04 to 4892814 Compare February 7, 2025 17:02
Copy link

codecov bot commented Feb 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.61%. Comparing base (2816b43) to head (2573643).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2891      +/-   ##
==========================================
+ Coverage   52.61%   52.61%   +0.01%     
==========================================
  Files         590      590              
  Lines       23340    23344       +4     
  Branches     4644     4646       +2     
==========================================
+ Hits        12277    12281       +4     
  Misses      11029    11029              
  Partials       34       34              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@khamilowicz
Copy link
Contributor Author

/changelog-entry new-feature Add groups option to eas submit command.

Copy link

github-actions bot commented Feb 7, 2025

✅ Thank you for adding the changelog entry!

@khamilowicz khamilowicz marked this pull request as ready for review February 10, 2025 09:23
Copy link

Subscribed to pull request

File Patterns Mentions
**/* @szdziedzic, @sjchmiela, @radoslawkrzemien

Generated by CodeMention

CHANGELOG.md Outdated
@@ -1635,6 +1635,7 @@ This is the log of notable changes to EAS CLI and related packages.
- Add `eas build:run` command which runs iOS simulator builds from the CLI. ([#1447](https://github.com/expo/eas-cli/pull/1447) by [@szdziedzic](https://github.com/szdziedzic))
- Add feature gate support. ([#1475](https://github.com/expo/eas-cli/pull/1475) by [@wschurman](https://github.com/wschurman))
- Warn about outdated build deployment when configuring EAS Update. ([#1467](https://github.com/expo/eas-cli/pull/1467) by [@fiberjw](https://github.com/fiberjw))
- Add groups option to eas submit command. ([#2891](https://github.com/expo/eas-cli/pull/2891) by [@khamilowicz](https://github.com/khamilowicz))
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- Add groups option to eas submit command. ([#2891](https://github.com/expo/eas-cli/pull/2891) by [@khamilowicz](https://github.com/khamilowicz))
- Add `groups` option to `eas submit` command. ([#2891](https://github.com/expo/eas-cli/pull/2891) by [@khamilowicz](https://github.com/khamilowicz))

@@ -89,6 +91,11 @@ export default class Submit extends EasCommand {
default: false,
description: 'Enable verbose logging for the submission process',
}),
groups: Flags.string({
description: 'Testing groups to send the build to (iOS only).',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
description: 'Testing groups to send the build to (iOS only).',
description: 'Testing groups to send the build to (iOS only)',

I don't think other descriptions end with a full stop?

@@ -89,6 +91,11 @@ export default class Submit extends EasCommand {
default: false,
description: 'Enable verbose logging for the submission process',
}),
groups: Flags.string({
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't it be better to have it in eas.json? Why/why not?

It probably depends on how people use it 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added groups to eas.json.

@@ -522,6 +522,7 @@ async function prepareAndStartSubmissionAsync({
exp: buildCtx.exp,
vcsClient: buildCtx.vcsClient,
isVerboseFastlaneEnabled: false,
groups: [],
Copy link
Member

Choose a reason for hiding this comment

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

It would be great to allow to set these for eas build --auto-submit as well either through eas.json or as a flag. That's how most people do submissions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added groups to eas.json.

@khamilowicz khamilowicz force-pushed the piotrekszeremeta/eng-14634-add-support-for-groups-option-in-fastlane-pilot-call branch from 392e8eb to 2573643 Compare March 28, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants