-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
323 lines (244 loc) · 10.2 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
(defproject re-core "0.17.0"
:description "A launching pad for virtualized applications"
:url "https://github.com/re-core-ops/re-core-core"
:license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/java.classpath "1.0.0"]
; utils
[me.raynes/fs "1.4.6"]
[org.clojure/core.incubator "0.1.4"]
; bash scripting
[com.palletops/stevedore "0.8.0-beta.7"]
; logging / profiling
[com.taoensso/timbre "5.1.2"]
[com.fzakaria/slf4j-timbre "0.3.21"]
; re-ops
[re-share "0.18.0"]
[re-cog "0.6.7"]
[re-cipes "0.3.15"]
[re-scan "0.2.1"]
; Elasticsearch
[rubber "0.4.1"]
[org.apache.httpcomponents/httpclient "4.5.13"]
; XTDB
[com.xtdb/xtdb-core "1.19.0"]
[com.xtdb/xtdb-rocksdb "1.19.0"]
; repl
[org.clojure/tools.namespace "1.1.0"]
; Api
[narkisr/clj-yaml "0.7.2"]
; digitalocean
[narkisr/digitalocean "1.3"]
; libvirt
[org.clojure/data.xml "0.0.8"]
[org.clojure/data.zip "1.0.0"]
[net.java.dev.jna/jna "5.6.0"]
[org.libvirt/libvirt "0.5.2"]
; lxc
[http-kit "2.5.3"]
[less-awful-ssl "1.0.6"]
[org.clojure/data.json "1.0.0" ]
; model
[com.rpl/specter "1.1.3"]
[com.brunobonacci/safely "0.5.0"]
[com.google.guava/guava "23.0"]
[commons-codec "1.15"]
[substantiation "0.4.0"]
[com.fasterxml.jackson.core/jackson-core "2.12.2"]
; queue
[factual/durable-queue "0.1.6" :exclusions [byte-streams]]
[cc.qbits/knit "1.0.0"]
; timeunits
[fogus/minderbinder "0.3.0"]
; wiring
[mount "0.1.16"]
[me.raynes/conch "0.8.0"]
[org.clojure/core.async "1.3.618"]
[org.clojure/core.match "1.0.0"]
; pretty output
[fipp "0.6.23"]
[narkisr/clansi "1.2.0"]
[mvxcvi/puget "1.3.1"]
[rm-hull/table "0.7.1"]
; pretty printing
[io.aviso/pretty "0.1.37"]
; serialization
[serializable-fn "1.1.4"]
[org.clojure/data.codec "0.1.1"]
[com.taoensso/nippy "2.14.0"]
[cheshire "5.10.0"]
[com.mikesamuel/json-sanitizer "1.2.2"]
; remote execution
[com.hierynomus/sshj "0.38.0" :exclusions [org.slf4j/slf4j-api]]
[org.zeromq/jeromq "0.5.2"]
; email
[com.draines/postal "2.0.4"]
[hiccup "1.0.5"]
; monitoring
[riemann-clojure-client "0.5.1"]
; spec
[expound "0.8.9"]
[org.clojure/test.check "1.1.0"]
; rules
[com.cerner/clara-rules "0.21.0"]
[prismatic/schema "1.1.12"]
; folder watch
[juxt/dirwatch "0.2.5"]
]
:exclusions [org.clojure/clojure com.taoensso/timbre commons-codec prismatic/schema]
:gpg-verify {:deps [re-share
re-cog
re-cipes
rubber
narkisr/clj-yaml
; 7083BA46F0B2460C
narkisr/digitalocean
substantiation
; not signed?
; narkisr/clansi
; 115E8C72AE1DFBFDD4D8786BA56A26A672B08826
me.raynes/fs
me.raynes/conch
; AFEDB040C1E8CE259F8B4B153DDA1B3EC890F586
com.palletops/stevedore
; 0785B3EFF60B1B1BEA94E0BB7C25280EAE63EBE5
org.apache.httpcomponents/httpclient
; FA7929F83AD44C4590F6CC6815C71C0A4E0B8EDD
net.java.dev.jna/jna
; 1B933CE798B6985C8D79975DE1A36FB910E9E138
org.libvirt/libvirt
; 6722D1BB1AFFC51AC43452E7161EC240CC48018B
less-awful-ssl
; 6CA9E3B29F28FEA86750B6BE9D6465D43ACECAE0
cheshire
; F55EF5BB19F52A250FEDC0DF39450183608E49D4
com.mikesamuel/json-sanitizer
; 379CE192D401AB61
com.hierynomus/sshj
; 174F88318B64CB02
org.zeromq/jeromq
; F05B1D2EF3BED8C8E12F44EF6BEF76A7B805F61B
com.brunobonacci/safely
; ABE9F3126BB741C1
com.google.guava/guava
; 21939FF0CA2A6567
commons-codec
; 148AA196DF8D6332
mount
; 26406BB1AA04110E49AA8671A82090FF7CC19136
io.aviso/pretty
; 8A10792983023D5D14C93B488D7F1BEC1E2ECAE7
com.fasterxml.jackson.core/jackson-core
; AE1ABF3D484C40E5CB1CDC9F57B19548756012ED
com.draines/postal
; 87FCFC781A1B513D
hiccup
; 5CECAE951A380FC6C6982FE8361953C9DEB28012
riemann-clojure-client
; 725F73F2BF6D0DEDAE758599DB3DCB7A484504A5
expound
; D7EAC082D28BC79233279A3206CEE45EC93B3AF9
juxt/dirwatch
; AF567B9777E77DDC
serializable-fn
; org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact
;; cc.qbits/knit
;; com.rpl/specter
;; fogus/minderbinder
;; fipp
; missing key 5D699B0B82216C222C641932BB3E754DDBBA7E53
;; com.fzakaria/slf4j-timbre
; missing key C84CF11DA459B1FC
;; factual/durable-queue
; missing key FF4A55A40618056ABF9B04BB97235BA29C3D58B7
;; http-kit
; missing key 76C0DF549B548A306D7D30578B012D9684A7F626
;; com.cerner/clara-rules
; missing key 7B1BE8B8F8A990BEB8AECD3B592525DD66E0BF75
;; prismatic/schema
; missing key 327D725B7F3AA97264F3643A2C2FDC653E12F5F0
;; mvxcvi/puget
; missing key FF4A55A40618056ABF9B04BB97235BA29C3D58B7
;; com.taoensso/timbre
;; com.taoensso/nippy
; missing key C0AD8A1F364F03D61663D557CEFB17C8948BE7BB
;; rm-hull/table
; 8D06684A958AE602
org.clojure/test.check
org.clojure/data.codec
org.clojure/core.async
org.clojure/core.match
org.clojure/data.json
org.clojure/data.xml
org.clojure/data.zip
org.clojure/tools.namespace
org.clojure/core.incubator
org.clojure/java.classpath
org.clojure/clojure]}
:profiles {
:codox {
:dependencies [[org.clojure/tools.reader "1.3.5"] [codox-theme-rdash "0.1.2"]] :plugins [[lein-codox "0.10.7"]]
:codox {
:project {:name "re-core"}
:themes [:rdash]
:source-paths ["src"]
:source-uri "https://github.com/re-ops/re-core/blob/master/{filepath}#L{line}"
}
}
:dev {
:source-paths ["src" "dev" "test"]
:resource-paths ["src/main/resources/"]
}
:build {
:source-paths ["dev" "test"]
:set-version {
:updates [
{:path "project.clj" :search-regex #"\"target\/re-core-\d+\.\d+\.\d+\.jar"}
{:path "src/re-core/common.clj" :search-regex #"\"\d+\.\d+\.\d+\""}]}
:plugins [
[lein-cljfmt "0.6.8"]
[lein-ancient "0.7.0" :exclusions [org.clojure/clojure]]
[lein-tag "0.1.0"]
[lein-set-version "0.3.0"]
]
}
:verify {
:plugins [[org.kipz/clj-gpg-verify "0.1.2"]]
}
}
:jvm-opts ^:replace ["-Djava.library.path=/usr/lib:/usr/local/lib" "-Xms2g" "-Xmx2g"]
:aliases {
"unit" [
"test" ":only"
"re-core.test.aws" "re-core.test.kvm" "re-core.test.digital"
"re-core.test.physical" "re-core.test.validation" "re-core.test.provider"
]
"integration" [
"test" ":only"
"re-core.integration.es.jobs"
"re-core.integration.es.systems"
]
"travis" [
"with-profile" "build" "do" "unit," "integration," "cljfmt" "check"
]
"docs" [
"with-profile" "codox" "do" "codox"
]
}
:repositories {
"sonatype" {:url "https://oss.sonatype.org/content/repositories/releases"}
"libvirt-org" {:url "https://libvirt.org/maven2"}
}
:resource-paths ["src/main/resources/"]
:source-paths ["src" "dev"]
:target-path "target/"
:test-paths []
:repl-options {
:init-ns user
:prompt (fn [ns]
(let [hostname (.getHostName (java.net.InetAddress/getLocalHost))]
(str "\u001B[35m[\u001B[34m" "re-core" "\u001B[31m" "@" "\u001B[36m" hostname "\u001B[35m]\u001B[33mλ:\u001B[m ")))
:welcome (println "Welcome to re-core!" )
:timeout 120000
}
)