This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"Tue Feb 27 02:39:35", | |
"Sun Feb 25 04:06:58", | |
"Mon Feb 26 01:03:08" | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rundeck-config.properties: | |
rdeck.base=$RDECK_BASE | |
# | |
# | |
grails.serverURL=$SERVER_URL | |
# | |
# default log level for jobs. Choose from: ERROR,WARN,INFO,VERBOSE,DEBUG | |
loglevel.default=INFO | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Wrapper for modules sharing same prefix | |
: ${RERUN:=$(which rerun)} | |
: ${RERUN_MODULE_PREFIX:=rundeck-} | |
if (( $# == 1 )) | |
then | |
exec command $RERUN ${RERUN_MODULE_PREFIX}${1} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RDECK_BASE=@RDECK_BASE@ | |
export RDECK_BASE | |
TOOLSDIR=$RDECK_BASE/tools | |
PATH=$TOOLSDIR/bin:$PATH | |
export PATH | |
if test -t 0 -a -z "$RUNDECK_CLI_TERSE" | |
then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.dtolabs.rundeck.plugins.notification.NotificationPlugin; | |
import groovy.text.SimpleTemplateEngine | |
/** | |
* This plugin executes a curl command with some arguments as defined | |
* by the user in the GUI. It wraps an invocation like shown below | |
* | |
* curl --user <your_jenkins_username>:<your_jenkins_API_key> http://<jenkins_job_url> | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Homestar.local: | |
description: The production redis server. | |
hostname: Homestar.local | |
nodename: Homestar.local | |
tags: 'redis_server,production' | |
username: greg | |
- bartholemew: | |
description: Webapp node | |
hostname: bartholemew | |
nodename: bartholemew |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: 'Acess for dev in guitars-production.' | |
context: | |
project: 'guitars-production' | |
for: | |
resource: | |
- allow: read | |
job: | |
- equals: | |
group: 'web' | |
name: 'Status' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: 'Given user in group "releng" and for job matches "release/.*", then allow action [read,run].' | |
context: | |
project: '(guitars-stage|guitars-production)' | |
for: | |
resource: | |
- allow: read | |
job: | |
- match: | |
group: 'release' | |
name: '.*' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: 'Given user in group "ops" and for adhoc commands and jobs matching "web/.*", then allow action [read,run] on nodes tagged 'www'. | |
context: | |
project: 'guitars-production' | |
for: | |
resource: | |
- allow: read | |
job: | |
- match: | |
group: 'web' | |
name: '.*' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name waitfor | |
description "waits for stuff" | |
requires othermodule | |
externals a b c | |
version 1.0.0 | |
command:ping() { |
NewerOlder