-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
40 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## 4.0.0 (2017-01-29) | ||
|
||
* [#28]https://github.com/maccyber/dockerhub-webhook/issues/28) | ||
Adds ability to run script with parameters | ||
([@maccyber) | ||
|
||
* [#28]https://github.com/maccyber/dockerhub-webhook/issues/28) | ||
Changed the use of name to repo_name. Now you have to define namespace and image name i scripts/index.js (e.g. maccyber/maccyber.io) | ||
([@maccyber) |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/bin/sh | ||
echo Running dummy script | ||
echo $1 | ||
echo $2 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict' | ||
|
||
module.exports = { | ||
'testhook': 'hello.sh parameter1 parameter2', // Name of reponame : Script | ||
'maccyber.io': 'maccyber.io.sh', | ||
'maccyber/testhook': 'hello.sh parameter1 parameter2', // namespace/repo_name : script <parameters> | ||
'maccyber/maccyber.io': 'maccyber.io.sh', | ||
'fail': 'fail.sh' | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
'use strict' | ||
|
||
const tap = require('tap') | ||
const pkg = require('../package.json') | ||
const dependencies = pkg.dependencies || {} | ||
|
||
Object.keys(dependencies).forEach((dependency) => { | ||
const module = require(dependency) | ||
tap.ok(module, `${dependency} loads ok`) | ||
}) |
This file contains 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