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-operator.git

commit f1e1f79b3fac2b4c90f762b6700751dac85142eb
Author: Michele Sciabarra <[email protected]>
AuthorDate: Fri Jul 12 11:05:56 2024 +0200

    0.1-dev.2407121101
---
 Taskfile.yml | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/Taskfile.yml b/Taskfile.yml
index 477f2ed..37ad32b 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -28,11 +28,14 @@ tasks:
     - kubectl -n default get po -l app=docker-registry
 
   tag-commit-push:
-  - task: tag
-  - git commit -m "{{.TAG}}" -a
-  - git push
+    desc: tag, commit and push to your default upstream repo (see README.md)
+    cmds:
+    - task: tag
+    - git commit -m "{{.TAG}}" -a
+    - git push
 
   kaniko-build:
+    desc: build in current kubernetes with Kaniko
     env:
       TAG: "{{.TAG}}"
     cmds:
@@ -40,9 +43,17 @@ tasks:
     - envsubst  <kaniko-build.yaml >_kaniko-build.yaml
     - kubectl -n default delete pod/kaniko-build || true
     - kubectl apply -f _kaniko-build.yaml
+    - kubectl wait --for=condition=ready pod/kaniko-build -n default 
--timeout=600s
+
+  kaniko-logs:
+    desc: show logs of the build
+    cmds:
+    - kubectl -n default logs kaniko-build -f
 
   build:
+    desc: build the operator image
+    cmds: 
     - task: install-registry
     - task: tag-commit-push
     - task: kaniko-build
-    - kubectl -n default logs kaniko-build -f
\ No newline at end of file
+    - task: kaniko-logs

Reply via email to