Fix ns error
This commit is contained in:
parent
e7a2b0e577
commit
9e4eaa7dbe
1 changed files with 4 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
||||||
(ns dda.c4k-gitea.core
|
(ns dda.c4k-gitea.core
|
||||||
(:require
|
(:require
|
||||||
|
[clojure.spec.alpha :as s]
|
||||||
[dda.c4k-common.yaml :as yaml]
|
[dda.c4k-common.yaml :as yaml]
|
||||||
[dda.c4k-common.common :as cm]
|
[dda.c4k-common.common :as cm]
|
||||||
[dda.c4k-gitea.gitea :as gitea]
|
[dda.c4k-gitea.gitea :as gitea]
|
||||||
[dda.c4k-gitea.gitea :as backup]
|
[dda.c4k-gitea.backup :as backup]
|
||||||
[dda.c4k-common.postgres :as postgres]))
|
[dda.c4k-common.postgres :as postgres]))
|
||||||
|
|
||||||
(def config-defaults {:issuer "staging"})
|
(def config-defaults {:issuer "staging"})
|
||||||
|
@ -19,8 +20,8 @@
|
||||||
|
|
||||||
(def auth? (s/keys :req-un [::postgres/postgres-db-user ::postgres/postgres-db-password
|
(def auth? (s/keys :req-un [::postgres/postgres-db-user ::postgres/postgres-db-password
|
||||||
::gitea/mailer-user ::gitea/mailer-pw
|
::gitea/mailer-user ::gitea/mailer-pw
|
||||||
::backup/aws-access-key-id ::backup/aws-secret-access-key
|
::backup/aws-access-key-id ::backup/aws-secret-access-key]
|
||||||
::backup/restic-password]))
|
:opt-un [::backup/restic-password])) ; TODO gec: Is restic password opt or req?
|
||||||
|
|
||||||
(def vol? (s/keys :req-un [::gitea/volume-total-storage-size]))
|
(def vol? (s/keys :req-un [::gitea/volume-total-storage-size]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue