34 lines
925 B
Java
34 lines
925 B
Java
package org.gcube.dataanalysis.dataminer.poolmanager.service;
|
|
|
|
***REMOVED***
|
|
import org.gcube.dataanalysis.dataminer.poolmanager.datamodel.Cluster;
|
|
import org.gcube.dataanalysis.dataminer.poolmanager.util.SVNUpdater;
|
|
|
|
public class ProductionPublishingJob extends DMPMJob ***REMOVED***
|
|
|
|
private Algorithm algorithm;
|
|
private Cluster prodCluster;
|
|
|
|
public ProductionPublishingJob(SVNUpdater svnUpdater, Algorithm algorithm, Cluster prodCluster) ***REMOVED***
|
|
super(svnUpdater);
|
|
this.algorithm = algorithm;
|
|
this.prodCluster = prodCluster;
|
|
***REMOVED***
|
|
|
|
***REMOVED***
|
|
protected void execute() ***REMOVED***
|
|
try ***REMOVED***
|
|
this.updateSVNDependencies(this.algorithm, false);
|
|
|
|
int ret = this.executeAnsibleWorker(
|
|
createWorker(this.algorithm, this.prodCluster, false, "gcube"));
|
|
|
|
***REMOVED*** catch (Exception e) ***REMOVED***
|
|
e.printStackTrace();
|
|
***REMOVED***
|
|
***REMOVED***
|
|
|
|
|
|
|
|
***REMOVED***
|