Repository navigation
[No QA] Release artifacts for every deploy - #45364
Conversation
|
@aldo-expensify 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] |
|
@francoisl @Julesssss tagged you in for review since you're app deployers and likely more familiar with this workflow than @aldo-expensify. |
# Conflicts: # .github/workflows/platformDeploy.yml
This is clear now. Fixes were CP'd today. |
| if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }} | ||
| run: /home/runner/.local/bin/cli4 --verbose --delete hosts=["staging.new.expensify.com"] /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache | ||
| - name: Purge Cloudflare cache | ||
| run: /home/runner/.local/bin/cli4 --verbose --delete hosts=["${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) && '' || 'staging.' }}new.expensify.com"] /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache |
There was a problem hiding this comment.
Is the zone ID 9ee042e6cfc7fd45e74aa7d2f78d617b the same for prod and staging? Not sure how to check where it comes from, but I imagine somewhere in our Cloudflare account.
There was a problem hiding this comment.
Pretty sure it's the same - it is currently used for purging the cloudflare cache on both prod and staging on main now. This PR just DRYs things up
# Conflicts: # .github/workflows/platformDeploy.yml
|
Got tests passing (it was a pain, and I created #45413 to try and make things easier in the future, but it's not particularly high priority). anyways, this is ready for review! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
1000% ❤️ |
|
Merging since @Julesssss already approved and I only changed tests. |
|
✋ 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.0.8-1 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.0.8-3 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.9-5 🚀
|
Details
Part 1 of this issue. This PR ensures that:
NewExpensify.dmg) are uploaded for every deploy (currently we archive no desktop release assets at all)dist/folder 🤷🏼Fixed Issues
$ (partial) #36758
Tests
The main thing I tested locally was the gh cli stuff:
gh run list --workflow platformDeploy.yml --event push --branch 9.0.5-13 --json databaseId --jq '.[0].databaseId'After this is merged, we should:
look at staging deploys and verify that the artifacts are uploaded to the workflow run
look at production release and verify that the artifacts are uploaded to the GitHub release
Verify that no errors appear in the JS console
Offline tests
None.
QA Steps
None.
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