HNHacker News
TopNewBestAskShowJobs

pankarol

115 karma · joined May 16, 2017

submissionscomments
pankarol··on Show HN: Docker rollout – Zero Downtime Deployment for Docker-compose
If you restart them one at a time, you always have at least one instance running.
pankarol··on Show HN: Docker rollout – Zero Downtime Deployment for Docker-compose
Swarm has some limitations, I outlined them here: https://www.reddit.com/r/docker/comments/10w7pfs/comment/j7l...

I’ve seen docker compose deployments where the only missing part was the ability to replace the container without downtime. Swarm would also solve this problem, but it won’t always be as simple as redeploying the stack in swarm mode, especially if you rely on `docker-compose run` in your deployment process.

pankarol··on Show HN: Open current Pull Request in browser with a single command
That's right, and for GitLab `glab mr view -w` will work. I wanted to have a tool that works with both and lets you open in browser whatever you're currently looking at. So it opens the PR for current branch, repository home page for main branch and PR creation page for new branch. You can also open the repository with `git open` [1], and create a PR clicking the link you see after pushing to GitHub/GitLab, but the goal was to have all three in a single command.

[1]: https://github.com/paulirish/git-open