implement-c4k-and-provs #1

Merged
bom merged 17 commits from implement-c4k-and-provs into main 2024-10-18 09:22:48 +00:00
Showing only changes of commit 06617d7881 - Show all commits

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?
bom marked this conversation as resolved
Review

Brauchen wir hier keine individuellen inputs?

Brauchen wir hier keine individuellen inputs?
[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