diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-29 10:14:38 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-29 10:14:38 +0100 |
commit | bb92e6eaa9bca36d9f1e356a2f578d22c98af22f (patch) | |
tree | 6507fa866d5a4ee0f45500e8143c12638aafc07a /acme.yaml | |
parent | d167fc9b40a83187c657f3a048f19ac56f529af3 (diff) | |
download | rules-sandbox-bb92e6eaa9bca36d9f1e356a2f578d22c98af22f.tar.gz rules-sandbox-bb92e6eaa9bca36d9f1e356a2f578d22c98af22f.tar.bz2 rules-sandbox-bb92e6eaa9bca36d9f1e356a2f578d22c98af22f.tar.xz rules-sandbox-bb92e6eaa9bca36d9f1e356a2f578d22c98af22f.zip |
IO: Making input and output files have the same format.
Diffstat (limited to 'acme.yaml')
-rw-r--r-- | acme.yaml | 139 |
1 files changed, 70 insertions, 69 deletions
@@ -1,76 +1,77 @@ -type: io.trygvis.acme.apps.AcmeMyApp -data: - environment: ci - dockerTag: development ---- -type: io.trygvis.acme.apps.AcmeMyApp -data: - environment: production - dockerTag: master ---- -type: io.trygvis.acme.apps.AcmeOps +- type: io.trygvis.acme.apps.AcmeMyApp + data: + environment: ci + dockerTag: development +- type: io.trygvis.acme.apps.AcmeMyApp + data: + environment: production + dockerTag: master ---- # DNS configuration -type: io.trygvis.rules.terraform.GoogleManagedZoneTerraformExpression -data: - name: "acme_zone" +- type: io.trygvis.acme.apps.AcmeOps + + + # DNS configuration +- type: io.trygvis.rules.terraform.GoogleManagedZoneTerraformExpression + data: + name: "acme_zone" + ---- -type: io.trygvis.rules.machine.Machine -data: - name: acme-1 ---- -type: io.trygvis.rules.dba.DbaMachineRole -data: - machine: acme-1 - roles: - - ci-app +- type: io.trygvis.rules.machine.Machine + data: + name: acme-1 ---- -type: io.trygvis.rules.machine.MachineSpecificaiton -data: - mCpu: 2000 - memory: 2000 ---- -type: io.trygvis.rules.machine.Machine -data: - name: acme-2 ---- -type: io.trygvis.rules.dba.DbaMachineRole -data: - machine: acme-2 - roles: - - ops - - ci-db # This also runs the DB for the non-production environments to keep the other machines stateless +- type: io.trygvis.rules.dba.DbaMachineRole + data: + machine: acme-1 + roles: + - ci-app + ---- -type: io.trygvis.rules.machine.Machine -data: - name: acme-3 ---- -type: io.trygvis.rules.dba.DbaMachineRole -data: - machine: acme-3 - roles: - - production-app - - production-db +- type: io.trygvis.rules.machine.MachineSpecificaiton + data: + mCpu: 2000 + memory: 2000 -# Workstations ---- -type: io.trygvis.rules.machine.Machine -data: - name: ws-1 ---- -type: io.trygvis.rules.machine.Machine -data: - name: ws-2 +- type: io.trygvis.rules.machine.Machine + data: + name: acme-2 ---- # Wireguard VPN network -type: io.trygvis.rules.wireguard.WgNet -data: - name: vpn0 - domain: vpn.acme.com - linkCidr: 192.168.10.0/29 - networkCidr: 10.55.0.0/16 - networkBits: 24 +- type: io.trygvis.rules.dba.DbaMachineRole + data: + machine: acme-2 + roles: + - ops + - ci-db # This also runs the DB for the non-production environments to keep the other machines stateless + + +- type: io.trygvis.rules.machine.Machine + data: + name: acme-3 + +- type: io.trygvis.rules.dba.DbaMachineRole + data: + machine: acme-3 + roles: + - production-app + - production-db + + # Workstations + +- type: io.trygvis.rules.machine.Machine + data: + name: ws-1 + +- type: io.trygvis.rules.machine.Machine + data: + name: ws-2 + + # Wireguard VPN network +- type: io.trygvis.rules.wireguard.WgNet + data: + name: vpn0 + domain: vpn.acme.com + linkCidr: 192.168.10.0/29 + networkCidr: 10.55.0.0/16 + networkBits: 24 +
\ No newline at end of file |