3 ms·
How do these modern gitops based deployments work? I've got a bare repo to push into, with hooks to sync to the live repo and run the Makefile upon push. I jus
by tasuki 4y ago
How do these modern gitops based deployments work?
I've got a bare repo to push into, with hooks to sync to the live repo and run the Makefile upon push. I just see the output of the make command upon running `git push`.
The most basic of workflows shows the deploy status. I think you'd have to specifically go out of your way to hide it?
- djur 4y agoThe deploy happens asynchronously from the push. Instead of having a separate repo you push to in order to deploy, the main branch of the shared GitHub (or whatever) repo just gets automatically deployed whenever there's a push (or sometimes it's triggered by a tag). So there's no feedback at all on push.
- tasuki 4y agoAh of course! In fact I even have one personal project with collaborators, and indeed I've set it to deploy on push using GitHub actions, and indeed there's no feedback. Pushing straight to the prod server is nicer UX, but I guess that only works reasonably well with one person, or a very tiny team.