Feature/24026 #3

Merged
giancarlo.panichi merged 194 commits from Feature/24026 into master 2023-11-09 19:12:54 +01:00
14 changed files with 92 additions and 0 deletions
Showing only changes of commit 1b6cea2db3 - Show all commits

View File

@ -0,0 +1,4 @@
---
- name: Install the 'voodoo' custom package
shell: echo 'installing voodoo'

View File

@ -0,0 +1,4 @@
dependencies:
- { role: gcube-dataminer ***REMOVED***
- { role: os-unzip ***REMOVED***
- { role: os-java-1.7.0 ***REMOVED***

View File

@ -0,0 +1,31 @@
---
- name: remove previous installer (if any)
file:
path: /home/dpm/algorithmInstaller
state: absent
#- name: remove previous installer.zip (if any)
# file:
# path: /home/dpm/algorithmInstaller.zip
# state: absent
#- name: download the installer zip
# get_url:
# url: https:***REMOVED***svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/DataminerAlgorithmsInstaller/package/algorithmInstaller.zip
# dest: /home/dpm/algorithmInstaller.zip
# validate_certs: no
- name: download and unzip the package
unarchive:
src: https:***REMOVED***svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/DataminerAlgorithmsInstaller/package/algorithmInstaller.zip
dest: /home/dpm
remote_src: yes
validate_certs: no
- name: change flags
file:
path: /home/dpm/algorithmInstaller
mode: 0777
state: directory
recurse: yes

View File

@ -0,0 +1,2 @@
dependencies:
- { role: gcube-ghn ***REMOVED***

View File

@ -0,0 +1,4 @@
---
- name: Install the 'DATAMINER' package
shell: echo 'installing DATAMINER'

View File

@ -0,0 +1,7 @@
---
- name: Install the 'GHN' package
shell: echo 'installing GHN'
# TODO: handler to start container
# TODO: handler to stop container

View File

@ -0,0 +1,7 @@
---
- name: adding OS Package java-1.7.0
package:
name: java-1.7.0-openjdk
state: "{{os_package_state***REMOVED******REMOVED***"
become: true

View File

@ -0,0 +1,4 @@
---
- name: install R stuff
shell: echo install R stuff

View File

@ -0,0 +1,7 @@
---
- name: adding OS Package unzip
package:
name: unzip
state: "{{os_package_state***REMOVED******REMOVED***"
become: true

View File

@ -0,0 +1,2 @@
dependencies:
- { role: os-r ***REMOVED***

View File

@ -0,0 +1,4 @@
---
- name: adding CRAN Package <name>
shell: echo "adding CRAN Package <name>"

View File

@ -0,0 +1,4 @@
---
dependencies:
<dependencies>
- { role: gcube-algorithm-installer ***REMOVED***

View File

@ -0,0 +1,4 @@
---
- name: Install algorithm <name>
shell: ./addAlgorithm.sh <name> <category> <class> <vre> <atype> <skipjava> <packageurl> "<description>"

View File

@ -0,0 +1,8 @@
---
- name: adding OS Package <name>
package:
name: <name>
state: "{{os_package_state***REMOVED******REMOVED***"
become: true