-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Move UpdateStagingDeployCash to after when tags are pushed #1869
Conversation
Interestingly, I think this bug would always happen if a PR is merged to master and the |
Ok, I'm not entirely following what happened here, but I'm assuming you cc'ed Andrew bc he has more context on the problem. If that's not the case, I think you should give more background info. Also, is there nothing we can do to test this? I know it's tricky bc we're dealing with the deploy process. |
Haha yeah @Luke9389 yeah there's prettymuch no way to locally test our deploy workflows. 😅 We do what we can to test stuff in different repos and using automated tests for the JS, but it only goes so far. As a result there are 1,000,000 of these quick patch PRs so it would take a ton of time to provide full context on each of them. But basically:
And that's what this PR does 🙃 |
Merging before e2e to hopefully un break deploys! |
@AndrewGable looks like this was merged without passing tests. Please add a note explaining why this was done or remove the |
First preDeploy workflow: https://github.com/Expensify/Expensify.cash/actions/runs/666051963 |
Broken workflow: https://github.com/Expensify/Expensify.cash/runs/2143576420?check_suite_focus=true
What happened: we tried to use a
git log
command with a tag that was not yet created.This PR should introduce a temporary fix (because eventually we'll want to only push tags in the
deploy
workflow, not thepreDeploy
workflow. Long-term, the fix would probably be to just create the tag locally in thepreDeploy
workflow but never push it and let it die with the runner.