add new dataminer ghost instance in preproduction environment

update dm-pool-manager service configuration and version
This commit is contained in:
Roberto Cirillo 2017-10-11 09:24:21 +02:00
parent 188a41e5f2
commit f1fa0bc1be
3 changed files with 14 additions and 3 deletions

View File

@ -47,6 +47,10 @@
file: path={{ smartgears_user_home }}/wps_algorithms/algorithms state=directory
tags: [ 'tomcat', 'dataminer', 'wps', 'dataminer_algorithms', 'dataminer_algorithms_svn' ]
- name: Install the subversion packages
become_user: root
apt: pkg=subversion state=present update_cache=yes cache_valid_time=1800 force=yes
- name: Download the WPS algorithms from subversion
subversion: repo={{ dataminer_wps_algorithms_svn }} dest={{ smartgears_user_home }}/wps_algorithms/algorithms/{{ dataminer_infra_reference }} checkout=yes force=yes update=yes
tags: [ 'tomcat', 'dataminer', 'wps', 'dataminer_algorithms', 'dataminer_algorithms_svn' ]

View File

@ -1,7 +1,7 @@
---
dm_pool_manager_install: False
dm_pool_manager_upgrade: False
dm_pool_manager_version: 2.1.0-4.7.0-154856
dm_pool_manager_version: 2.1.0-4.7.0-155090
dm_pool_manager_name: dataminer-pool-manager
dm_pool_manager_group_id: org.gcube.dataAnalysis
@ -9,6 +9,8 @@ dm_pool_manager_extension: war
dm_pool_manager_file: '{{ dm_pool_manager_name }}-{{ dm_pool_manager_version }}.{{ dm_pool_manager_extension }}'
dm_pool_prod_ghost_instance: 'dataminer-proto-ghost.d4science.org'
dm_pool_proto_ghost_instance: 'dataminer-proto-ghost.d4science.org'
dm_pool_preprod_ghost_instance: 'dataminer-ghost-t.pre.d4science.org'
dm_pool_dev_ghost_instance: 'dataminer-ghost-d.dev.d4science.org'
dm_pool_manager_pkgs:
- subversion
@ -18,5 +20,6 @@ svn_user: svn.d4science
svn_pass: "{{ vault_svn_pass }}"
prod_instance: False
proto_instance: False
preprod_instance: False

View File

@ -7,6 +7,10 @@ svn.algo.main.repo = /trunk/data-analysis/DataMinerConfiguration/algorithms
#STAGE
{% if prod_instance %}
STAGE_GHOST={{ dm_pool_prod_ghost_instance }}
{% elif proto_instance %}
STAGE_GHOST={{ dm_pool_proto_ghost_instance }}
{% elif preprod_instance %}
STAGE_GHOST={{ dm_pool_preprod_ghost_instance }}
{% else %}
STAGE_GHOST={{ dm_pool_dev_ghost_instance }}
{% endif %}
@ -15,8 +19,8 @@ svn.stage.software.repo = /trunk/data-analysis/DataMinerConfiguration/algorithms
svn.algo.ghost.repo = /home/gcube/wps_algorithms/algorithms/dev/software
svn.stage.deps-linux-compiled = /trunk/data-analysis/RConfiguration/RPackagesManagement/r_deb_pkgs.txt
svn.stage.deps-pre-installed = /trunk/data-analysis/RConfiguration/RPackagesManagement/r_deb_pkgs.txt
svn.stage.deps-r-blackbox = /trunk/data-analysis/RConfiguration/RPackagesManagement/r_cran_pkgs.txt
svn.stage.deps-r = /trunk/data-analysis/RConfiguration/RPackagesManagement/r_cran_pkgs.txt
svn.stage.deps-r-blackbox = /trunk/data-analysis/RConfiguration/RPackagesManagement/r_deb_pkgs.txt, /trunk/data-analysis/RConfiguration/RPackagesManagement/r_cran_pkgs.txt, /trunk/data-analysis/RConfiguration/RPackagesManagement/r_github_pkgs.txt
svn.stage.deps-r = /trunk/data-analysis/RConfiguration/RPackagesManagement/r_deb_pkgs.txt, /trunk/data-analysis/RConfiguration/RPackagesManagement/r_cran_pkgs.txt, /trunk/data-analysis/RConfiguration/RPackagesManagement/r_github_pkgs.txt
svn.stage.deps-java =
svn.stage.deps-knime-workflow =
svn.stage.deps-octave =