This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-26
Channels
- # announcements (1)
- # atom-editor (7)
- # babashka (9)
- # beginners (46)
- # cider (1)
- # circleci (2)
- # clj-on-windows (1)
- # cljdoc (5)
- # cljsrn (2)
- # clojure (25)
- # clojure-austin (8)
- # clojure-brasil (4)
- # clojure-europe (52)
- # clojure-nl (1)
- # clojure-norway (162)
- # clojure-uk (2)
- # cursive (3)
- # datalevin (134)
- # datomic (16)
- # defnpodcast (8)
- # graphql (9)
- # honeysql (5)
- # hoplon (26)
- # hyperfiddle (18)
- # introduce-yourself (1)
- # lsp (4)
- # malli (19)
- # nbb (16)
- # nrepl (1)
- # practicalli (3)
- # releases (3)
- # shadow-cljs (36)
- # tools-deps (7)
- # vim (2)
- # xtdb (9)
How does one use https://circleci.com/developer/images/image/cimg/postgres again? My .circleci looks like this:
test:
docker:
- image: cimg/clojure:1.11.1
- image: cimg/postgres:15.2
working_directory: ~/repo
steps:
- checkout
- run:
command: createdb foobar
which then fails with
createdb: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
Exited with code exit status 1
I copied the environment
from https://github.com/thoughtbot/administrate/blob/3a9d52ddf7e638b07884712a87dcde0374e4793b/.circleci/config.yml and refrained from using createdb directly.
Works!