Skip to content

Commit 8bbaa21

Browse files
committed
Reflect change to clj-commons
1 parent e757fa9 commit 8bbaa21

File tree

3 files changed

+98
-3
lines changed

3 files changed

+98
-3
lines changed

.circle/config.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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

.circle/config.yml~

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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

project.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
(def agentproxy-version "0.0.9")
22

3-
(defproject clj-ssh "0.5.14"
3+
(defproject clj-commons/clj-ssh "0.5.15-SNAPSHOT"
44
:description "Library for using SSH from clojure."
5-
:url "https://github.com/hugoduncan/clj-ssh"
5+
:url "https://github.com/clj-commons/clj-ssh"
66
:license {:name "Eclipse Public License"
77
:url "http://www.eclipse.org/legal/epl-v10.html"}
88
:dependencies [[org.clojure/tools.logging "0.2.6"
@@ -15,4 +15,4 @@
1515
[com.jcraft/jsch.agentproxy.jsch ~agentproxy-version]
1616
[com.jcraft/jsch "0.1.53"]]
1717
: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"]]}})

0 commit comments

Comments
 (0)