-
Notifications
You must be signed in to change notification settings - Fork 14
/
status_postgres_workflow.cwl
66 lines (60 loc) · 1.23 KB
/
status_postgres_workflow.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
inputs:
- id: ini_section
type: string
- id: input_signpost_id
type: string
- id: postgres_creds_path
type: File
- id: repo
type: string
- id: repo_hash
type: string
- id: s3_url
type: ["null", string]
- id: status
type: string
- id: table_name
type: string
- id: uuid
type: string
outputs:
- id: token
type: File
outputSource: sqlite_to_postgres/log
steps:
- id: queue_status
run: ../../tools/queue_status.cwl
in:
- id: input_signpost_id
source: input_signpost_id
- id: repo
source: repo
- id: repo_hash
source: repo_hash
- id: s3_url
source: s3_url
- id: status
source: status
- id: table_name
source: table_name
- id: uuid
source: uuid
out:
- id: log
- id: sqlite
- id: sqlite_to_postgres
run: ../../tools/sqlite_to_postgres_hirate.cwl
in:
- id: ini_section
source: ini_section
- id: postgres_creds_path
source: postgres_creds_path
- id: source_sqlite_path
source: queue_status/sqlite
- id: uuid
source: uuid
out:
- id: log