Commit Graph

206 Commits

Author SHA1 Message Date
Luca Frosini ef54dbc3f9 Changed plan for grsf-publisher service 2024-01-11 12:09:43 +01:00
Andrea Dell'Amico 117b0e7907
preprod liferay: recordset and s3 container. 2023-12-21 13:30:17 +01:00
Andrea Dell'Amico 8ac57eeb42
preprod: add outputs to the project setup. 2023-12-21 13:29:48 +01:00
Andrea Dell'Amico 33df04e799
Ignore the modifications to the VM networks. 2023-12-19 14:51:53 +01:00
Andrea Dell'Amico 7d61ffdc16
Fix the basic infra in preproduction. 2023-12-19 13:31:36 +01:00
Andrea Dell'Amico 2adc683253
Fix the prod global setup. 2023-12-19 13:05:00 +01:00
Luca Frosini 718bf0a358 Recreated resource-regsitry instances 2023-12-18 17:02:48 +01:00
Luca Frosini c095dbd484 Merge branch 'main' of code-repo.d4science.org:InfraScience/infrastructure-as-code 2023-12-18 16:32:13 +01:00
Luca Frosini a40489c691 VMs destroyed and recreated 2023-12-18 16:32:02 +01:00
Giancarlo Panichi f335e011a7 Apply DataMiner plan 2023-12-18 16:11:17 +01:00
Giancarlo Panichi 03297ed835 Merge pull request 'feature/26281' (#17) from feature/26281 into main
Reviewed-on: InfraScience/infrastructure-as-code#17
2023-12-18 15:57:05 +01:00
Luca Frosini d7c9e1fdbf Created grsf-publisher instances 2023-12-18 15:24:11 +01:00
Luca Frosini 68bb61e45c gcat-service instances 2023-12-18 15:20:44 +01:00
Luca Frosini 749a0655d7 Created accounting-service instances 2023-12-18 15:18:18 +01:00
Luca Frosini aa47cb9757 Applied refactored smart-executor instances 2023-12-18 15:15:31 +01:00
Giancarlo Panichi cbc2a387a9 Created DataMiner plan 2023-12-18 11:01:49 +01:00
Giancarlo Panichi a1dfe6020b Created DataMiner plan 2023-12-18 11:00:39 +01:00
Luca Frosini d3379e61da Increased smart c1_small smart-executor VMs to m1_medium 2023-12-18 10:01:58 +01:00
Giancarlo Panichi 9e65013730 Created DataMiner Plan 2023-12-15 18:30:06 +01:00
Giancarlo Panichi e55b16404d Created DataMiner plan 2023-12-15 18:12:22 +01:00
Giancarlo Panichi 54dc0b38ff Created Dataminer plan 2023-12-15 18:09:26 +01:00
Andrea Dell'Amico 723ef7e3b2
Import the keycloak bucket. 2023-12-15 16:09:58 +01:00
Mauro Mugnaini 571ba60aba
`nubis*` mini-cliuster added in `dev` 2023-12-15 11:01:24 +01:00
Mauro Mugnaini 0cda469a6f
`keycloak` for `dev` added 2023-12-15 11:00:37 +01:00
Andrea Dell'Amico fda690fc94
geoserver and smartexecutor in production. 2023-12-14 18:18:21 +01:00
Andrea Dell'Amico 4d13bc6c15
Fix the state of production. 2023-12-14 14:29:28 +01:00
Luca Frosini 0697704d18 Switched using state variable 2023-12-14 14:22:35 +01:00
Luca Frosini 43be7b490f Using state for networks and security_groups 2023-12-14 14:19:40 +01:00
Luca Frosini 07ba2fefe1 Fixed security groups 2023-12-14 14:13:52 +01:00
Luca Frosini f3bb21cba9 Getting security groups from state 2023-12-14 13:55:59 +01:00
Andrea Dell'Amico 8ef11f0446
Do not rebuild instances when the ssh_key or user_data change. 2023-12-14 12:55:20 +01:00
Andrea Dell'Amico bd48be7ea7
Fix the variable of the load balancer security group. 2023-12-14 12:48:10 +01:00
Luca Frosini 75b6367e1f Using variable from state 2023-12-14 12:13:43 +01:00
Giancarlo Panichi 91136abe74 Updated geoserver configuration for prod 2023-12-14 10:58:45 +01:00
Andrea Dell'Amico d3811d01ee
Fix the state in the dev environment. 2023-12-13 19:40:16 +01:00
Andrea Dell'Amico 2119ef9ac2
Create the geonetworks. 2023-12-13 18:57:23 +01:00
Andrea Dell'Amico 272fe6ab34
New state for the resource registry. 2023-12-13 18:23:34 +01:00
Andrea Dell'Amico 444ba8cd81
Fix the security groups definitions. 2023-12-13 18:20:56 +01:00
Andrea Dell'Amico 76a9517cc9
orientdb in production. 2023-12-13 18:08:53 +01:00
Andrea Dell'Amico 5548041553
Fixes to the orientdb module. 2023-12-13 18:08:24 +01:00
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: InfraScience/infrastructure-as-code#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: InfraScience/infrastructure-as-code#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: InfraScience/infrastructure-as-code#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: InfraScience/infrastructure-as-code#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