6 ms·
Very interesting. Is any of this open source? I'd love to take a look! I'm guessing it's not open source - as I couldn't find it on your Github account or your
by mleonard 5y ago
Very interesting. Is any of this open source? I'd love to take a look!
I'm guessing it's not open source - as I couldn't find it on your Github account or your company's account. If that's the case, would you be able to create a quick gist with a copy/paste of any of the code you can share? If you have the time I'd appreciate it!
Related links for anyone interested:
- dataform uses bazel for ci tests. They builds redis from source, but run postgres as a container. See here: https://www.reddit.com/r/bazel/comments/kcmbwb/how_to_run_services_for_integration_tests_with/gfsmq6a?utm_source=share&utm_medium=web2x&context=3 https://www.reddit.com/r/bazel/comments/kcmbwb/how_to_run_se...
- sa46 5y agoSure, here's sketch of how it works: https://github.com/jschaf/bazel-postgres-sketch https://github.com/jschaf/bazel-postgres-sketch
- mleonard 5y agoAmazing thanks so much!
- jvolkman 5y agoWe pull Postgres from Nix using rules_nixpkgs for our Bazel tests. It works pretty well. I wrote some additional infrastructure that makes it easy to test against different versions of postgres (11, 12, 13 - all available from Nix) using simple Bazel command line options.