-
Notifications
You must be signed in to change notification settings - Fork 42
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 #63 from fission/0.1.1
0.1.1
- Loading branch information
Showing
41 changed files
with
634 additions
and
203 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
apiVersion: v1 | ||
name: fission-workflows | ||
version: 0.1.0 | ||
version: 0.1.1 | ||
appVersion: 0.1.1 | ||
description: Fission Workflows is a fast workflow engine for serverless functions on Kubernetes | ||
keywords: | ||
- fission | ||
|
@@ -17,4 +18,3 @@ maintainers: | |
- name: Soam Vasani | ||
email: [email protected] | ||
engine: gotpl | ||
appVersion: 0.1.0 |
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,4 +1,4 @@ | ||
#dependencies: | ||
# - name: fission-all | ||
# version: ^0.3.0-rc | ||
# version: ^0.3.0 | ||
# repository: https://fission.github.io/fission-charts/ |
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
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,26 @@ | ||
# Fission Workflows CLI (wfcli) | ||
|
||
This provides a CLI for Fission Workflows, providing additional functionality for workflows over the regular functions | ||
available in the Fission CLI. | ||
|
||
_Note: this is an experimental CLI -- in the near future wfcli will be merged into the Fission CLI._ | ||
|
||
## Installation | ||
```bash | ||
go install | ||
``` | ||
|
||
## Usage | ||
```bash | ||
wfcli status # View whether the Fission Workflows deployment can be reached. | ||
|
||
wfcli workflow get # List all workflows in the workflow engine. | ||
|
||
wfcli workflow get <id> # Get the definition of a specifc workflow | ||
|
||
wfcli invocation get # List all invocations so-far (both in-progress and finished) | ||
|
||
wfcli invocation get <id> # Get all info of a specific invocation | ||
|
||
wfcli invocation status <id> # Get a concise overview of the progress of an invocation | ||
``` |
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,134 @@ | ||
{ | ||
"tasks": { | ||
"A": { | ||
"id": "A", | ||
"functionRef": "sleep", | ||
"inputs": { | ||
"default": { | ||
"type": "json/string", | ||
"value": "IjEwcyI=" | ||
} | ||
}, | ||
"requires": { | ||
} | ||
}, | ||
"B": { | ||
"id": "B", | ||
"functionRef": "sleep", | ||
"inputs": { | ||
"default": { | ||
"type": "json/string", | ||
"value": "IjVzIg==" | ||
} | ||
}, | ||
"requires": { | ||
"A": { | ||
|
||
} | ||
}, | ||
"await": 1 | ||
}, | ||
"C": { | ||
"id": "C", | ||
"functionRef": "sleep", | ||
"inputs": { | ||
"default": { | ||
"type": "json/string", | ||
"value": "IjVzIg==" | ||
} | ||
}, | ||
"requires": { | ||
"B": { | ||
|
||
} | ||
}, | ||
"await": 1 | ||
}, | ||
"D1": { | ||
"id": "D1", | ||
"functionRef": "sleep", | ||
"inputs": { | ||
"default": { | ||
"type": "json/string", | ||
"value": "IjVzIg==" | ||
} | ||
}, | ||
"requires": { | ||
"C": { | ||
|
||
} | ||
}, | ||
"await": 1 | ||
}, | ||
"D2": { | ||
"id": "D2", | ||
"functionRef": "sleep", | ||
"inputs": { | ||
"default": { | ||
"type": "json/string", | ||
"value": "IjEwcyI=" | ||
} | ||
}, | ||
"requires": { | ||
"C": { | ||
|
||
} | ||
}, | ||
"await": 1 | ||
}, | ||
"D3": { | ||
"id": "D3", | ||
"functionRef": "sleep", | ||
"inputs": { | ||
"default": { | ||
"type": "json/string", | ||
"value": "IjIwcyI=" | ||
} | ||
}, | ||
"requires": { | ||
"C": { | ||
|
||
} | ||
}, | ||
"await": 1 | ||
}, | ||
"E": { | ||
"id": "E", | ||
"functionRef": "sleep", | ||
"inputs": { | ||
"default": { | ||
"type": "json/string", | ||
"value": "IjVzIg==" | ||
} | ||
}, | ||
"requires": { | ||
"D1": { | ||
|
||
}, | ||
"D2": { | ||
|
||
}, | ||
"D3": { | ||
|
||
} | ||
}, | ||
"await": 3 | ||
}, | ||
"F": { | ||
"id": "F", | ||
"functionRef": "sleep", | ||
"inputs": { | ||
"default": { | ||
"type": "json/string", | ||
"value": "IjVzIg==" | ||
} | ||
}, | ||
"requires": { | ||
"E": { | ||
|
||
} | ||
}, | ||
"await": 1 | ||
} | ||
} | ||
} |
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,46 @@ | ||
# | ||
# The purpose of this workflow is to show task dependencies in action | ||
# | ||
apiVersion: 1 | ||
# No output expected, so no need to add 'output' | ||
tasks: | ||
A: | ||
run: sleep | ||
inputs: 10s | ||
B: | ||
run: sleep | ||
inputs: 5s | ||
requires: | ||
- A | ||
C: | ||
run: sleep | ||
inputs: 5s | ||
requires: | ||
- B | ||
D1: | ||
run: sleep | ||
inputs: 5s | ||
requires: | ||
- C | ||
D2: | ||
run: sleep | ||
inputs: 10s | ||
requires: | ||
- C | ||
D3: | ||
run: sleep | ||
inputs: 20s | ||
requires: | ||
- C | ||
E: | ||
run: sleep | ||
inputs: 5s | ||
requires: | ||
- D1 | ||
- D2 | ||
- D3 | ||
F: | ||
run: sleep | ||
inputs: 5s | ||
requires: | ||
- E |
Oops, something went wrong.