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

Updated workflow to be compatible with xcconfig changes in main #5918

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

niklasberglund
Copy link
Contributor

@niklasberglund niklasberglund commented Mar 7, 2024

Adapted to changes that have been merged to main which affect the workflow:

  • MULLVAD_IOS_DEVICE_PIN_CODE has been renamed to IOS_DEVICE_PIN_CODE
  • In UITests.xcconfig.template HAS_TIME_ACCOUNT_NUMBER and NO_TIME_ACCOUNT_NUMBER are specified per configuration.

This change is Reviewable

@niklasberglund niklasberglund added the iOS Issues related to iOS label Mar 7, 2024
Copy link
Contributor

@rablador rablador left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @niklasberglund)


.github/workflows/ios-end-to-end-tests.yml line 46 at r1 (raw file):

            "/TEST_DEVICE_IDENTIFIER_UUID =/ s/= .*/= $TEST_DEVICE_IDENTIFIER_UUID/" \
            UITests.xcconfig
          printf "\n" >> UITests.xcconfig

Is there any reason we use printf instead of echo here ? We don't need to format any arguments, so I don't see why those wouldn't be echo calls instead

@niklasberglund niklasberglund force-pushed the update-configuration-names-in-workflow branch 2 times, most recently from ceaba02 to 0942e57 Compare March 11, 2024 10:17
Copy link
Contributor Author

@niklasberglund niklasberglund left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @buggmagnet and @rablador)


.github/workflows/ios-end-to-end-tests.yml line 46 at r1 (raw file):

Previously, buggmagnet wrote…

Is there any reason we use printf instead of echo here ? We don't need to format any arguments, so I don't see why those wouldn't be echo calls instead

Its common practice for shell scripts to use printf instead of echo because of portability issues with echo. In this case we don't need high portability anyways and it's not advanced usage that is likely to differ between different platforms which we're not going to be running this on either way. Have changed to using echo.

Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@buggmagnet buggmagnet force-pushed the update-configuration-names-in-workflow branch from 0942e57 to 238d47b Compare March 11, 2024 11:00
@buggmagnet buggmagnet merged commit 1fa40d1 into main Mar 11, 2024
3 of 4 checks passed
@buggmagnet buggmagnet deleted the update-configuration-names-in-workflow branch March 11, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS Issues related to iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants