|
|
@ -5,8 +5,7 @@
|
|
|
|
[org.httpkit.server :as http-kit]
|
|
|
|
[org.httpkit.server :as http-kit]
|
|
|
|
[lambdacd.runners :as runners]
|
|
|
|
[lambdacd.runners :as runners]
|
|
|
|
[lambdacd.core :as lambdacd]
|
|
|
|
[lambdacd.core :as lambdacd]
|
|
|
|
[clojure.tools.logging :as log]
|
|
|
|
[clojure.tools.logging :as log])
|
|
|
|
[clojure.java.io :refer [as-file]])
|
|
|
|
|
|
|
|
(:import (java.nio.file.attribute FileAttribute)
|
|
|
|
(:import (java.nio.file.attribute FileAttribute)
|
|
|
|
(java.nio.file Files LinkOption))
|
|
|
|
(java.nio.file Files LinkOption))
|
|
|
|
(:gen-class))
|
|
|
|
(:gen-class))
|
|
|
@ -18,7 +17,7 @@
|
|
|
|
(let [;; the home dir is where LambdaCD saves all data.
|
|
|
|
(let [;; the home dir is where LambdaCD saves all data.
|
|
|
|
;; point this to a particular directory to keep builds around after restarting
|
|
|
|
;; point this to a particular directory to keep builds around after restarting
|
|
|
|
;; home-dir (create-temp-dir)
|
|
|
|
;; home-dir (create-temp-dir)
|
|
|
|
home-dir (as-file "/home/nonroot")
|
|
|
|
home-dir (str (System/getProperty "user.home") "/wanijo-pipeline")
|
|
|
|
config {:home-dir home-dir
|
|
|
|
config {:home-dir home-dir
|
|
|
|
:name "wanijo pipeline"}
|
|
|
|
:name "wanijo pipeline"}
|
|
|
|
;; initialize and wire everything together
|
|
|
|
;; initialize and wire everything together
|
|
|
|