This is an automated email from the ASF dual-hosted git repository.

smarru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-sandbox.git

commit feefae921c17a1c5b9ab68c015a421e95ce5ca9d
Author: Saurabh Agrawal <[email protected]>
AuthorDate: Sat Dec 16 00:56:16 2017 -0500

    CWL related files
---
 cwl-workflows/arguments.yml     |  3 +++
 cwl-workflows/script_runner.cwl | 15 +++++++++++++++
 cwl-workflows/workflow-tool.cwl | 25 +++++++++++++++++++++++++
 3 files changed, 43 insertions(+)

diff --git a/cwl-workflows/arguments.yml b/cwl-workflows/arguments.yml
new file mode 100644
index 0000000..6074f6d
--- /dev/null
+++ b/cwl-workflows/arguments.yml
@@ -0,0 +1,3 @@
+test_file: test.py
+arg_file1: airavata-client1.ini
+arg_file2: airavata-client2.ini
\ No newline at end of file
diff --git a/cwl-workflows/script_runner.cwl b/cwl-workflows/script_runner.cwl
new file mode 100644
index 0000000..1081a0f
--- /dev/null
+++ b/cwl-workflows/script_runner.cwl
@@ -0,0 +1,15 @@
+#!/usr/bin/env cwl-runner
+
+cwlVersion: v1.0
+class: CommandLineTool
+baseCommand: python3.6
+inputs:
+  test_script:
+    type: string
+    inputBinding:
+      position: 1
+  arg_file:
+    type: string
+    inputBinding:
+      position: 2
+outputs: []
\ No newline at end of file
diff --git a/cwl-workflows/workflow-tool.cwl b/cwl-workflows/workflow-tool.cwl
new file mode 100644
index 0000000..b3f10f8
--- /dev/null
+++ b/cwl-workflows/workflow-tool.cwl
@@ -0,0 +1,25 @@
+#!/usr/bin/env cwl-runner
+
+cwlVersion: v1.0
+class: Workflow
+inputs:
+  test_file: string
+  arg_file1: string
+  arg_file2: string
+
+outputs: []
+
+steps:
+  job1:
+    run: script_runner.cwl
+    in:
+      test_script: test_file
+      arg_file: arg_file1
+    out: []
+
+  job2:
+    run: script_runner.cwl
+    in:
+      test_script: test_file
+      arg_file: arg_file2
+    out: []
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to