Commit Graph

216 Commits

Author SHA1 Message Date
Andrea Dell'Amico fe5fcfeb37
Fixed the formatting. 2023-12-13 17:17:42 +01:00
Andrea Dell'Amico b300ee7bf0
timescaledb: the affinity policy is now a variable. 2023-12-13 16:55:40 +01:00
Andrea Dell'Amico 13289bc6f8
Use the remote data source. 2023-12-13 16:06:45 +01:00
Giancarlo Panichi f819872a18 Added geoserver and geonetwork for
MEI and Global Fisheries Atlas
2023-12-13 15:31:50 +01:00
Giancarlo Panichi 62cbe65b5f Updated GeoServer Terraform plan 2023-12-13 15:05:37 +01:00
Luca Frosini bb4d89e5b6 Added terrafomr plan for grs-publisher service in pre and prod 2023-12-13 11:12:29 +01:00
Luca Frosini 6a5e4ad3b9 Terraformed grsf-publisher instances 2023-12-13 11:12:07 +01:00
Luca Frosini 0db95c114f Created terraform-plan for accounting-service 2023-12-12 18:16:12 +01:00
Giancarlo Panichi 695d0bb246 Merge pull request 'feature/25884' (#12) from feature/25884 into main
Reviewed-on: #12
2023-12-12 18:06:40 +01:00
Giancarlo Panichi d77b411918 Added geonetwork 2023-12-12 17:56:19 +01:00
Giancarlo Panichi 3fbdc31208 Added geonetwork for prod 2023-12-12 17:52:15 +01:00
Luca Frosini 137d87c8da Added terraform state 2023-12-12 14:00:48 +01:00
Andrea Dell'Amico 8443fc033f
Fix the timescaledb instance names. 2023-12-11 22:36:05 +01:00
Andrea Dell'Amico 30ef362dd2
Fix a typo. 2023-12-11 22:30:46 +01:00
Andrea Dell'Amico 152078876a
Change the volume size of the prod timescaledb. 2023-12-11 22:28:28 +01:00
Andrea Dell'Amico 6dcc7c7a01
Convert timescaledb and a bit of the resource registry module. 2023-12-11 22:15:33 +01:00
Andrea Dell'Amico 6809103372
Rework the common and production variables. 2023-12-11 22:12:54 +01:00
Andrea Dell'Amico 864322d3a1
Fix the project setup module and the production configuration. 2023-12-11 22:12:07 +01:00
Andrea Dell'Amico a7fa0fd898
The terraform provider was left out from the previous commit. 2023-12-11 18:22:19 +01:00
Andrea Dell'Amico 9a87860105
The production project-setup now uses modules. 2023-12-11 18:16:52 +01:00
Andrea Dell'Amico db59cf45a1
Proper module for the main network and dns zone. 2023-12-11 18:15:58 +01:00
Andrea Dell'Amico b00237ae03
Cleanup the production vars and the project setup tasks. 2023-12-11 13:49:45 +01:00
Giancarlo Panichi 92032dc353 Added geonetwork 2023-12-11 11:38:38 +01:00
Giancarlo Panichi d80c470ffd Added geonetwork 2023-12-11 11:34:15 +01:00
Giancarlo Panichi 8062cd9af9 Added geonetwork 2023-12-11 11:26:49 +01:00
Giancarlo Panichi 0d65e543ba Added geonetwork 2023-12-11 11:11:59 +01:00
Luca Frosini 9c50df7d8c Added plan for resource-registry 2023-12-07 18:08:58 +01:00
Luca Frosini 417f1b8426 fixed provider 2023-12-07 18:06:05 +01:00
Luca Frosini 1fa94f806b Fxied provider 2023-12-07 17:50:25 +01:00
Luca Frosini d38564f57a Switched to variable 2023-12-07 17:48:10 +01:00
Luca Frosini 3164c2a767 Reprovisioned resource-registry 2023-12-07 17:46:50 +01:00
Luca Frosini 0ef3eab7a3 Fixed affinity for server group 2023-12-07 14:53:43 +01:00
Luca Frosini d7d8abf0c4 Added pre and prod terrafomr plan for smart-executors 2023-12-07 12:23:35 +01:00
Luca Frosini 2f37287b45 Refactored smart-executor instances 2023-12-07 09:35:37 +01:00
Luca Frosini 426f4357d9 Restored gcat group affinity for preprod 2023-12-06 17:44:29 +01:00
Luca Frosini 012679eae2 Fixed server group affinity 2023-12-06 17:43:27 +01:00
Luca Frosini 3fedadcfd7 Added gcat preprod plan 2023-12-06 16:20:39 +01:00
Luca Frosini 016c83c41b added production gcat plan 2023-12-06 14:59:10 +01:00
Luca Frosini fcda39c90d Added gcat state 2023-12-06 10:44:32 +01:00
Andrea Dell'Amico 8dc1f6baec
Add the postgres network to the swarm workers. 2023-12-05 18:24:27 +01:00
Luca Frosini 6679988794 Switched to instance_without_data_volume generic module 2023-12-05 17:48:54 +01:00
Luca Frosini d6daf6315f Switched geoserver to instance_with_data_volume module 2023-12-05 17:46:36 +01:00
Luca Frosini 501df789bb Added forget file 2023-12-05 17:20:06 +01:00
Luca Frosini 1eac9fd851 Migrated URI Resolver to instance_without_data_volume generic module 2023-12-05 17:20:06 +01:00
Luca Frosini d07329d0c1 Merge pull request 'luca' (#9) from luca into main
Reviewed-on: #9
2023-12-05 16:03:07 +01:00
Luca Frosini 8c0c3fbd78 Fixed module 2023-12-05 16:02:41 +01:00
Luca Frosini 2f676b6130 Migrated services to generic module 2023-12-05 15:56:40 +01:00
Luca Frosini 58991984a3 Created generic modules 2023-12-05 15:55:09 +01:00
Luca Frosini 265f71f359 Fixed terraform gcat and resource-registry plan 2023-12-05 14:14:53 +01:00
Luca Frosini 89b9165f58 Fixed gcat terraform plan 2023-12-05 12:12:07 +01:00
Andrea Dell'Amico b519cce6f8
geoserver-new -> geoserver. 2023-12-05 12:00:13 +01:00
Andrea Dell'Amico 6568938eac Merge pull request 'Added server_groups_ids as input parameter and managed it' (#8) from francesco.mangiacrapa/infrastructure-as-code:main into main
Reviewed-on: #8
2023-12-05 11:43:19 +01:00
Francesco Mangiacrapa 74516812b3 Managed image_ref as map of string 2023-12-05 11:22:22 +01:00
Francesco Mangiacrapa 37ad816a69 Added server_groups_ids as input paramater and managed it 2023-12-05 10:06:23 +01:00
Andrea Dell'Amico f430793796 Merge pull request 'Added new geo_services module. It will be used to create geoservice instances (e.g. geoserver, geonetwork, etc.)' (#7) from francesco.mangiacrapa/infrastructure-as-code:main into main
Reviewed-on: #7
2023-12-04 17:11:42 +01:00
Luca Frosini 3a14a2ed19 Added gcat terraform state after VMs provisioning 2023-12-04 17:06:49 +01:00
Francesco Mangiacrapa a08f44ee5b Added new geo_services module. It will be used to create geoservice instances (e.g. geoserver, geonetwork, etc.) 2023-12-04 16:56:44 +01:00
Luca Frosini 3432d66203 Added accounting-service terraform plan 2023-12-04 16:41:59 +01:00
Luca Frosini aa469b927a Added GRSF Publisher terraform plan 2023-12-04 16:33:04 +01:00
Luca Frosini f1f51bcc0b added forget file 2023-12-04 16:28:59 +01:00
Luca Frosini 6d872bab26 Added gcat plan 2023-12-04 16:27:09 +01:00
Luca Frosini b082beda25 Fixed whitespaces 2023-12-04 16:26:23 +01:00
Luca Frosini d57ed0788e Aligned smart executor naming 2023-12-04 16:13:06 +01:00
Luca Frosini 1c8eabaf06 Renamed smart-executor folder 2023-12-04 16:03:54 +01:00
Luca Frosini 48f227f0c8 created resource-registry terraform plan 2023-12-04 16:00:02 +01:00
Francesco Mangiacrapa 32c0d46300 Passe uri-resolver to module within generic_smartgears_service 2023-12-04 12:45:45 +01:00
Francesco Mangiacrapa 88a15ee099 Used geoportal as module 2023-12-04 12:38:21 +01:00
Francesco Mangiacrapa 0e61ebb906 removed unused symbolic link 2023-12-04 12:17:20 +01:00
Francesco Mangiacrapa 4eb97e4542 Added geoportal and uri-resolver projects. Updated generic_smartgears_service 2023-12-04 11:01:16 +01:00
Francesco Mangiacrapa f9c3c83c17 Merge remote-tracking branch 'upstream/main' into main 2023-12-04 09:29:07 +01:00
Andrea Dell'Amico aea7caef12
Fixed IP and a new security group for liferay. 2023-12-01 17:56:01 +01:00
Francesco Mangiacrapa 13a1c58534 Updated some comments 2023-12-01 17:49:38 +01:00
Andrea Dell'Amico 59321c60f8
Add a network to one of the smart executors. 2023-12-01 17:18:43 +01:00
Andrea Dell'Amico 7fcc551c85
liferay module and preprod project. 2023-12-01 17:01:40 +01:00
Andrea Dell'Amico a3fc3784b4
Fix the orientdb module. 2023-12-01 15:50:29 +01:00
Andrea Dell'Amico f771b207fe
Default flavor for geoserver. 2023-12-01 14:25:54 +01:00
Andrea Dell'Amico 0c9f46f9bb
common_setups is not relevant anymore. 2023-12-01 12:18:39 +01:00
Andrea Dell'Amico dc6f15bedf
Cleanup: prepare for modules. 2023-11-30 19:48:49 +01:00
Francesco Mangiacrapa d9f15e68e6 Only formatted the map of objects 2023-11-30 16:36:48 +01:00
Francesco Mangiacrapa 4f7265b25d Added generic_smartgears_service project and module 2023-11-30 16:29:06 +01:00
Andrea Dell'Amico b915cbb949
Fix the vrrp IP addresses in preprod. 2023-11-29 18:49:21 +01:00
Andrea Dell'Amico c65d669037
Switch some directory names. 2023-11-29 18:02:48 +01:00
Andrea Dell'Amico 17be36fbd4
Some refactoring. And another attempt at modules. 2023-11-29 18:02:47 +01:00
Francesco Mangiacrapa 944b280c42 Added and used map of objects instead of a local variable 2023-11-28 16:40:10 +01:00
Francesco Mangiacrapa a528af9b70 Added geoserver-ariadne to list of geoserver_instances 2023-11-28 12:13:55 +01:00
Francesco Mangiacrapa 4b0a88fd7c delete plan 2023-11-28 11:37:28 +01:00
Francesco Mangiacrapa 1dd83a0469 Using local.geoserver_instances to create the geoserver instances with specific properties 2023-11-28 11:30:47 +01:00
Francesco Mangiacrapa 5189753454 Added tfvars for specific geoserver instance (e.g. geoserver-geoportal) 2023-11-27 17:56:17 +01:00
Francesco Mangiacrapa 20855b6882 updated ssh configs 2023-11-24 17:49:15 +01:00
Francesco Mangiacrapa d459f11365 Changed the logic to manage ssh settings 2023-11-24 17:16:20 +01:00
Francesco Mangiacrapa 6dd036a015 removed ssh_key_file variable. It has been declared into file named 'ssh_key_file_ref.tf' added also to .gitignore 2023-11-24 11:22:49 +01:00
Francesco Mangiacrapa a96af024a0 Added list of security groups and updated the geoserver.tf 2023-11-24 09:51:04 +01:00
Francesco Mangiacrapa 031c011bf6 Added geoserver configured by terraform 2023-11-23 16:57:00 +01:00
Andrea Dell'Amico b3561c388d
smart executors in dev. 2023-11-23 12:39:22 +01:00
Andrea Dell'Amico 4038690933
Terraform setup for dev. 2023-11-20 18:37:55 +01:00
Andrea Dell'Amico 8350b51931
Another cleanup. Add the mongodb module. 2023-11-17 16:50:33 +01:00
Andrea Dell'Amico d59195c253
An attempt on using modules. Add orientdb. 2023-11-16 18:55:24 +01:00
Andrea Dell'Amico bdcff8147e
Start the conversions to modules. 2023-11-15 19:43:35 +01:00
Andrea Dell'Amico 9c9e4bed7b
Prepare the terraform files for dev. 2023-11-14 18:52:30 +01:00
Andrea Dell'Amico 437de33c4f
Commit the state. 2023-11-09 20:16:59 +01:00
Andrea Dell'Amico e263dbb32f
Fix the restricted_web security group. 2023-11-09 20:16:08 +01:00
Andrea Dell'Amico f8633aca0e
Add a recordset for portainer. 2023-11-07 15:10:10 +01:00
Andrea Dell'Amico e8c4fa142c
Add the acme-challenge delegation. 2023-11-07 02:22:04 +01:00
Andrea Dell'Amico 45c0bc42c5
Add a CNAME for the alertmanager. 2023-11-06 22:46:51 +01:00
Andrea Dell'Amico 4482ef3920
Add the Docker Swarm resources. 2023-11-06 20:04:28 +01:00
Andrea Dell'Amico 0124413fc1
Use the subnet_id to place the octavia interfaces. 2023-11-06 16:35:41 +01:00
Andrea Dell'Amico b9a47e1d9d
HAPROXY does not have server groups attached. 2023-11-06 15:04:07 +01:00
Andrea Dell'Amico f3f87c8a23
Docker Swarm is not part of the main services. 2023-11-06 13:46:16 +01:00
Andrea Dell'Amico 3cb8725d54
Manage the SSH keys in a separate task. 2023-11-06 13:06:47 +01:00
Andrea Dell'Amico 064e5c03b8
gitignore: exclude *.auto.tfvars. 2023-11-06 12:54:44 +01:00
Andrea Dell'Amico f4cbc8b293
Fix some deps and a problem with the ssh key. 2023-11-06 11:01:14 +01:00
Andrea Dell'Amico 7db6897429
Production environment. 2023-11-06 00:48:52 +01:00
Andrea Dell'Amico 58225078f7
Pre production setup. 2023-11-05 19:19:04 +01:00
Andrea Dell'Amico da199a5be2
Skeleton of the d4s-pre-cloud project. 2023-11-03 17:12:11 +01:00
Andrea Dell'Amico eccfb0b2a8
First bits of terraforming openstack. 2023-11-02 19:50:01 +01:00
Andrea Dell'Amico b61a17e07b
First bits of the terraform setup. 2023-10-30 10:50:42 +01:00