growstuff icon indicating copy to clipboard operation
growstuff copied to clipboard

automating release

Open Br3nda opened this issue 7 years ago • 8 comments

automate some or all of the release process. We have deployment automated, but there are a few more steps

  • [ ] 1) Propose a release by making a PR to merge dev into staging whenever dev is ahead of master
  • [ ] 2) If approved and CI passes, merge this on Friday
  • [ ] 3) Tag the release
  • [ ] 4) add as a release on GitHub

Br3nda avatar Dec 14 '17 21:12 Br3nda

By "staging", do you mean "master"? Otherwise, yes, let's AUTOMATE ALL THE THINGS.

pozorvlak avatar Dec 14 '17 22:12 pozorvlak

yes! sorry. I mixed up the branch names https://github.com/rabid/nzsl-online

Br3nda avatar Dec 14 '17 23:12 Br3nda

To be a bit daring - we dont really have much QA resource to manually test staging; how dramatic would it be if we went to deploy from master on merge, relied on monitoring to pick up issues?

Staging env would be useful for landing bug features that we want to demo still, and rehersing deployment changes, but the default could easily be otherwise...

CloCkWeRX avatar Jan 21 '18 06:01 CloCkWeRX

  • big features

CloCkWeRX avatar Jan 21 '18 06:01 CloCkWeRX

i usually give staging a bit of a test before merging a release - focusing on what's changed.

Are you thinking we merge PRs straight into master for deploy?

Br3nda avatar Jan 21 '18 07:01 Br3nda

Slightly less daringly, we could run curl against a bunch of endpoints on staging and check that we get 2xx responses.

pozorvlak avatar Jan 22 '18 10:01 pozorvlak

I have a bot that can make a PR from dev into master whenever it's out of sync. But the title of the PR won't be "Release X". https://app.backstroke.co/#/links

I can give that a tests -- someone will need to edit the name of the PR

Br3nda avatar Jan 22 '18 22:01 Br3nda

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 20 '19 22:07 stale[bot]

Well, this happens for staging, not for mainline. That's not too shabby. Maybe closable? Our coverage is high but not enough that I feel green build = bulletproof deploy.

CloCkWeRX avatar Feb 05 '24 11:02 CloCkWeRX

Yes, I agree, I think this is done enough for our current level of confidence.

cesy avatar Feb 05 '24 21:02 cesy