From 01ca306dc4c227438b4cc1ed2ad5d2fba5e4a1d3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Jun 2017 21:20:46 +0300 Subject: Allow override dockerretry.sh in .gitlab-ci.yml --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74ba42ce4..ff8e62661 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,8 +13,8 @@ before_script: - ":; cat /proc/sys/kernel/core_pattern" - ":; mkdir logs || true" - ":; ${UPDATEREPOS}" - - ":; tools/ci/scripts/dockerretry.sh ${PMUPDATE} >logs/apt.log" - - ":; tools/ci/scripts/dockerretry.sh ${PMINSTALL} ${PACKAGES} >>logs/apt.log" + - ":; ${DOCKERRETRY} ${PMUPDATE} >logs/apt.log" + - ":; ${DOCKERRETRY} ${PMINSTALL} ${PACKAGES} >>logs/apt.log" image: debian:unstable variables: @@ -23,6 +23,7 @@ variables: UPDATEREPOS: "tools/ci/scripts/updaterepos.sh" PMUPDATE: "apt-get update" PMINSTALL: "apt-get install -y -qq" + DOCKERRETRY: "./tools/ci/scripts/dockerretry.sh" .job-push: &job-push artifacts: -- cgit v1.2.3-70-g09d2