This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-29
Channels
- # announcements (1)
- # babashka (1)
- # beginners (46)
- # calva (2)
- # cider (6)
- # circleci (10)
- # clj-kondo (2)
- # cljsrn (2)
- # clojure (30)
- # clojure-dev (6)
- # clojuredesign-podcast (8)
- # clojurescript (28)
- # conjure (1)
- # core-logic (2)
- # core-matrix (2)
- # cryogen (16)
- # figwheel-main (2)
- # graalvm (4)
- # jobs (1)
- # malli (15)
- # minimallist (1)
- # off-topic (70)
- # pathom (4)
- # reagent (3)
- # releases (2)
- # remote-jobs (8)
- # rewrite-clj (3)
- # shadow-cljs (4)
- # tools-deps (29)
- # uncomplicate (3)
I'm having a problem with a pretty normal deps.edn:
{:aliases {:json {:extra-deps {cheshire/cheshire {:mvn/version "5.10.0"}}}
:test {:extra-paths ["test"]
:extra-deps {cheshire./cheshire {:mvn/version "5.10.0"}
cognitect-labs/test-runner
{:git/url ""
:sha "cb96e80f6f3d3b307c59cbeb49bb0dcb3a2a780b"}}
:main-opts ["-m" "cognitect.test-runner"]}}}
on CircleCI:
https://app.circleci.com/pipelines/github/babashka/babashka.curl/5/workflows/d90fe806-57a4-4c12-bfb3-0277ff1c5be2/jobs/16
Cloning:
Error building classpath. : Auth fail
org.eclipse.jgit.api.errors.TransportException: : Auth fail
huh, wat?There are git config settings that can force the transport
git config insteadOf
The former
The only other time I’ve seen this was with a global git config on a local machine
Not sure how it would manifest on circle
But that’s the only reason I’m aware of that the transport would change like that
On the CircleCI machine:
$ cat /home/circleci/.gitconfig
[url ""]
insteadOf =
[gc]
auto = 0
As someone writing a CI myself, I would speculate that this is there for private repos. Its easier to pass the creds via SSH key pairs than an HTTP clone where git would go through an interactive prompt for username and passwords. Just my assumptions :thinking_face:
Should people not write their own instead of config for this, instead of creating errors like this maybe?
thats what CircleCI recommends, to add your ssh keys. but yes, this is a problematic assumption i would agree
Also I would imagine this is an issue on CI's outside the source platform, GH actions simply sidesteps this issue as being right there with your code 😛
GH has other issues though. Their UI becomes completely unresponsive sometimes and has other weird glitches.
yeah pros and cons of it all i guess
thats definitely a plus point. its getting more and more harder to SSH into things nowadays with all ephemeral magic machines on Kubernetes, rainbows and unicorns 😕
the pro being extremely quickly provisioned runners but all a big powerful totally opaque box