Use correct spec path in provs

This commit is contained in:
bom 2024-10-11 13:38:22 +02:00
parent 0b2ac0d289
commit 06617d7881

View file

@ -4,7 +4,7 @@
[cheshire.core :refer [generate-string]] [cheshire.core :refer [generate-string]]
[dda.build.devops :as d] [dda.build.devops :as d]
[dda.build.provs.domain :as domain] [dda.build.provs.domain :as domain]
[dda.build.c4k.domain :as c4k-d] [dda.build.terragrunt.domain :as td]
[dda.build.infrastructure :as i])) [dda.build.infrastructure :as i]))
(def default (def default
@ -16,7 +16,7 @@
(defn-spec run-provs-server! nil? (defn-spec run-provs-server! nil?
[devops ::d/devops [devops ::d/devops
tf-out ::c4k-d/tf-out] tf-out ::td/tf-out]
(let [config (merge default devops)] (let [config (merge default devops)]
(doseq [c (domain/provs-server-command config tf-out)] (doseq [c (domain/provs-server-command config tf-out)]
(i/execute! c config)))) (i/execute! c config))))
@ -29,7 +29,7 @@
can be changed by adding another value for ':k3s-output-filename' can be changed by adding another value for ':k3s-output-filename'
" "
[devops ::d/devops [devops ::d/devops
tf-out ::c4k-d/tf-out] tf-out ::td/tf-out]
(let [config (merge default devops) (let [config (merge default devops)
tf-out-k3s-config (domain/create-k3s-config config tf-out)] tf-out-k3s-config (domain/create-k3s-config config tf-out)]
(->> tf-out-k3s-config (->> tf-out-k3s-config