[No QA] Use Android react-native prebuilds in adhoc workflow#72554
[No QA] Use Android react-native prebuilds in adhoc workflow#72554roryabraham merged 10 commits into
Conversation
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
Check spell failed, but we cannot change this. It's not our API, but something that gradle/groovy provides. |
|
@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@roryabraham I tested it on my fork, but I’d run one more ad-hoc on this repo before merging, just to make sure there aren’t any differences between my fork’s settings and the organization’s. |
|
Running it again |
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Reviewer Checklist
|
eVoloshchak
left a comment
There was a problem hiding this comment.
Adhoc builds are successful, cannot test this locally, so simply posting the filled-out reviewer checklist
roryabraham
left a comment
There was a problem hiding this comment.
@mateuuszzzzz you can fix spellcheck by adding getenv to cspell.json:
diff --git a/cspell.json b/cspell.json
index b06ff81162a..fbdf2cc4951 100644
--- a/cspell.json
+++ b/cspell.json
@@ -253,6 +253,7 @@
"GDSO",
"genkey",
"GEOLOCATION",
+ "getenv",
"getprop",
"gibsdk",
"glcode",
|
Rock adhoc builds were merged so I created a separate PR #72858 just for testing purposes. Let's see if it can fallback correctly to build with react-native artifacts enabled. |
|
@mateuuszzzzz sorry, I'm not clear on what our next steps are here |
Sorry! I wanted to run adhoc here: #72858 to test if this still works when aligned with rock. Nevetheless, rock PR seems to be reverted so we can just resolve conflicts here and merge it. |
|
Let's do one more test before we merge this... |
|
🚧 @roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
@roryabraham looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.2.37-1 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.2.37-8 🚀
|
Explanation of Change
This PR basically do 2 things:
PatchedArtifactsSrttings.gradleto make it work on CI where we cannot rely on checking scopes withhasRequiredScopes. This function works correctly only with user generated tokens.GITHUB_TOKENandGITHUB_ACTORto step that builds Android app intestBuild.ymlso we could usereact-nativeartifacts.GITHUB_TOKEN(.github.tokenorsecrets.GITHUB_TOKEN) by default has required scopes to read public Github packages.Fixed Issues
$ #72514
PROPOSAL:
Tests
testBuild.ymland verify that gradle prints "[PatchedArtifacts] Using patched react-native artifacts: <version>"Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop