Commit Graph

81 Commits

Author SHA1 Message Date
Andrea Dell'Amico 5a4d729503 Change the dataminer roles again so that the algorithms are always installed but the script that adds them is optiona. 2018-04-07 18:32:12 +02:00
Andrea Dell'Amico 1f2a02a727 dataminer: more modularity, add smartgears as dependency. 2018-04-06 17:21:38 +02:00
Andrea Dell'Amico 3cc7c27af8 Dataminer: Remove the list of installed algorithms after an upgrade to force a reinstall. 2018-04-05 16:14:37 +02:00
Andrea Dell'Amico d9dfa8ef23 dataminer: the dependency roles are now conditional. 2018-04-04 20:22:23 +02:00
Andrea Dell'Amico 9ef7736f10 Cleanup some dataminer tasks. Remove the old zip installation tasks. 2018-03-23 13:40:25 +01:00
Andrea Dell'Amico 7d8faf3cfa Fix the function that performs the svn update so that it exits immediately if there's nothing to do. 2018-03-16 15:30:23 +01:00
Andrea Dell'Amico 8af90a8ef8 library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Add a 'svn cleanup' before the update. 2018-02-24 10:28:24 +01:00
Andrea Dell'Amico 0115c852e3 library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Fix the check of the lock file logic. See https://support.d4science.org/issues/11182 2018-02-14 12:48:24 +01:00
Andrea Dell'Amico cc9a426761 library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Fix the check_lock_file function. See https://support.d4science.org/issues/11079 2018-01-31 12:41:16 +01:00
Andrea Dell'Amico 6c11ced0c7 dataminer: add conda (and therefore python-env) as dependency. 2017-12-21 20:36:17 +01:00
Andrea Dell'Amico 8efc0aca14 dataminer: install nscd when requested. 2017-12-15 18:08:17 +01:00
Andrea Dell'Amico 3477ccc615 dataminer: Install the web.xml file in the correct place.
dataminer: Remove the old wps_algorithms directory when moving from the old to the new algorithms setup.
2017-10-13 15:15:30 +02:00
Roberto Cirillo f1fa0bc1be add new dataminer ghost instance in preproduction environment
update dm-pool-manager service configuration and version
2017-10-11 09:24:21 +02:00
Andrea Dell'Amico 6364e3cfc4 library/roles/smartgears/dataminer_app/templates/web.xml.j2: Fix the algorithmDirectory path inside the dataminer configuration. 2017-10-10 17:37:33 +02:00
Andrea Dell'Amico 07d50186ab library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Make the script more tolerant to the garbage present in the algorithm files. 2017-10-06 18:16:52 +02:00
Andrea Dell'Amico b6703aa9b1 dataminer: The algorithms directory structure has been refactored. 2017-10-06 16:05:03 +02:00
Andrea Dell'Amico 5832cb0b62 dataminer: Remove the tasks that install the missing jars. They have been added to the war file. 2017-09-28 17:21:29 +02:00
Andrea Dell'Amico aa8e209d95 dataminer: change the java options passed to tomcat. See https://support.d4science.org/issues/9797 2017-09-26 17:04:30 +02:00
Andrea Dell'Amico 59d9e8a18c dataminer: do not install the catalina config anymore. Add some java options as requested in https://support.d4science.org/issues/9797 2017-09-26 16:28:40 +02:00
Andrea Dell'Amico 3eed2abc3a algorithms-updater: cleanup the list of installed algorithms even when installing a new one. 2017-09-20 13:42:40 +02:00
Andrea Dell'Amico a758ab8c71 dataminer algorithms-updater: another attempt to fix the algorithms upgrade. 2017-09-20 12:42:38 +02:00
Andrea Dell'Amico 02bcd00968 dataminer: Install the war archive by default. 2017-09-19 15:37:14 +02:00
Andrea Dell'Amico 7f91b5f36a dataminer: New workarounds to fix some broken behaviour. 2017-09-19 14:44:35 +02:00
Andrea Dell'Amico c0864e4e43 dataminer: Give the possibility to not install the algorithms updater cron job. 2017-09-19 14:17:37 +02:00
Andrea Dell'Amico b011d82213 Correct another case of the algorithms-updater script. 2017-09-15 19:38:57 +02:00
Andrea Dell'Amico daeda765a1 Other fixes to library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2. 2017-09-15 19:25:06 +02:00
Andrea Dell'Amico f2196b3cf9 More fixes to the algorithms updater script. 2017-09-15 19:22:56 +02:00
Andrea Dell'Amico 11f5be1a83 dataminer: add variables that permit to change the algorithms installer run frequency. Default: 1 hour.
dataminer proto: run the algorithm installer every minute.
2017-09-14 14:18:22 +02:00
Andrea Dell'Amico 22632aa634 dataminer: Fix the algorithms installer script, in some situations it created duplicated lines in the file that lists the already installed algorithms.
dataminer: Download the distribution files into /home/gcube/downloads
2017-09-14 13:41:55 +02:00
Andrea Dell'Amico e0fa10319d Dataminer: remove the dataminer war when the new one has been downloaded from maven. 2017-09-13 16:35:12 +02:00
Andrea Dell'Amico d1597d1784 dataminer: Remove the old algorithms installer when a new distribution has been downloaded from maven. 2017-09-13 16:33:16 +02:00
Andrea Dell'Amico 84fe5ff968 library/roles/smartgears/dataminer_app: Install the algorithms importer archive, using maven_artifact. 2017-09-12 17:18:00 +02:00
Andrea Dell'Amico 02d74065cb library/roles/smartgears/dataminer_app/templates/wps-config-fixer.j2: Set the provided hostname. 2017-09-12 15:35:27 +02:00
Andrea Dell'Amico 0908b0bbd6 Modify the algorithms updater script so that it can manage algorithms upgrades. See https://support.d4science.org/issues/9562 2017-09-04 19:39:08 +02:00
Andrea Dell'Amico 925d545be2 When there's nothing to do, exit without trying to build the script. 2017-07-26 17:17:06 +02:00
Andrea Dell'Amico c75648ffba We need to install a templated web.xml for the dataminer app. 2017-07-25 18:37:59 +02:00
Andrea Dell'Amico 1b36211240 Fix the script so that the algorithms that have spaces in their name are handled correctly. 2017-07-25 18:29:54 +02:00
Andrea Dell'Amico 9d8ae525a2 Fix the algorithms-updater script again. 2017-07-25 17:51:26 +02:00
Andrea Dell'Amico 92cdb68b37 Modify and option of addAlgorithms so that it does not recompile everything. 2017-07-25 17:32:31 +02:00
Andrea Dell'Amico 0ea789571b Fix the dataminer algorithms updater script: it searched the lock file in the wrong place. 2017-07-25 15:59:47 +02:00
Andrea Dell'Amico 47788be177 smartgears: Install the gcube root dev key in preprod too. 2017-07-20 17:41:42 +02:00
Andrea Dell'Amico 56eaf5e783 d4science-ghn-cluster/group_vars/all/gcube_vault_keys.yml library/roles/smartgears/dataminer_app/tasks/install-gcube-key.yml library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml: New gcube keys. 2017-07-20 15:25:55 +02:00
Andrea Dell'Amico 1660fb37b0 library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Better logging. 2017-07-19 19:18:49 +02:00
Andrea Dell'Amico 1aba1accde library/roles/smartgears: cleanup. Remove lots of duplicate handlers. 2017-06-28 16:33:49 +02:00
Andrea Dell'Amico d3154f5d95 library/roles/smartgears/dataminer_app: Modify the cron job that updates the algorithms. Now it also runs a tool that configures new algorithms. 2017-06-22 14:39:07 +02:00
Andrea Dell'Amico 62deaafb2c library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Install a cron job that performs a 'svn update' of the algorithms repository. 2017-05-15 13:02:13 +02:00
Andrea Dell'Amico 9c36221e11 library/roles/smartgears/dataminer_app: Install the catalina configuration to extend the classpath. 2017-05-12 19:28:09 +02:00
Andrea Dell'Amico 9bb4f896f9 library/roles/smartgears/dataminer_app/defaults/main.yml: Fix a typo. 2017-05-12 13:43:39 +02:00
Andrea Dell'Amico 766a276cc2 library/roles/smartgears/dataminer_app: The war and zip versions of dataminer need to cohesist for the time being. 2017-05-12 13:24:01 +02:00
Andrea Dell'Amico 660341fd56 library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Copy the algorithms inside the WPS WEB-INF/lib directory. It's temporary, until Lucio finds a way to dynamically load them. 2017-05-11 20:29:08 +02:00