Project

General

Profile

Actions

Task #5584

closed

Please upgrade resource-registry

Added by Luca Frosini over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Category:
Application
Target version:
Start date:
Oct 27, 2016
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Development

Description

The new version is:
resource-registry-1.2.0-20161027.082258-5.war

I already upgraded the version on ansible script ( library/roles/smartgears/resource_registry/defaults/main.yml ) and then I tried to install it.

Unfortunately something is not working properly:
On the target host ( resourceregistry1-d-d4s ) the war is present on home folder but the service which is still deployed is an old version:

cat tomcat/webapps/resource-registry/META-INF/maven/org.gcube.information-system/resource-registry/pom.properties 
#Generated by Apache Maven
#Thu Sep 29 17:13:31 CEST 2016
version=1.1.0-SNAPSHOT
groupId=org.gcube.information-system
artifactId=resource-registry
Actions #1

Updated by Luca Frosini over 8 years ago

  • Description updated (diff)
Actions #2

Updated by Luca Frosini over 8 years ago

  • Description updated (diff)
Actions #3

Updated by Andrea Dell'Amico over 8 years ago

  • Status changed from In Progress to Feedback

When upgrading you need to pass an additional variable to the play, so that the old webapp will be removed:

-e 'resource_registry_upgrade=True'

You also need to specify your token, as requested by smartgears 2:

-e 'gcube_admin_token=<TOKEN>'
Actions #4

Updated by Luca Frosini over 8 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 30 to 100

Thanks for yr support

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)