diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-15 02:32:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-15 02:32:26 +0300 |
commit | 61f10e01c756377cf4920cdeb40442d32b5673f8 (patch) | |
tree | d29e8e99dfbfdbbf7507d2c200fff050c32147c4 /tools/ci/branches/.gitlab-ci_header.yml | |
parent | df242704f31e325448fb781b805b0193e0b5b0d8 (diff) | |
download | plus-61f10e01c756377cf4920cdeb40442d32b5673f8.tar.gz plus-61f10e01c756377cf4920cdeb40442d32b5673f8.tar.bz2 plus-61f10e01c756377cf4920cdeb40442d32b5673f8.tar.xz plus-61f10e01c756377cf4920cdeb40442d32b5673f8.zip |
Move header from branched .gitlab-ci.yml into separate file.
Diffstat (limited to 'tools/ci/branches/.gitlab-ci_header.yml')
-rw-r--r-- | tools/ci/branches/.gitlab-ci_header.yml | 26 |
1 files changed, 26 insertions, 0 deletions
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" |