diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-02-03 16:35:48 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-02-03 16:35:48 +0100 |
commit | bafe762ac01d16904c18404283027e426e19bc73 (patch) | |
tree | c22688ad186f5ce635f525704c5035f91b983b68 /acme-apps | |
parent | 91abd0b04320a9c9d932df195aca38c1cacfcc5a (diff) | |
download | rules-sandbox-bafe762ac01d16904c18404283027e426e19bc73.tar.gz rules-sandbox-bafe762ac01d16904c18404283027e426e19bc73.tar.bz2 rules-sandbox-bafe762ac01d16904c18404283027e426e19bc73.tar.xz rules-sandbox-bafe762ac01d16904c18404283027e426e19bc73.zip |
Code reorganization.
Moving main code to src, keeping modules in modules/
Diffstat (limited to 'acme-apps')
-rw-r--r-- | acme-apps/ansible/dba/acme-myapp-ci.yml | 37 | ||||
-rw-r--r-- | acme-apps/ansible/dba/acme-myapp-production.yml | 26 | ||||
-rw-r--r-- | acme-apps/ansible/dba/acme-ops.yml | 18 | ||||
-rw-r--r-- | acme-apps/terraform/acme-1-instance.tf | 8 | ||||
-rw-r--r-- | acme-apps/terraform/acme-1-ip.tf | 4 | ||||
-rw-r--r-- | acme-apps/terraform/acme-2-instance.tf | 8 | ||||
-rw-r--r-- | acme-apps/terraform/acme-2-ip.tf | 4 | ||||
-rw-r--r-- | acme-apps/terraform/acme-3-instance.tf | 8 | ||||
-rw-r--r-- | acme-apps/terraform/acme-3-ip.tf | 4 | ||||
-rw-r--r-- | acme-apps/terraform/main.tf | 9 | ||||
-rw-r--r-- | acme-apps/terraform/vars.tf | 1 |
11 files changed, 0 insertions, 127 deletions
diff --git a/acme-apps/ansible/dba/acme-myapp-ci.yml b/acme-apps/ansible/dba/acme-myapp-ci.yml deleted file mode 100644 index 584ddf3..0000000 --- a/acme-apps/ansible/dba/acme-myapp-ci.yml +++ /dev/null @@ -1,37 +0,0 @@ -# Generated - -# cluster: ---- -- host: - - acme-1 - tasks: - import_role: - name: docker-service - vars: - template: | - version: "3" - services: - 4tune-api: - image: 4tune-api:development - 4tune-web: - image: 4tune-web:development - statera-console: - image: statera-console:development - statera: - image: statera:development - ---- -- host: - - acme-2 - tasks: - import_role: - name: docker-service - vars: - template: | - version: "3" - services: - mdb: - image: mongodb:3.2 - pdb: - image: postgresql:13 - diff --git a/acme-apps/ansible/dba/acme-myapp-production.yml b/acme-apps/ansible/dba/acme-myapp-production.yml deleted file mode 100644 index 6b6bf6c..0000000 --- a/acme-apps/ansible/dba/acme-myapp-production.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Generated - -# cluster: ---- -- host: - - acme-3 - tasks: - import_role: - name: docker-service - vars: - template: | - version: "3" - services: - mdb: - image: mongodb:3.2 - pdb: - image: postgresql:13 - 4tune-api: - image: 4tune-api:master - 4tune-web: - image: 4tune-web:master - statera-console: - image: statera-console:master - statera: - image: statera:master - diff --git a/acme-apps/ansible/dba/acme-ops.yml b/acme-apps/ansible/dba/acme-ops.yml deleted file mode 100644 index 077c554..0000000 --- a/acme-apps/ansible/dba/acme-ops.yml +++ /dev/null @@ -1,18 +0,0 @@ -# Generated - -# cluster: ---- -- host: - - acme-2 - tasks: - import_role: - name: docker-service - vars: - template: | - version: "3" - services: - n8n: - image: n8n:0.84.1 - pdb: - image: postgresql:11 - diff --git a/acme-apps/terraform/acme-1-instance.tf b/acme-apps/terraform/acme-1-instance.tf deleted file mode 100644 index e1aed14..0000000 --- a/acme-apps/terraform/acme-1-instance.tf +++ /dev/null @@ -1,8 +0,0 @@ -resource "scaleway_server_instance" "acme-1" { - name = "acme-1" - type = "DEV1-S" - image = "b3042271-d2b1-4f87-b407-aedd3bbd1663" - ip_id = scaleway_instance_ip.acme-1.ip - enable_dynamic_ip = false - enable_ipv6 = true -} diff --git a/acme-apps/terraform/acme-1-ip.tf b/acme-apps/terraform/acme-1-ip.tf deleted file mode 100644 index 283eb55..0000000 --- a/acme-apps/terraform/acme-1-ip.tf +++ /dev/null @@ -1,4 +0,0 @@ -resource "scaleway_instance_reverse_dns" "acme-1" { - reverse = "acme-1.machine.acme.com." - ip_id = scaleway_instance_ip.acme-1.id -} diff --git a/acme-apps/terraform/acme-2-instance.tf b/acme-apps/terraform/acme-2-instance.tf deleted file mode 100644 index 4ae0fe5..0000000 --- a/acme-apps/terraform/acme-2-instance.tf +++ /dev/null @@ -1,8 +0,0 @@ -resource "scaleway_server_instance" "acme-2" { - name = "acme-1" - type = "DEV1-S" - image = "b3042271-d2b1-4f87-b407-aedd3bbd1663" - ip_id = scaleway_instance_ip.acme-2.ip - enable_dynamic_ip = false - enable_ipv6 = true -} diff --git a/acme-apps/terraform/acme-2-ip.tf b/acme-apps/terraform/acme-2-ip.tf deleted file mode 100644 index f72fe88..0000000 --- a/acme-apps/terraform/acme-2-ip.tf +++ /dev/null @@ -1,4 +0,0 @@ -resource "scaleway_instance_reverse_dns" "acme-2" { - reverse = "acme-2.machine.acme.com." - ip_id = scaleway_instance_ip.acme-2.id -} diff --git a/acme-apps/terraform/acme-3-instance.tf b/acme-apps/terraform/acme-3-instance.tf deleted file mode 100644 index 389b39b..0000000 --- a/acme-apps/terraform/acme-3-instance.tf +++ /dev/null @@ -1,8 +0,0 @@ -resource "scaleway_server_instance" "acme-3" { - name = "acme-1" - type = "DEV1-S" - image = "b3042271-d2b1-4f87-b407-aedd3bbd1663" - ip_id = scaleway_instance_ip.acme-3.ip - enable_dynamic_ip = false - enable_ipv6 = true -} diff --git a/acme-apps/terraform/acme-3-ip.tf b/acme-apps/terraform/acme-3-ip.tf deleted file mode 100644 index 7d07eb9..0000000 --- a/acme-apps/terraform/acme-3-ip.tf +++ /dev/null @@ -1,4 +0,0 @@ -resource "scaleway_instance_reverse_dns" "acme-3" { - reverse = "acme-3.machine.acme.com." - ip_id = scaleway_instance_ip.acme-3.id -} diff --git a/acme-apps/terraform/main.tf b/acme-apps/terraform/main.tf deleted file mode 100644 index 74efe05..0000000 --- a/acme-apps/terraform/main.tf +++ /dev/null @@ -1,9 +0,0 @@ -terraform { - required_providers { - - scaleway = { - version = "2.0.0-rc1" - source = "scaleway" - } - } -} diff --git a/acme-apps/terraform/vars.tf b/acme-apps/terraform/vars.tf deleted file mode 100644 index 8b13789..0000000 --- a/acme-apps/terraform/vars.tf +++ /dev/null @@ -1 +0,0 @@ - |