Skip to content

Commit

Permalink
Merge pull request #13 from rundeck-plugins/waitfor/new-worflowsteps
Browse files Browse the repository at this point in the history
adding waitfor/local/ping and waitfpr/local/port-open
  • Loading branch information
ltamaster authored Nov 6, 2018
2 parents 8072f83 + f4a02eb commit 54d43f9
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

scmVersion {
ignoreUncommittedChanges = true
ignoreUncommittedChanges = false
tag {
prefix = 'v'
versionSeparator = ''
Expand Down
7 changes: 4 additions & 3 deletions file/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: nixy-file
version: 1.0.0
rundeckPluginVersion: 1.2
author: alexh
date: Tue Nov 1 14:09:49 PDT 2016
author: "@author@"
date: "@date@"
version: "@version@"
url: "@url@"
providers:
- name: nixy-file-contains
service: RemoteScriptNodeStep
Expand Down
8 changes: 4 additions & 4 deletions local-script/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: nixy-local-steps
version: 1.0.0
rundeckPluginVersion: 1.2
author: alexh
date: Mon Apr 16 14:09:49 PDT 2018
author: "@author@"
date: "@date@"
version: "@version@"
url: "@url@"
providers:
- name: nixy-local-workflow-step
service: WorkflowStep
title: 'Local Workflow Script'
title: '*nixy / local-script'
description: 'Run an inline script locally once for the workflow'
plugin-type: script
Expand Down
62 changes: 58 additions & 4 deletions waitfor/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: waitfor
version: 1.2.5
rundeckPluginVersion: 1.2
author: alexh
date: Wed Mar 16 14:09:49 PDT 2016
author: "@author@"
date: "@date@"
version: "@version@"
url: "@url@"
providers:
- name: nixy-waitfor-dir-exists
service: RemoteScriptNodeStep
Expand Down Expand Up @@ -290,4 +291,57 @@ providers:
- type: Boolean
name: progress
title: Progress?
description: "Show progress with dot characters."
description: "Show progress with dot characters."
- name: nixy-waitfor-local-ping
service: WorkflowNodeStep
title: '*nixy / waitfor / local / ping'
description: 'wait for the host to be reachable, it runs on Rundeck Server'
plugin-type: script
script-interpreter: /usr/bin/env bash
script-file: ping
script-args: ${config.host} ${config.interval} ${config.maxtry}
config:
- type: String
name: host
title: host
description: "the host to check"
required: true
- type: Integer
name: interval
title: interval
description: "the wait interval in seconds"
required: true
- type: Integer
name: maxtry
title: maxtry
description: "the maximum number of attempts to try"
required: true
- name: nixy-waitfor-local-port-open
service: WorkflowNodeStep
title: '*nixy / waitfor / local/ port-open'
description: 'wait for the network service to be reachable, it runs on Rundeck Server'
plugin-type: script
script-interpreter: /usr/bin/env bash
script-file: port-open
script-args: ${config.host} ${config.port} ${config.interval} ${config.maxtry}
config:
- type: String
name: host
title: host
description: "the host to check"
required: true
- type: String
name: port
title: port
description: "the port to check"
required: true
- type: Integer
name: interval
title: interval
description: "the wait interval in seconds"
required: true
- type: Integer
name: maxtry
title: maxtry
description: "the maximum number of attempts to try"
required: true

0 comments on commit 54d43f9

Please sign in to comment.