App icon indicating copy to clipboard operation
App copied to clipboard

Post deploy announcements in slack

Open roryabraham opened this issue 5 years ago β€’ 3 comments

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

View all open jobs on GitHub

roryabraham avatar Aug 18 '21 16:08 roryabraham

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:

  1. Make sure that the StagingDeployCash is not locked.
  2. Lock the StagingDeployCash, then verify that the resulting staging deploy is announced in #announce.
  3. Merge a PR with the CP Staging label, then verify that the resulting staging deploy is announced in #announce.
  4. Once the deploy checklist is complete and we close it out, verify that the resulting prod deploy is announced in #expensify-open-source.

roryabraham avatar Aug 18 '21 16:08 roryabraham

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.

iwiznia avatar Aug 18 '21 16:08 iwiznia

πŸš€ Deployed to production by @roryabraham in version: 1.0.88-2 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 failure ❌
πŸ•Έ web πŸ•Έ success βœ…

botify avatar Aug 30 '21 17:08 botify