From 8f76482c997f8ab855e43e93a24f87b782706a60 Mon Sep 17 00:00:00 2001 From: "gioacchino.vino" <gioacchino.vino@infn.it> Date: Fri, 22 Sep 2023 13:25:50 +0200 Subject: [PATCH] Increase deployment waiting time --- .gitlab-ci.yml | 1 + tasks/1-create-deployment.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad068be..1247a6f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,7 @@ docker-build: tag=":$CI_COMMIT_REF_SLUG" echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag" fi + - echo "$REGISTRY_IMAGE${tag}" - docker build --pull -t "$REGISTRY_IMAGE${tag}" $DOCKERFILES_DIR - docker push "$REGISTRY_IMAGE${tag}" # Run this job in a branch where a Dockerfile exists diff --git a/tasks/1-create-deployment.yml b/tasks/1-create-deployment.yml index 2c361e2..f91f12e 100644 --- a/tasks/1-create-deployment.yml +++ b/tasks/1-create-deployment.yml @@ -42,7 +42,7 @@ command: orchent depshow --ojson "{{ deployment.uuid }}" register: depshow_output until: "'PROGRESS' not in depshow_output.stdout" - retries: 10 + retries: 15 delay: 300 failed_when: "'error' in depshow_output.stdout" -- GitLab