Skip to content

Allow specifying groups option in submit command #2891

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

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: -8 B (0%)

Total Size: 53.4 MB

Filename Size Change
./packages/eas-cli/dist/eas-linux-x64.tar.gz 53.4 MB -8 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.45%. Comparing base (496d6f5) to head (7245efa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2891      +/-   ##
==========================================
+ Coverage   52.44%   52.45%   +0.01%     
==========================================
  Files         595      595              
  Lines       23620    23624       +4     
  Branches     4697     4699       +2     
==========================================
+ Hits        12386    12390       +4     
  Misses      11199    11199              
  Partials       35       35              

☔ 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.

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

github-actions bot commented Feb 10, 2025

Subscribed to pull request

File Patterns Mentions
**/* @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
Contributor

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
Contributor

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
@khamilowicz khamilowicz force-pushed the piotrekszeremeta/eng-14634-add-support-for-groups-option-in-fastlane-pilot-call branch from 2573643 to 7245efa Compare April 7, 2025 13:19
Copy link

github-actions bot commented Apr 7, 2025

✅ Thank you for adding the changelog entry!

@@ -602,6 +602,11 @@
"type": "string",
"description": "The Bundle identifier that will be used when accessing submit credentials managed by Expo, it does not have any effect if you are using local credentials. In most cases this value will be autodetected, but if you have multiple Xcode schemes and targets, this value might be necessary."
},
"groups": {
"type": "array",
"description": "Testing groups to send the build to.",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be good to write more about this. What "groups", where can you define them etc.

@@ -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.

I'd mention what the groups are here too

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