infra
infra copied to clipboard
"This is now live" automatic notifications
There is still some work to be done, but the gist of it is:
ce builds set_current ...store the oldest non-notified commit, skipping if something is already storedce environment refresh(and laterce instances restart) get the currently deployed version, and:- We ask github for the commits between both
- Query github for the linked PRs for all those commits
- Using GraphQL, find the linked issues for every PR, and for each:
- Check if it already has a "This is now live" comment (Just in case)
- Send a message saying "This is now live"
- Delete the stored commit so new build versions get logged
This would need a new ssm in aws, and I need to test it in case where no key exists (Which should be the case of env refreshes for the same version!)
The failing test comes from the branch being a bit outdated, nothing to worry about
Just ran ce notify set_base 16b176235a67f5b31f5657e2bf76e2e85d84d0f7 which is a commit from 3 days ago so we don't get spammed in case this runs unexpectedly
This could be awesome. Any chance of resurrecting this @RubenRBS ?