[PATCH v2 compass-ci] doc/job: add runtime.md

Add a document for introducing the runtime field. Signed-off-by: Zhang Yale <ylzhangah@qq.com> --- doc/job/runtime.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/job/runtime.md diff --git a/doc/job/runtime.md b/doc/job/runtime.md new file mode 100644 index 0000000..296fc6e --- /dev/null +++ b/doc/job/runtime.md @@ -0,0 +1,20 @@ +# runtime + +Meaning: +Limit run time to runtime seconds. + +Usage example: + +```#/bin/bash +# - runtime +``` + +`runtime` is a parameter of test script. For any test case +needing paramter(s), need such comment line and follow exactly +the same format `# - parameter`. + +job.yaml: + +``` +runtime: 300s +``` -- 2.23.0

On Wed, Nov 25, 2020 at 05:21:14PM +0800, Zhang Yale wrote:
Add a document for introducing the runtime field.
Signed-off-by: Zhang Yale <ylzhangah@qq.com> --- doc/job/runtime.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/job/runtime.md
diff --git a/doc/job/runtime.md b/doc/job/runtime.md new file mode 100644 index 0000000..296fc6e --- /dev/null +++ b/doc/job/runtime.md @@ -0,0 +1,20 @@ +# runtime + +Meaning: +Limit run time to runtime seconds.
Confused description. Does this value only use <s : second>?
+ +Usage example: + +```#/bin/bash
```shell
+# - runtime +``` + +`runtime` is a parameter of test script. For any test case +needing paramter(s), need such comment line and follow exactly
spell: parameter Thanks, RenWen
+the same format `# - parameter`. + +job.yaml: + +``` +runtime: 300s +``` -- 2.23.0

On Wed, Nov 25, 2020 at 05:42:35PM +0800, Ren Wen wrote:
On Wed, Nov 25, 2020 at 05:21:14PM +0800, Zhang Yale wrote:
Add a document for introducing the runtime field.
Signed-off-by: Zhang Yale <ylzhangah@qq.com> --- doc/job/runtime.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/job/runtime.md
diff --git a/doc/job/runtime.md b/doc/job/runtime.md new file mode 100644 index 0000000..296fc6e --- /dev/null +++ b/doc/job/runtime.md @@ -0,0 +1,20 @@ +# runtime + +Meaning: +Limit run time to runtime seconds.
Confused description.
Ok, I'll fix it.
Does this value only use <s : second>?
No, this value also can use <d: day>
+ +Usage example: + +```#/bin/bash
```shell
Ok, I got it
+# - runtime +``` + +`runtime` is a parameter of test script. For any test case +needing paramter(s), need such comment line and follow exactly
spell: parameter
Thanks, RenWen
Good, I'll recommit. Thanks, Yale
+the same format `# - parameter`. + +job.yaml: + +``` +runtime: 300s +``` -- 2.23.0
participants (2)
-
Ren Wen
-
Zhang Yale