From 61f10e01c756377cf4920cdeb40442d32b5673f8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 Jun 2018 02:32:26 +0300 Subject: Move header from branched .gitlab-ci.yml into separate file. --- tools/ci/branches/.gitlab-ci_header.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tools/ci/branches/.gitlab-ci_header.yml (limited to 'tools/ci/branches/.gitlab-ci_header.yml') diff --git a/tools/ci/branches/.gitlab-ci_header.yml b/tools/ci/branches/.gitlab-ci_header.yml new file mode 100644 index 000000000..faeae1416 --- /dev/null +++ b/tools/ci/branches/.gitlab-ci_header.yml @@ -0,0 +1,26 @@ +stages: + - build + +# with :; prevent from run it on windows +before_script: + - ":; uname -a" + - ":; cat /etc/os-release" + - ":; pwd" + - ":; cat /proc/sys/kernel/core_pattern" + - ":; mkdir logs || true" + - ":; ${UPDATEREPOS}" + - ":; ${DOCKERRETRY} ${PMUPDATE} >logs/apt.log" + - ":; ${DOCKERRETRY} ${PMINSTALL} ${PACKAGES} >>logs/apt.log" + - ":; ./tools/ci/scripts/clonesrc.sh" + - ":; cd manaplus" + +image: debian:unstable + +variables: + GET_SOURCES_ATTEMPTS: "5" + ARTIFACT_DOWNLOAD_ATTEMPTS: "5" + UPDATEREPOS: "tools/ci/scripts/updaterepos.sh" + PMUPDATE: "apt-get update" + PMINSTALL: "apt-get install -y -qq" + DOCKERRETRY: "./tools/ci/scripts/dockerretry.sh" + GIT_DEPTH: "1" -- cgit v1.2.3-70-g09d2