-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathdeploy.sh
More file actions
23 lines (20 loc) · 1.26 KB
/
deploy.sh
File metadata and controls
23 lines (20 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# deploy.sh - deploys all functions and workflows in this directory
set -x
# Deploy functions
fission env create --name binary --image fission/binary-env
fission fn create --name whalesay --env binary --deploy ./whalesay.sh
fission fn create --name fortune --env binary --deploy ./fortune.sh
# Deploy workflows
fission fn create --name fortunewhale --env workflow --src ./fortunewhale.wf.yaml
fission fn create --name echowhale --env workflow --src ./echowhale.wf.yaml
fission fn create --name maybewhale --env workflow --src ./maybewhale.wf.yaml
fission fn create --name nestedwhale --env workflow --src ./nestedwhale.wf.yaml
fission fn create --name metadatawhale --env workflow --src ./metadatawhale.wf.yaml
fission fn create --name scopedwhale --env workflow --src ./scopedwhale.wf.yaml
fission fn create --name failwhale --env workflow --src ./failwhale.wf.yaml
fission fn create --name httpwhale --env workflow --src ./httpwhale.wf.yaml
fission fn create --name switchwhale --env workflow --src ./switchwhale.wf.yaml
fission fn create --name whilewhale --env workflow --src ./whilewhale.wf.yaml
fission fn create --name foreachwhale --env workflow --src ./foreachwhale.wf.yaml
fission fn create --name respheaderswhale --env workflow --src ./respheaderswhale.wf.yaml