Skip to content

Commit 5a0f8cc

Browse files
author
Kaushik Ghose
committed
Move TimelLimit doc to Process
Add changelog to Process
1 parent f74eb6d commit 5a0f8cc

File tree

2 files changed

+30
-24
lines changed

2 files changed

+30
-24
lines changed

CommandLineTool.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,29 +1095,6 @@ $graph:
10951095
doc: Maximum reserved filesystem based storage for the designated output directory, in mebibytes (2**20)
10961096

10971097

1098-
- type: record
1099-
name: TimeLimit
1100-
extends: ProcessRequirement
1101-
doc: |
1102-
Set an upper limit on the execution time of a process
1103-
(e.g. a CommandLineTool or a Workflow). A process whose
1104-
execution duration exceeds the time limit may be
1105-
preemptively terminated and considered failed. May also be
1106-
used by batch systems to make scheduling decisions.
1107-
fields:
1108-
- name: class
1109-
type: string
1110-
doc: "Always 'TimeLimit'"
1111-
jsonldPredicate:
1112-
"_id": "@type"
1113-
"_type": "@vocab"
1114-
- name: timelimit
1115-
type: [long, string, Expression]
1116-
doc: |
1117-
The time limit, in seconds. A time limit of zero means no
1118-
time limit. Negative time limits are an error.
1119-
1120-
11211098
- type: record
11221099
name: WorkReuse
11231100
extends: ProcessRequirement

Process.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ $graph:
99

1010
- name: "Common Workflow Language, v1.1.0-dev1"
1111
type: documentation
12-
doc: {$include: concepts.md}
12+
doc:
13+
- |
14+
## Changelog
15+
16+
* [Added](#TimeLimit) `TimeLimit` feature, allowing to set an upper
17+
limit on the execution time of a process.
18+
19+
- {$include: concepts.md}
1320

1421
- $import: "salad/schema_salad/metaschema/metaschema_base.yml"
1522

@@ -954,3 +961,25 @@ $graph:
954961
loadListing:
955962
type: LoadListingEnum?
956963
jsonldPredicate: "cwl:loadListing"
964+
965+
966+
- type: record
967+
name: TimeLimit
968+
extends: ProcessRequirement
969+
doc: |
970+
Set an upper limit on the execution time of a process.
971+
A process whose execution duration exceeds the time limit may be
972+
preemptively terminated and considered failed. May also be
973+
used by batch systems to make scheduling decisions.
974+
fields:
975+
- name: class
976+
type: string
977+
doc: "Always 'TimeLimit'"
978+
jsonldPredicate:
979+
"_id": "@type"
980+
"_type": "@vocab"
981+
- name: timelimit
982+
type: [long, string, Expression]
983+
doc: |
984+
The time limit, in seconds. A time limit of zero means no
985+
time limit. Negative time limits are an error.

0 commit comments

Comments
 (0)