-
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] 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. |
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.
Nothing jumps out to me in these changes. But I think we should hold on this PR, as at least 50% of the builds are currently failing.
# Conflicts: # .github/workflows/platformDeploy.yml
This is clear now. Fixes were CP'd today. |
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, small questions
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 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