-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this do and why is it required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explained in this comment, but let me add a permanent code comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this? Maybe let's make a follow up to remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason we moved away from SHOULD_DEPLOY_PRODUCTION
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop