This is an automated email from the ASF dual-hosted git repository.
msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-task.git
The following commit(s) were added to refs/heads/main by this push:
new b2214af no grep in windows
b2214af is described below
commit b2214af6655723719181b819d876064ccc89177e
Author: Michele Sciabarra <[email protected]>
AuthorDate: Thu Jun 26 14:37:29 2025 +0200
no grep in windows
---
setup/nuvolaris/streamer/opsfile.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/setup/nuvolaris/streamer/opsfile.yml
b/setup/nuvolaris/streamer/opsfile.yml
index aeed76a..87e8196 100644
--- a/setup/nuvolaris/streamer/opsfile.yml
+++ b/setup/nuvolaris/streamer/opsfile.yml
@@ -56,8 +56,7 @@ tasks:
desc: deploy the streamer
cmds:
- test -e ${INGRESS_TYPE}-template.yaml || die "No avalable template for
ingress type ${INGRESS_TYPE}."
- - env | grep IMAGES_STREAMER > /dev/null 2>&1 ||
- (echo "IMAGES_STREAMER is not set. Please set it to the desired image
version." && exit 1)
+ - test -n "$IMAGES_STREAMER" || die "IMAGES_STREAMER is not set. Please
set it to the desired image version."
- envsubst -i streamer-template.yaml -o _streamer.yaml > /dev/null 2>&1
- envsubst -i ${INGRESS_TYPE}-template.yaml -o _ingress.yaml > /dev/null
2>&1
- kubectl -n nuvolaris apply -f _streamer.yaml > /dev/null 2>&1