Skip to content

Commit 54d43f9

Browse files
authored
Merge pull request #13 from rundeck-plugins/waitfor/new-worflowsteps
adding waitfor/local/ping and waitfpr/local/port-open
2 parents 8072f83 + f4a02eb commit 54d43f9

File tree

4 files changed

+67
-12
lines changed

4 files changed

+67
-12
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
}
99

1010
scmVersion {
11-
ignoreUncommittedChanges = true
11+
ignoreUncommittedChanges = false
1212
tag {
1313
prefix = 'v'
1414
versionSeparator = ''

file/plugin.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: nixy-file
2-
version: 1.0.0
32
rundeckPluginVersion: 1.2
4-
author: alexh
5-
date: Tue Nov 1 14:09:49 PDT 2016
3+
author: "@author@"
4+
date: "@date@"
5+
version: "@version@"
6+
url: "@url@"
67
providers:
78
- name: nixy-file-contains
89
service: RemoteScriptNodeStep

local-script/plugin.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: nixy-local-steps
2-
version: 1.0.0
32
rundeckPluginVersion: 1.2
4-
author: alexh
5-
date: Mon Apr 16 14:09:49 PDT 2018
3+
author: "@author@"
4+
date: "@date@"
5+
version: "@version@"
6+
url: "@url@"
67
providers:
78
- name: nixy-local-workflow-step
89
service: WorkflowStep
9-
title: 'Local Workflow Script'
1010
title: '*nixy / local-script'
1111
description: 'Run an inline script locally once for the workflow'
1212
plugin-type: script

waitfor/plugin.yaml

Lines changed: 58 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: waitfor
2-
version: 1.2.5
32
rundeckPluginVersion: 1.2
4-
author: alexh
5-
date: Wed Mar 16 14:09:49 PDT 2016
3+
author: "@author@"
4+
date: "@date@"
5+
version: "@version@"
6+
url: "@url@"
67
providers:
78
- name: nixy-waitfor-dir-exists
89
service: RemoteScriptNodeStep
@@ -290,4 +291,57 @@ providers:
290291
- type: Boolean
291292
name: progress
292293
title: Progress?
293-
description: "Show progress with dot characters."
294+
description: "Show progress with dot characters."
295+
- name: nixy-waitfor-local-ping
296+
service: WorkflowNodeStep
297+
title: '*nixy / waitfor / local / ping'
298+
description: 'wait for the host to be reachable, it runs on Rundeck Server'
299+
plugin-type: script
300+
script-interpreter: /usr/bin/env bash
301+
script-file: ping
302+
script-args: ${config.host} ${config.interval} ${config.maxtry}
303+
config:
304+
- type: String
305+
name: host
306+
title: host
307+
description: "the host to check"
308+
required: true
309+
- type: Integer
310+
name: interval
311+
title: interval
312+
description: "the wait interval in seconds"
313+
required: true
314+
- type: Integer
315+
name: maxtry
316+
title: maxtry
317+
description: "the maximum number of attempts to try"
318+
required: true
319+
- name: nixy-waitfor-local-port-open
320+
service: WorkflowNodeStep
321+
title: '*nixy / waitfor / local/ port-open'
322+
description: 'wait for the network service to be reachable, it runs on Rundeck Server'
323+
plugin-type: script
324+
script-interpreter: /usr/bin/env bash
325+
script-file: port-open
326+
script-args: ${config.host} ${config.port} ${config.interval} ${config.maxtry}
327+
config:
328+
- type: String
329+
name: host
330+
title: host
331+
description: "the host to check"
332+
required: true
333+
- type: String
334+
name: port
335+
title: port
336+
description: "the port to check"
337+
required: true
338+
- type: Integer
339+
name: interval
340+
title: interval
341+
description: "the wait interval in seconds"
342+
required: true
343+
- type: Integer
344+
name: maxtry
345+
title: maxtry
346+
description: "the maximum number of attempts to try"
347+
required: true

0 commit comments

Comments
 (0)