This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-21
Channels
- # announcements (4)
- # aws (29)
- # aws-lambda (1)
- # babashka (21)
- # beginners (143)
- # calva (47)
- # cider (31)
- # clj-kondo (24)
- # cljsrn (4)
- # clojure (70)
- # clojure-australia (3)
- # clojure-czech (1)
- # clojure-europe (97)
- # clojure-greece (4)
- # clojure-nl (3)
- # clojure-uk (45)
- # clojurescript (70)
- # code-reviews (1)
- # conjure (7)
- # cursive (10)
- # datomic (13)
- # duct (5)
- # emacs (1)
- # fulcro (38)
- # graalvm (1)
- # graphql (9)
- # honeysql (13)
- # integrant (33)
- # jobs (14)
- # jobs-rus (1)
- # malli (7)
- # off-topic (72)
- # pathom (1)
- # re-frame (11)
- # reitit (9)
- # remote-jobs (2)
- # sci (11)
- # shadow-cljs (9)
- # sql (5)
- # tools-deps (5)
- # xtdb (6)
Hi all, I'm trying to build a tools.deps project at work using AWS CodeBuild. One huge obstacle I've had in getting Clojure into work is that deps.edn cannot resolve our internal libs (long story, but ssl cert-based auth), so I thought I'd try this kind of container-based building with :git/url
refs instead and a personal access token. This works to check out the top-level repo, but when Clojure tries to resolve dependencies:
Error building classpath. : Authentication is required but no CredentialsProvider has been registered
org.eclipse.jgit.api.errors.TransportException: : Authentication is required but no CredentialsProvider has been registered
These references work fine locally, but I'm not sure how, so I'm not sure how to cajole CodeBuild into doing it...
Apologies if this the wrong channel. I seem to be unclear on the role of tools-deps. (And there's a ticket already about providing cert-related Java opts to Clojure.)According to this: https://clojure.org/reference/deps_and_cli#_git
for private git repos it's better to use the ssh protocol under :git/url
and set up the ssh-agent separately, so you might want to try it out (unless someone more knowledgeable chimes in with a better suggestion, which is pretty probable 😄).
Thank you! That put me on the right track, I think. Will give it a go.
if that's what you're trying to do