From 0ae7ecd47fd76921e8e1137739497578fe703354 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 26 Jan 2021 21:06:24 +0100 Subject: Better main(). * Moving templates into their respective modules. * Supporting export type-based filtering. Probably not perfect. --- out/acme/apps.yaml | 44 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 3 deletions(-) (limited to 'out/acme') diff --git a/out/acme/apps.yaml b/out/acme/apps.yaml index 0c69b8e..e0e9e88 100644 --- a/out/acme/apps.yaml +++ b/out/acme/apps.yaml @@ -76,6 +76,9 @@ image: "4tune-api" tag: "development" machine: *acme-1 + machineSpecification: + cpu: 200 + memory: 200 - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-production-4tune-api" @@ -85,6 +88,9 @@ image: "4tune-api" tag: "master" machine: *acme-3 + machineSpecification: + cpu: 200 + memory: 200 - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-ci-4tune-web" @@ -94,6 +100,9 @@ image: "4tune-web" tag: "development" machine: *acme-1 + machineSpecification: + cpu: 100 + memory: 50 - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-production-4tune-web" @@ -103,6 +112,9 @@ image: "4tune-web" tag: "master" machine: *acme-3 + machineSpecification: + cpu: 100 + memory: 50 - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-ci-mdb" @@ -112,6 +124,9 @@ image: "mongodb" tag: "3.2" machine: *acme-2 + machineSpecification: + cpu: 500 + memory: 200 - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-production-mdb" @@ -121,6 +136,9 @@ image: "mongodb" tag: "3.2" machine: *acme-3 + machineSpecification: + cpu: 500 + memory: 200 - type: "io.trygvis.rules.dba.Container" data: id: "acme-ops-n8n" @@ -130,6 +148,7 @@ image: "n8n" tag: "0.84.1" machine: *acme-2 + machineSpecification: null - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-ci-pdb" @@ -139,6 +158,9 @@ image: "postgresql" tag: "13" machine: *acme-2 + machineSpecification: + cpu: 500 + memory: 500 - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-production-pdb" @@ -148,6 +170,9 @@ image: "postgresql" tag: "13" machine: *acme-3 + machineSpecification: + cpu: 500 + memory: 500 - type: "io.trygvis.rules.dba.Container" data: id: "acme-ops-pdb" @@ -157,6 +182,7 @@ image: "postgresql" tag: "11" machine: *acme-2 + machineSpecification: null - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-ci-statera" @@ -166,6 +192,9 @@ image: "statera" tag: "development" machine: *acme-1 + machineSpecification: + cpu: 200 + memory: 1000 - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-production-statera" @@ -175,6 +204,9 @@ image: "statera" tag: "master" machine: *acme-3 + machineSpecification: + cpu: 200 + memory: 1000 - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-ci-statera-console" @@ -184,6 +216,9 @@ image: "statera-console" tag: "development" machine: *acme-1 + machineSpecification: + cpu: 100 + memory: 50 - type: "io.trygvis.rules.dba.Container" data: id: "acme-myapp-production-statera-console" @@ -193,20 +228,23 @@ image: "statera-console" tag: "master" machine: *acme-3 + machineSpecification: + cpu: 100 + memory: 50 - type: "io.trygvis.rules.dba.DbaMachineRole" data: - machine: "acme-1" + &1 machine: "acme-1" roles: - "ci-app" - type: "io.trygvis.rules.dba.DbaMachineRole" data: - machine: "acme-2" + &2 machine: "acme-2" roles: - "ops" - "ci-db" - type: "io.trygvis.rules.dba.DbaMachineRole" data: - machine: "acme-3" + &3 machine: "acme-3" roles: - "production-app" - "production-db" -- cgit v1.2.3