Post deploy announcements in slack
If you havenβt already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Run a staging or prod deploy of Expensify/App.
Expected Result:
OSBotify should post in Slack, telling us that a deploy occurred. Staging deploys should be announced in #announce, while production deploys should be announced in #expensify-open-source.
Actual Result:
No post in slack.
Workaround:
n/a
Platform:
GitHub/Slack
Making this internal so that it can be tested by the same engineer who writes the code. Testing will be the most painful part of this issue. FP instructions:
Add a step in platformDeploy.yml at the end of the file in the postGithubComment job that uses action-slack (example) to post a well-formatted deploy comment in the correct slack room. The SHOULD_DEPLOY_PRODUCTION environment variable tells us whether or not the completed deploy was a production deploy.
Also, please delete this outdated, unused step. That is not an accurate way to determine whether a given staging deploy was a CP or standard deploy.
Testing instructions:
- Make sure that the
StagingDeployCashis not locked. - Lock the
StagingDeployCash, then verify that the resulting staging deploy is announced in #announce. - Merge a PR with the
CP Staginglabel, then verify that the resulting staging deploy is announced in #announce. - Once the deploy checklist is complete and we close it out, verify that the resulting prod deploy is announced in #expensify-open-source.
Staging deploys should be announced in #announce, while production deploys should be announced in #expensify-open-source
Let's post in announce everything we can. In the end, no one reads that channel, is more like a log of everything that was deployed.
π Deployed to production by @roryabraham in version: 1.0.88-2 π
| platform | result |
|---|---|
| π€ android π€ | success β |
| π₯ desktop π₯ | success β |
| π iOS π | failure β |
| πΈ web πΈ | success β |