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 2784dd8fa3d07d9ec22520acc6cc5d3856977b44 Author: Michele Sciabarra <[email protected]> AuthorDate: Fri Jul 12 13:49:26 2024 +0200 0.1-dev.2407121346 --- Taskfile.yml | 4 ++-- kaniko-build.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 2884760..9cbd2a1 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -45,9 +45,9 @@ tasks: cmds: - test -n "$GITHUB_USER" || true "did you configure your .env?" - envsubst <kaniko-build.yaml >_kaniko-build.yaml - #- kubectl -n default delete pod/kaniko-build || true + - kubectl -n default delete job/kaniko-build || true - kubectl apply -f _kaniko-build.yaml - - kubectl wait --for=condition=ready pod/kaniko-build -n default --timeout=600s + - kubectl wait --for=condition=ready -l app=kaniko-build -n default --timeout=600s kaniko-logs: desc: show logs of the build diff --git a/kaniko-build.yaml b/kaniko-build.yaml index ddef505..4150614 100644 --- a/kaniko-build.yaml +++ b/kaniko-build.yaml @@ -9,6 +9,8 @@ spec: containers: - name: kaniko image: gcr.io/kaniko-project/executor:latest + label: + app: kaniko-build args: - --context=git://github.com/${GITHUB_USER}/openserverless-operator - --destination=docker-registry:5000/openserverless/operator:${TAG}
