Skip to content
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] Use env and do not set SHOULD_DEPLOY_PRODUCTION #2412

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

AndrewGable
Copy link
Contributor

@AndrewGable AndrewGable commented Apr 15, 2021

Details

We were always deploying production and staging (when we only want to deploy one at a time) because of a little bug. This PR will fix that and only deploy one environment at a time.

Fixed Issues

Fixes #2409

Tests

  1. Merge this PR
  2. Verify that only staging is deployed
  3. Verify in the logs that it is deployed to the right s3 bucket staging-expensify-cash

@AndrewGable AndrewGable requested a review from roryabraham April 15, 2021 16:39
@AndrewGable AndrewGable self-assigned this Apr 15, 2021
@AndrewGable
Copy link
Contributor Author

In draft until https://github.com/Expensify/Expensify.cash/actions/runs/752698665 finishes, if there are any bugs I will fix them here too.

Copy link
Contributor

@roryabraham roryabraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jinx! #2413

@AndrewGable AndrewGable marked this pull request as ready for review April 15, 2021 16:44
@AndrewGable AndrewGable requested a review from a team as a code owner April 15, 2021 16:44
@MelvinBot MelvinBot requested review from thienlnam and removed request for a team April 15, 2021 16:44
@roryabraham
Copy link
Contributor

Merging to hopefully fix deploy process for today's deploy

@roryabraham roryabraham merged commit 9a7e58a into master Apr 15, 2021
@roryabraham roryabraham deleted the andrew-desktop-deploy-fix branch April 15, 2021 16:46
@botify
Copy link

botify commented Apr 15, 2021

@roryabraham looks like this was merged without passing tests. Please add a note explaining why this was done or remove the Emergency label if this is not an emergency.

@roryabraham roryabraham changed the title Use env and do not set SHOULD_DEPLOY_PRODUCTION [No QA] Use env and do not set SHOULD_DEPLOY_PRODUCTION Apr 15, 2021
@OSBotify
Copy link
Contributor

🚀 [Deployed](https://github.com/Expensify/Expensify.cash
/actions/runs/765130740) 🚀 to
staging on Mon Apr 19 2021 at 22:41:56 GMT+0000 (Coordinated Universal Time)

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Desktop is deploying to both staging and production at the same time
4 participants