logoalt Hacker News

Pxtlyesterday at 10:15 PM1 replyview on HN

So what do you do for "okay, we need to run this script that we've decided is a necessary operation". Special account? Everything go through the build server? I've been looking for tooling for "I need to do a production operation but I want it to have proper interlocks and reviews".


Replies

tyzoidyesterday at 10:58 PM

You can use something like flyway on top of your existing git/cicd stack. Write the query as a migration, have it reviewed using your git code review process, and merge to run the migration.