Skip to content

Commit

Permalink
Merge pull request #151 from icgc-argo/RC/2.11.0
Browse files Browse the repository at this point in the history
Release 2.11.0
  • Loading branch information
lepsalex authored Jan 22, 2021
2 parents 31e7607 + 34c2a2a commit 2020576
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>org.icgc.argo</groupId>
<artifactId>workflow-management</artifactId>
<version>2.10.0</version>
<version>2.11.0</version>
<name>workflow-management</name>
<description>ARGO Workflow Management</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ private CmdKubeRun createCmd(@NonNull Launcher launcher, @NonNull RunParams para
// should pull latest code before running?
// does not prevent us running a specific version (revision),
// does enforce pulling of that branch/hash before running)
cmdParams.put("latest", workflowEngineParams.getLatest(), v -> parseBoolean((String) v));
cmdParams.put("latest", workflowEngineParams.getLatest());

// Process options (default docker container to run for process if not specified)
if (nonNull(workflowEngineParams.getDefaultContainer())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ public class RunsRequest {
private Map<String, Object> workflowParams = new HashMap<>();
private WorkflowEngineParams workflowEngineParams = new WorkflowEngineParams();

private Map<String, Object> workflowType;
private String[] workflowTypeVersion;
private String workflowType;
private String workflowTypeVersion;
private Map<String, Object> tags;

// we will not be accepting this (at least to start)
private String[] workflowAttachment;
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ public class WorkflowEngineParams {
private String launchDir;
private String projectDir;
private String workDir;
private String latest;
private Boolean latest;
}
7 changes: 3 additions & 4 deletions src/main/resources/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@ input WorkflowEngineParams {
launchDir: String
projectDir: String
workDir: String
latest: String
latest: Boolean
}

input RunsRequest {
workflowUrl: String!
workflowEngineParams: WorkflowEngineParams
workflowParams: JSON
workflowType: JSON
workflowTypeVersion: [String]
workflowType: String
workflowTypeVersion: String
tags: JSON
workflowAttachment: [String]
}


Expand Down

0 comments on commit 2020576

Please sign in to comment.