-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from TNG/add-example-manifests
chore: add example manifests
- Loading branch information
Showing
4 changed files
with
68 additions
and
0 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,19 @@ | ||
name: green-hosting-demo | ||
description: example manifest invoking green-hosting plugin | ||
tags: | ||
initialize: | ||
outputs: | ||
- yaml | ||
plugins: | ||
'green-hosting': | ||
method: GreenHosting | ||
path: '@tngtech/if-webpage-plugins' | ||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
compute: | ||
- green-hosting | ||
inputs: | ||
- url: www.thegreenwebfoundation.org | ||
- url: www.tngtech.com |
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,19 @@ | ||
name: exec-shell-command-demo | ||
description: example manifest invoking exec-shell-command | ||
tags: | ||
initialize: | ||
outputs: | ||
- yaml | ||
plugins: | ||
exec-command: | ||
method: ShellExecCommand | ||
path: '@tngtech/if-webpage-plugins' | ||
config: | ||
command: 'echo "Hello, World!"' | ||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
compute: | ||
- exec-command | ||
inputs: |
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,30 @@ | ||
name: timer-demo | ||
description: example manifest invoking timer plugins | ||
tags: | ||
initialize: | ||
outputs: | ||
- yaml | ||
plugins: | ||
timer-start: | ||
method: TimerStart | ||
path: '@tngtech/if-webpage-plugins' | ||
timer-stop: | ||
method: TimerStop | ||
path: '@tngtech/if-webpage-plugins' | ||
exec-command: | ||
method: ShellExecCommand | ||
path: '@tngtech/if-webpage-plugins' | ||
config: | ||
command: 'sleep 10' | ||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
compute: | ||
- timer-start | ||
- exec-command | ||
- timer-stop | ||
inputs: | ||
- timestamp: 2024-02-25T00:00 # some placeholder timestamp that will be substituted by timer-start | ||
duration: 1 # if reset = true this will be overwritten, otherwise it will be added to | ||
resets: [true] |
File renamed without changes.