Skip to content

Use cases of Watchtower #641

Answered by simskij
zurferr asked this question in Q&A
Sep 12, 2020 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

The whole idea of instantly pushing new changes to running containers seems a bit dangerous and instable for productive apps. I would at least like to have some successful integration tests before that. What are your thoughts?

I would too!

While I don't want to either encourage or discourage the use of watchtower in production (I've used it myself in a quite big setup), I'd probably do something along the lines of:

  1. Start CI on changes to the main branch
  2. Run linting and format checks.
  3. Run unit tests and integration tests that don't have any external dependencies
  4. Build the docker image
  5. Launch the docker image in the CI runners docker daemon
  6. Run additional black box integration tests agai…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zoispag
Comment options

Answer selected by zurferr
Comment options

You must be logged in to vote
1 reply
@simskij
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants