[No QA] Callable buildAndroid workflow#49434
Conversation
|
npm has a |
|
@ 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] |
This comment was marked as outdated.
This comment was marked as outdated.
|
ok, AdHocs are working, just need to fix e2ePerformanceTests (and we'll have to see about |
|
ok, so I think this is working as expected. The last e2e performance test failed, because it checked out a different ref for the baseline and one of the underlying environment variables exported from the Fastfile has been renamed. Let's put this in review |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
.github/workflows/buildAndroid.yml
Outdated
| # Reload environment variables from GITHUB_ENV | ||
| # shellcheck disable=SC1090 | ||
| source "$GITHUB_ENV" |
There was a problem hiding this comment.
What does this do and why is it required?
There was a problem hiding this comment.
Explained in this comment, but let me add a permanent code comment
There was a problem hiding this comment.
Tried to improve the code comment, let me know what you think
| MYAPP_UPLOAD_STORE_PASSWORD: ${{ secrets.MYAPP_UPLOAD_STORE_PASSWORD }} | ||
| MYAPP_UPLOAD_KEY_PASSWORD: ${{ secrets.MYAPP_UPLOAD_KEY_PASSWORD }} | ||
| - name: Log downloaded artifact paths | ||
| run: ls -R /tmp/artifacts |
There was a problem hiding this comment.
Do we still need this? Maybe let's make a follow up to remove.
There was a problem hiding this comment.
I can remove it if you prefer, but I was also thinking why not just let it stay? It's not really doing any harm there, kind of makes the directory structure clear and shows you the name of files that are currently only represented as variables in the code 🙂
| submitAndroid: | ||
| name: Submit Android app for production review | ||
| needs: prep | ||
| if: ${{ github.ref == 'refs/heads/production' }} |
There was a problem hiding this comment.
Any reason we moved away from SHOULD_DEPLOY_PRODUCTION?
There was a problem hiding this comment.
There are some contexts (such as this one) where the env context is not available. It's only available within steps, not at the job level or higher. Fortunately this was caught by actionslint
Reviewer Checklist
Screenshots/VideosAndroid: NativeN/A - No user code Android: mWeb ChromeN/A - No user code iOS: NativeN/A - No user code iOS: mWeb SafariN/A - No user code MacOS: Chrome / SafariN/A - No user code MacOS: DesktopN/A - No user code |
[No QA] Callable buildAndroid workflow (cherry picked from commit d1fcb16) (CP triggered by jasperhuangg)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 9.0.44-4 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.44-12 🚀
|
Details
Making callable Android build workflow. This has several advantages:
Fixed Issues
$ n/a - related to CP To Prod
Tests
Live-testing this. We can test e2e builds and AdHoc builds before merging.
AdHoc test run: https://github.com/Expensify/App/actions/runs/11059940518
E2E Performance test run: https://github.com/Expensify/App/actions/runs/11060386432
Verify that no errors appear in the JS console
Offline tests
n/a
QA Steps
n/a
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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