File tree Expand file tree Collapse file tree 2 files changed +27
-5
lines changed Expand file tree Collapse file tree 2 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ providers:
7
7
- name : nixy-local-workflow-step
8
8
service : WorkflowStep
9
9
title : ' Local Workflow Script'
10
- title : ' *nixy / local-script / workflow '
10
+ title : ' *nixy / local-script'
11
11
description : ' Run an inline script locally once for the workflow'
12
12
plugin-type : script
13
13
script-interpreter : /usr/bin/env bash
@@ -29,7 +29,7 @@ providers:
29
29
required : false
30
30
- name : nixy-local-node-step
31
31
service : WorkflowNodeStep
32
- title : ' *nixy / local-script / node '
32
+ title : ' *nixy / local-script'
33
33
description : ' Run an inline script locally for each node'
34
34
plugin-type : script
35
35
script-interpreter : /usr/bin/env bash
Original file line number Diff line number Diff line change @@ -225,10 +225,10 @@ providers:
225
225
title : maxtry
226
226
description : " the maximum number of attempts to try"
227
227
required : true
228
- - name : nixy-waitfor-sleep
229
- service : RemoteScriptNodeStep
228
+ - name : nixy-waitfor-sleep-workflow-step
229
+ service : WorkflowStep
230
230
title : ' *nixy / waitfor / sleep'
231
- description : ' wait for sleep to elapse'
231
+ description : ' wait for sleep to elapse, it will run locally once for the workflow '
232
232
plugin-type : script
233
233
script-interpreter : /usr/bin/env bash
234
234
script-file : sleep
@@ -247,3 +247,25 @@ providers:
247
247
name : progress
248
248
title : Progress?
249
249
description : " Show progress with dot characters."
250
+ - name : nixy-waitfor-sleep-workflow-node-step
251
+ service : WorkflowNodeStep
252
+ title : ' *nixy / waitfor / sleep'
253
+ description : ' wait for sleep to elapse, it will run locally once for each node'
254
+ plugin-type : script
255
+ script-interpreter : /usr/bin/env bash
256
+ script-file : sleep
257
+ script-args : ${config.interval} ${config.cycles} ${config.progress}
258
+ config :
259
+ - type : String
260
+ name : interval
261
+ title : Interval
262
+ description : " the wait interval in seconds, minutes or hours. eg: 1s, 1m, 1h"
263
+ required : true
264
+ - type : String
265
+ name : cycles
266
+ title : Cycles
267
+ description : " the number of sleep cycles"
268
+ - type : Boolean
269
+ name : progress
270
+ title : Progress?
271
+ description : " Show progress with dot characters."
You can’t perform that action at this time.
0 commit comments