File tree Expand file tree Collapse file tree 3 files changed +98
-3
lines changed Expand file tree Collapse file tree 3 files changed +98
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Clojure CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-clojure/ for more details
4
+ #
5
+ version : 2
6
+ jobs :
7
+ build :
8
+ docker :
9
+ # specify the version you desire here
10
+ - image : circleci/clojure:lein-2.7.1
11
+
12
+ # Specify service dependencies here if necessary
13
+ # CircleCI maintains a library of pre-built images
14
+ # documented at https://circleci.com/docs/2.0/circleci-images/
15
+ # - image: circleci/postgres:9.4
16
+
17
+ working_directory : ~/repo
18
+
19
+ environment :
20
+ LEIN_ROOT : " true"
21
+ # Customize the JVM maximum heap limit
22
+ JVM_OPTS : -Xmx3200m
23
+
24
+ steps :
25
+ - checkout
26
+
27
+ # Download and cache dependencies
28
+ - restore_cache :
29
+ keys :
30
+ - v1-dependencies-{{ checksum "project.clj" }}
31
+ # fallback to using the latest cache if no exact match is found
32
+ - v1-dependencies-
33
+
34
+ - run : lein deps
35
+
36
+ - save_cache :
37
+ paths :
38
+ - ~/.m2
39
+ key : v1-dependencies-{{ checksum "project.clj" }}
40
+ - run :
41
+ command : |
42
+ ssh-keygen -N "" -f ~/.ssh/id_rsa
43
+ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
44
+ ssh-keygen -f ~/.ssh/clj_ssh -t rsa -C "key for test clj-ssh" -N ""
45
+ ssh-keygen -f ~/.ssh/clj_ssh_pp -t rsa -C "key for test clj-ssh" -N "clj-ssh"
46
+ echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh.pub)" >> ~/.ssh/authorized_keys
47
+ echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh_pp.pub)" >> ~/.ssh/authorized_keys
48
+ eval $(ssh-agent)
49
+ echo "clj-ssh" > pp
50
+ chmod +x pp
51
+ setsid ssh-add ~/.ssh/clj_ssh_pp < pp
52
+ # run tests!
53
+ - run : lein test
Original file line number Diff line number Diff line change
1
+ # Clojure CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-clojure/ for more details
4
+ #
5
+ version: 2
6
+ jobs:
7
+ build:
8
+ docker:
9
+ # specify the version you desire here
10
+ - image: circleci/clojure:lein-2.7.1
11
+
12
+ # Specify service dependencies here if necessary
13
+ # CircleCI maintains a library of pre-built images
14
+ # documented at https://circleci.com/docs/2.0/circleci-images/
15
+ # - image: circleci/postgres:9.4
16
+
17
+ working_directory: ~/repo
18
+
19
+ environment:
20
+ LEIN_ROOT: "true"
21
+ # Customize the JVM maximum heap limit
22
+ JVM_OPTS: -Xmx3200m
23
+
24
+ steps:
25
+ - checkout
26
+
27
+ # Download and cache dependencies
28
+ - restore_cache:
29
+ keys:
30
+ - v1-dependencies-{{ checksum "project.clj" }}
31
+ # fallback to using the latest cache if no exact match is found
32
+ - v1-dependencies-
33
+
34
+ - run: lein deps
35
+
36
+ - save_cache:
37
+ paths:
38
+ - ~/.m2
39
+ key: v1-dependencies-{{ checksum "project.clj" }}
40
+
41
+ # run tests!
42
+ - run: lein test
Original file line number Diff line number Diff line change 1
1
(def agentproxy-version " 0.0.9" )
2
2
3
- (defproject clj-ssh " 0.5.14 "
3
+ (defproject clj-commons / clj- ssh " 0.5.15-SNAPSHOT "
4
4
:description " Library for using SSH from clojure."
5
- :url " https://github.com/hugoduncan /clj-ssh"
5
+ :url " https://github.com/clj-commons /clj-ssh"
6
6
:license {:name " Eclipse Public License"
7
7
:url " http://www.eclipse.org/legal/epl-v10.html" }
8
8
:dependencies [[org.clojure/tools.logging " 0.2.6"
15
15
[com.jcraft/jsch.agentproxy.jsch ~agentproxy-version]
16
16
[com.jcraft/jsch " 0.1.53" ]]
17
17
:jvm-opts [" -Djava.awt.headless=true" ]
18
- :profiles {:provided {:dependencies [[org.clojure/clojure " 1.4.0 " ]]}})
18
+ :profiles {:provided {:dependencies [[org.clojure/clojure " 1.10.1 " ]]}})
You can’t perform that action at this time.
0 commit comments