summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-24 21:20:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-24 21:20:46 +0300
commit01ca306dc4c227438b4cc1ed2ad5d2fba5e4a1d3 (patch)
tree4183da32e435803ce2c48f6ed27c4b8fd5288360
parent44fd7ef17fe845c56e6f3814fff77b67c69bbb99 (diff)
downloadplus-01ca306dc4c227438b4cc1ed2ad5d2fba5e4a1d3.tar.gz
plus-01ca306dc4c227438b4cc1ed2ad5d2fba5e4a1d3.tar.bz2
plus-01ca306dc4c227438b4cc1ed2ad5d2fba5e4a1d3.tar.xz
plus-01ca306dc4c227438b4cc1ed2ad5d2fba5e4a1d3.zip
Allow override dockerretry.sh in .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
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: