This is an automated email from the ASF dual-hosted git repository.
msciabarra pushed a commit to branch ops-and-uv
in repository https://gitbox.apache.org/repos/asf/openserverless-task.git
The following commit(s) were added to refs/heads/ops-and-uv by this push:
new 03ff634 support for ops setup kubernetes configure
03ff634 is described below
commit 03ff634ab2b9a709c1b305c04bb302f3e7e7e512
Author: Michele Sciabarra <[email protected]>
AuthorDate: Tue Aug 19 12:39:04 2025 +0200
support for ops setup kubernetes configure
---
setup/kubernetes/opsfile.yml | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/setup/kubernetes/opsfile.yml b/setup/kubernetes/opsfile.yml
index b894aa4..6b536e3 100644
--- a/setup/kubernetes/opsfile.yml
+++ b/setup/kubernetes/opsfile.yml
@@ -156,7 +156,7 @@ tasks:
$RES
wait-pod:
- desc: wait for a pod to be available - leave the result in FILE
+ #desc: wait for a pod to be available - leave the result in FILE
silent: true
status:
- test "{{.COND}}" != "true"
@@ -274,7 +274,7 @@ tasks:
wait-openwhisk:
silent: true
- desc: wait for openwhisk start
+ #desc: wait for openwhisk start
status:
- config SKIP_OPERATOR_LAUNCH
cmds:
@@ -291,7 +291,7 @@ tasks:
wait-services:
silent: true
- desc: wait for active services
+ #desc: wait for active services
status:
- config SKIP_OPERATOR_LAUNCH
cmds:
@@ -336,10 +336,9 @@ tasks:
COND:
sh: echo "$OPERATOR_COMPONENT_MILVUS"
-
create:
silent: true
- desc: create cluster
+ desc: create cluster (=permission+deploy)
cmds:
- task: permission
- task: deploy
@@ -351,6 +350,14 @@ tasks:
- task: context
- task: prepare
+ configure:
+ silent: true
+ desc: configure the environment (=create without launching the operator)
+ cmds:
+ - config SKIP_OPERATOR_LAUNCH=1
+ - task: create
+ - config -r SKIP_OPERATOR_LAUNCH
+
deploy:
silent: true
desc: deploy in namespace (use namespace admin)
@@ -362,10 +369,6 @@ tasks:
- task: instance
- task: wait-openwhisk
- task: wait-services
- - |
- if config SKIP_OPERATOR_LAUNCH 2>/dev/null
- then echo -e "***\n*** Warning: skipping operator launch\n***
re-enable it with ops -config -r SKIP_OPERATOR_LAUNCH\n***"
- fi
delete:
silent: true