use size adjusted pg-setups
This commit is contained in:
parent
ca06a80f59
commit
ca1a361eb6
5 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,7 @@ from pybuilder.core import task, init
|
||||||
from ddadevops import *
|
from ddadevops import *
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
name = 'meissa-cloud-backup'
|
name = 'c4k-cloud-backup'
|
||||||
MODULE = 'docker'
|
MODULE = 'docker'
|
||||||
PROJECT_ROOT_PATH = '../..'
|
PROJECT_ROOT_PATH = '../..'
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ from pybuilder.core import task, init
|
||||||
from ddadevops import *
|
from ddadevops import *
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
name = 'meissa-cloud-app'
|
name = 'c4k-cloud'
|
||||||
MODULE = 'docker'
|
MODULE = 'docker'
|
||||||
PROJECT_ROOT_PATH = '../..'
|
PROJECT_ROOT_PATH = '../..'
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ class MyBuild(DevopsDockerBuild):
|
||||||
|
|
||||||
@init
|
@init
|
||||||
def initialize(project):
|
def initialize(project):
|
||||||
project.build_depends_on('ddadevops>=0.6.1')
|
project.build_depends_on('ddadevops>=0.12.7')
|
||||||
stage = 'notused'
|
stage = 'notused'
|
||||||
dockerhub_user = environ.get('DOCKERHUB_USER')
|
dockerhub_user = environ.get('DOCKERHUB_USER')
|
||||||
if not dockerhub_user:
|
if not dockerhub_user:
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
|
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
|
||||||
:dependencies [[org.clojure/clojure "1.10.3"]
|
:dependencies [[org.clojure/clojure "1.10.3"]
|
||||||
[org.clojure/tools.reader "1.3.4"]
|
[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/"
|
:target-path "target/%s/"
|
||||||
:source-paths ["src/main/cljc"
|
:source-paths ["src/main/cljc"
|
||||||
"src/main/clj"]
|
"src/main/clj"]
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"src/test/cljc"
|
"src/test/cljc"
|
||||||
"src/test/cljs"
|
"src/test/cljs"
|
||||||
"src/test/resources"]
|
"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
|
:builds {:frontend {:target :browser
|
||||||
:modules {:main {:init-fn dda.c4k-nextcloud.browser/init}}
|
:modules {:main {:init-fn dda.c4k-nextcloud.browser/init}}
|
||||||
:release {}
|
:release {}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
(defn k8s-objects [config]
|
(defn k8s-objects [config]
|
||||||
(into
|
(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))]
|
(yaml/to-string (postgres/generate-secret config))]
|
||||||
(when (contains? config :postgres-data-volume-path)
|
(when (contains? config :postgres-data-volume-path)
|
||||||
[(yaml/to-string (postgres/generate-persistent-volume config))])
|
[(yaml/to-string (postgres/generate-persistent-volume config))])
|
||||||
|
|
Loading…
Reference in a new issue