Add Web and Desktop parameters to deploy process#59477
Conversation
|
On hold to add variables to this repo: https://github.com/Expensify/Expensify/issues/486783 |
|
@dukenv0307 @ One of you needs to 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] |
roryabraham
left a comment
There was a problem hiding this comment.
looks good and ultimately NAB because it's a matter of preference, but I'm more a proponent of DRYing things up than having duplicate steps for staging + production. I find that makes workflows easier to read and reason about.
.github/workflows/deploy.yml
Outdated
| GCP_GEOLOCATION_API_KEY: ${{ secrets.GCP_GEOLOCATION_API_KEY_PRODUCTION }} | ||
| S3_BUCKET: ${{ vars.STAGING_S3_BUCKET }} | ||
|
|
||
| - name: Build production desktop app |
There was a problem hiding this comment.
Why'd you split these steps up?
There was a problem hiding this comment.
The S3 bucket name is different between the two. I agree it seems to be a matter of preference as I prefer the separate steps for readability.
I can re-dry it back up.
|
Off hold, ready for review @roryabraham |
.github/workflows/deploy.yml
Outdated
| - name: Purge Cloudflare cache | ||
| run: /home/runner/.local/bin/cli4 --verbose --delete hosts=["${{ env.SHOULD_DEPLOY_PRODUCTION != 'true' && 'staging.' || '' }}new.expensify.com"] /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache | ||
| run: | | ||
| HOST=${{ env.SHOULD_DEPLOY_PRODUCTION == 'true' && vars.WEB_PRODUCTION_HOST || vars.WEB_STAGING_HOST }} |
There was a problem hiding this comment.
NAB but you could put the host in a job-level env var
README.md
Outdated
| </div> | ||
|
|
||
| #### Table of Contents | ||
| #### Table of Contents! |
There was a problem hiding this comment.
Should we remove this change?
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. |
Add Web and Desktop parameters to deploy process (cherry picked from commit 3484450) (CP triggered by AndrewGable)
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 9.1.22-9 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/grgia in version: 9.1.22-10 🚀
|
Explanation of Change
Adds web and desktop deploy variables and parameters to allow us to continue to test CP to Production project.
Fixed Issues
$ #58868
Tests
Offline tests
N/A
QA Steps
N/A
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