-
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
Add HybridApp deploy when we deploy staging #42166
Conversation
@ 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] |
Ready for review, I think the one interesting thing will be seeing what happens when HybridApp fails to build.. Not sure if we can basically ignore the errors? |
I looked into the |
Well if no other jobs are dependent upon the HybridApp build job (i.e: via There is some code to create "investigate failed workflow" issues, but maybe that's a feature not a bug? One thing I'm wondering is - does OldApp have a staging branch? Do we always want to kick of OldApp builds on main? |
Yeah I think it's fine without the error checking for now, but we will probably need some real world experience to properly judge.
Yes, that is what we do now and I think we should continue |
Off hold |
Co-authored-by: Rory Abraham <[email protected]>
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.
LGTM, nice and simple 👍🏼
tests are failing though |
I'm not 100% we can actually mock this re-usbale workflow: kiegroup/act-js#54 |
Maybe there is a way to reconfigure it to run on a step.. I'll look |
if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }} | ||
steps: | ||
- name: 'Deploy HybridApp' | ||
if: ${{ !fromJSON(env.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.
Why did you move this if to a step level instead of the job level?
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 had to move the entire job to a step for the tests to pass: #42166 (comment)
I just copied the existing step level if
from all the other steps, but happy to adjust if there is something better
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.
kind of lame that the limitations in the tests are driving the workflow design, but in this case I guess it doesn't matter too much. This looks like it should work.
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
This did not work and we are going to revert it. https://github.com/Expensify/App/actions/runs/9369120503 |
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.79-11 🚀
|
Details
Adds the HybridApp deploy workflow call when we are deploying to staging.
Fixed Issues
Related #37858
Tests
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
-[ ] I linked the correct issue in the
### 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
N/A - Deploy only
Android: mWeb Chrome
N/A - Deploy only
iOS: Native
N/A - Deploy only
iOS: mWeb Safari
N/A - Deploy only
MacOS: Chrome / Safari
N/A - Deploy only
MacOS: Desktop
N/A - Deploy only