This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-02
Channels
- # announcements (1)
- # asami (89)
- # aws (10)
- # babashka (41)
- # beginners (71)
- # calva (25)
- # cider (3)
- # clj-kondo (65)
- # cljdoc (15)
- # cljs-dev (3)
- # cljsrn (8)
- # clojure (56)
- # clojure-europe (44)
- # clojure-italy (1)
- # clojure-nl (2)
- # clojure-uk (48)
- # clojured (7)
- # clojurescript (17)
- # conjure (6)
- # cursive (3)
- # datomic (9)
- # emacs (11)
- # events (3)
- # fulcro (3)
- # helix (3)
- # honeysql (7)
- # hugsql (6)
- # introduce-yourself (2)
- # jobs (2)
- # kaocha (4)
- # luminus (1)
- # nrepl (2)
- # off-topic (10)
- # pathom (7)
- # philosophy (3)
- # polylith (27)
- # reagent (18)
- # reitit (3)
- # remote-jobs (7)
- # reveal (3)
- # shadow-cljs (9)
- # slack-help (5)
- # tools-deps (9)
- # vim (48)
I am trying to use lein-tools-deps to build an uberjar that includes a :git/url dep. It works on my local machine, but not when part of a CircleCi build. Does anyone know if there is a setting or something I am missing that would fix it?
Cloning:
org.eclipse.jgit.api.errors.TransportException: : Auth fail
at org.eclipse.jgit.api.FetchCommand.call (FetchCommand.java:248)
My deps.edn looks like:
{:deps {org.clojure/clojure {:mvn/version "1.10.1"}
org.clojure/tools.deps.alpha {:mvn/version "0.8.695"}
com.wsscode/pathom3 {:git/url ""
:sha "354574f6a4fbd30e54c85fa41d5bf2eb7de59a39"}}}
And project.clj:
(defproject sandbox "0.1.0-SNAPSHOT"
:main ^:skip-aot banzai.sandbox.core
:plugins [[duct/lein-duct "0.12.1"]
[lein-tools-deps "0.4.5"]]
:middleware [lein-duct.plugin/middleware
lein-tools-deps.plugin/resolve-dependencies-with-deps-edn]
:lein-tools-deps/config {:config-files [:install :user :project]}
:profiles {:uberjar {:aot :all}})
Circleci has a setting in their .git config that forces all https urls to ssh, which won’t work unless you install an ssh key etc
But you can modify your git config to stop doing that
Here’s the CircleCI fix many of us now use: https://clojurians-log.clojureverse.org/circleci/2021-01-17
3