From ca1a361eb67c049190d14c1d41f38e8c2272cdf7 Mon Sep 17 00:00:00 2001 From: jem Date: Tue, 14 Sep 2021 18:24:52 +0200 Subject: [PATCH] use size adjusted pg-setups --- infrastructure/docker-backup/build.py | 2 +- infrastructure/docker-nextcloud/build.py | 4 ++-- project.clj | 2 +- shadow-cljs.edn | 2 +- src/main/cljc/dda/c4k_nextcloud/core.cljc | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/infrastructure/docker-backup/build.py b/infrastructure/docker-backup/build.py index 8b2b41c..66b2d09 100644 --- a/infrastructure/docker-backup/build.py +++ b/infrastructure/docker-backup/build.py @@ -3,7 +3,7 @@ from pybuilder.core import task, init from ddadevops import * import logging -name = 'meissa-cloud-backup' +name = 'c4k-cloud-backup' MODULE = 'docker' PROJECT_ROOT_PATH = '../..' diff --git a/infrastructure/docker-nextcloud/build.py b/infrastructure/docker-nextcloud/build.py index 323f4bc..36d085a 100644 --- a/infrastructure/docker-nextcloud/build.py +++ b/infrastructure/docker-nextcloud/build.py @@ -3,7 +3,7 @@ from pybuilder.core import task, init from ddadevops import * import logging -name = 'meissa-cloud-app' +name = 'c4k-cloud' MODULE = 'docker' PROJECT_ROOT_PATH = '../..' @@ -13,7 +13,7 @@ class MyBuild(DevopsDockerBuild): @init def initialize(project): - project.build_depends_on('ddadevops>=0.6.1') + project.build_depends_on('ddadevops>=0.12.7') stage = 'notused' dockerhub_user = environ.get('DOCKERHUB_USER') if not dockerhub_user: diff --git a/project.clj b/project.clj index 538f3ce..a34cde0 100644 --- a/project.clj +++ b/project.clj @@ -5,7 +5,7 @@ :url "https://www.apache.org/licenses/LICENSE-2.0.html"} :dependencies [[org.clojure/clojure "1.10.3"] [org.clojure/tools.reader "1.3.4"] - [org.domaindrivenarchitecture/c4k-common-clj "0.2.8"]] + [org.domaindrivenarchitecture/c4k-common-clj "0.3.1"]] :target-path "target/%s/" :source-paths ["src/main/cljc" "src/main/clj"] diff --git a/shadow-cljs.edn b/shadow-cljs.edn index 0f4cb99..43dc555 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -4,7 +4,7 @@ "src/test/cljc" "src/test/cljs" "src/test/resources"] - :dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "0.2.8"]] + :dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "0.3.1"]] :builds {:frontend {:target :browser :modules {:main {:init-fn dda.c4k-nextcloud.browser/init}} :release {} diff --git a/src/main/cljc/dda/c4k_nextcloud/core.cljc b/src/main/cljc/dda/c4k_nextcloud/core.cljc index a89118d..bb666fa 100644 --- a/src/main/cljc/dda/c4k_nextcloud/core.cljc +++ b/src/main/cljc/dda/c4k_nextcloud/core.cljc @@ -23,7 +23,7 @@ (defn k8s-objects [config] (into [] - (concat [(yaml/to-string (postgres/generate-config)) + (concat [(yaml/to-string (postgres/generate-config :postgres-size :8gb)) (yaml/to-string (postgres/generate-secret config))] (when (contains? config :postgres-data-volume-path) [(yaml/to-string (postgres/generate-persistent-volume config))])