From a7cb6213fbe24ab1ab7659754b0872dd3c310c99 Mon Sep 17 00:00:00 2001 From: Milos Date: Wed, 9 Dec 2020 14:32:39 +0000 Subject: [PATCH] Update .digital-ocean-deploy.yml --- .digital-ocean-deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.digital-ocean-deploy.yml b/.digital-ocean-deploy.yml index 3e3cc76..dda18ee 100644 --- a/.digital-ocean-deploy.yml +++ b/.digital-ocean-deploy.yml @@ -4,3 +4,6 @@ - cd k8s/$APP/overlays/$OVERLAY/ - kustomize edit set image $CI_REGISTRY_IMAGE=$NEW_IMAGE - kustomize build . | kubectl --insecure-skip-tls-verify --kubeconfig="/dev/null" --server=$KUBERNETES_SERVER --token=$KUBERNETES_TOKEN apply -f - + retry: + max: 2 + when: runner_system_failure -- GitLab