Sign in
apache
/
openwhisk-composer-python
/
4968f35a593a05eb1430596ac25a96472a29a3cf
/
.
/
action
/
test.sh
blob: 5a9fa3dee99f2ffab43886be35d35f49ef9b42ac [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
bx wsk action invoke pycompose
-
p source
"composer.sequence('echo', 'echo')"
-
p lower
0.4
.
0
-
br
|
jq
--
raw
-
output
.
type
|
grep
-
q
'^sequence$'
if
[
$
?
==
0
];
then
echo
"ok"
exit
0
else
echo
"fail"
exit
1
fi