This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-01
Channels
- # announcements (1)
- # babashka (1)
- # beginners (49)
- # calva (111)
- # chlorine-clover (2)
- # cider (2)
- # circleci (9)
- # clojure (60)
- # clojure-europe (25)
- # clojure-nl (4)
- # clojure-taiwan (2)
- # clojure-uk (10)
- # code-reviews (5)
- # conjure (1)
- # cryogen (2)
- # cursive (1)
- # data-science (1)
- # datomic (1)
- # figwheel-main (1)
- # fulcro (23)
- # hoplon (2)
- # malli (4)
- # meander (1)
- # off-topic (149)
- # other-languages (1)
- # re-frame (40)
- # reagent (27)
- # reitit (2)
- # shadow-cljs (25)
- # slack-help (4)
- # spacemacs (7)
- # xtdb (11)
Trying to get a postgres (with jdbc.next) app building on circle. Got this:
docker:
- image: circleci/clojure:openjdk-11-lein-2.8.1
- image: circleci/postgres:13.1
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: root
POSTGRES_DB: circle-test_test
So the first line in the environment:
is working, since I’m now able to start up the postgres image,
but the two next ones don’t seem to have an impact.
In my get-datasource
call, I have
(jdbc/get-datasource {:dbtype "postgresql" :dbname "circle-test_test" :user "root"})
but circle still doesn’t let me connect.@slipset fwiw, there's also nice testing libs for that without having to install pg: https://github.com/seancorfield/next-jdbc/blob/develop/deps.edn#L23-L25
Re: embedded PG -- I was amazed at how well that works!