-
Notifications
You must be signed in to change notification settings - Fork 1
Reproducible Development Environment #18
Conversation
CBR-14
- it's usually better to just use a predefined uri instead of building your own. this patch removes the mongodb parameters and accepts a uri now instead. - remove testcontainers; no longer necessary, we have a working database right in our development shell. CBR-14
this patch changes the docker file to use the exact same setup, using the nix flake. this ensures that the build / dependencies are exactly the same. CBR-14
- the compose stack is no longer needed as we have a working environment right in our nix shell - taskfile has been replaced with a small Makefile CBR-14
add some basic instructions on how to work with nix CBR-14
this patch enables the github actions to also use the flake, just like your local environment. this ensures a reproducable environment, no matter where the code runs. CBR-14
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
4321dd0 to
8b147a4
Compare
CBrather
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to check out nix in more detail later, but it looks very solid as long as we are careful not to run the env anywhere non-local (due to the secrets logged). So I'll go with the flow.
There are a lot of options that are open to us now in regards to the project setup:
|
This PR adds a complete Nix setup to the project. See
README.mdfor more details on how to make use of it.