Closed ineiti closed 1 year ago
Totals | |
---|---|
Change from base Build 6300308902: | 0.0% |
Covered Lines: | 3269 |
Relevant Lines: | 5696 |
Please retry analysis of this Pull-Request directly on SonarCloud.
@ineiti You need to rebase/merge
@lanterno done.
Why remove the debug dockerfiles ? It was super painful to get it just right 😅
We never actually used them, and I'm preparing #366 which allows running a whole system locally w/o docker, similar to runSystems.sh
, but ready for voting. So you can also directly run a node with Goland without having to go through docker.
But if you promise you'll use it, I'll put it back in.
Err, I did actually use it with @PascalinDe . I think it doesn't hurt to keep it around. I appreciate the #366 initiative (very much so, it looks very neat!), but I'm a little confused - I was under the impression that @PascalinDe 's effort to containerize the environment was that we could (eventually) get rid of those scripts and develop with the convenience of a pre-production environment ?
Different environments are needed for different types of development. @PascalinDe 's efforts to containerize the environment supposed we only need to do small debugging and adjustments. As it turned out, there were a lot of things to fix and change, and for faster debugging cycles I prefer having everything in the shell w/o docker.
Once it works locally, it's nice to have a docker environment to test it on other machines, too, without them having to install all the development environment.
So it's two approaches for two different development use-cases.
Adding the debug Dockerfile in again.
Kudos, SonarCloud Quality Gate passed!
@pierluca we are currently working on a Dockerfile that includes the debug environment: https://github.com/dedis/d-voting/pull/364/files
the idea is mainly to reduce the number of docker compose/Dockerfiles because it's become pretty confusing keeping them all up to date
Closing in favour of c4dt/d-voting#3
Cleans up some of the now unused debugging things and 'dev' Dockerfiles.