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 <47436092+roryabraham@users.noreply.github.com>
roryabraham
left a comment
There was a problem hiding this comment.
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.
Why did you move this if to a step level instead of the job level?
There was a problem hiding this comment.
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.
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 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
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