Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 3
    This argument is correct, unless it is turned against itself. Having two strongly coupled components (lets call them front end and backend) compiled and tested together and then (re)deployed to production, even when only one of them actually changed (or should have changed), can sometimes be less error prone than testing them together and then deploy only one of them to production. Deploying only the frontend can be interpreted as "backend hasn't changed" (compared to prior version in production), or "backend might have changed" compared to corresponding version in the test environment). Commented Nov 1, 2024 at 13:19
  • ... hence I am here with what BenCotrell wrote in a comment: the OP should keep things simple and try out what works best for them. Commented Nov 1, 2024 at 13:20
  • "was there a build process that can potentially pull in a new version of a third party dependency" Even if you haven't pinned your dependencies (which you really, really should be), redeploying should be taking your build artifacts from Artifactory (etc) and working with those. No building anything involved. Commented Nov 1, 2024 at 14:40
  • Taking Doc Browns argument and turning it against itself - if an artifact hasn't changed it shouldn't have been deployed to the pre-prod environment (where testing was done) either, so what was tested would be what is deployed in production. Commented Nov 1, 2024 at 23:25
  • I agree with Philip Kendall - in a ideal world, builds should be repeatable they should upload to artifact repositories, packaging into VM's or docker containers should be repeatable and they should also go into artifact repos and deploys should only be done from artifact repos - the world is not alway perfect, hence my argument about not deploying when not necessary. Commented Nov 1, 2024 at 23:29