summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/ci/branches/ci_site/.gitlab-ci.yml11
-rwxr-xr-xtools/ci/jobs/pages.sh3
2 files changed, 13 insertions, 1 deletions
diff --git a/tools/ci/branches/ci_site/.gitlab-ci.yml b/tools/ci/branches/ci_site/.gitlab-ci.yml
index b422f9587..fa4ca6523 100644
--- a/tools/ci/branches/ci_site/.gitlab-ci.yml
+++ b/tools/ci/branches/ci_site/.gitlab-ci.yml
@@ -2,6 +2,17 @@ stages:
- build
- stats
+# 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"
+
.job-push: &job-push
artifacts:
paths:
diff --git a/tools/ci/jobs/pages.sh b/tools/ci/jobs/pages.sh
index b710483b3..720a3f917 100755
--- a/tools/ci/jobs/pages.sh
+++ b/tools/ci/jobs/pages.sh
@@ -13,7 +13,8 @@ mkdir -p ../public/version
cp ./logs/gcc-?.* ../public/gcov || exit 1
cp ./logs/gcc-?_SDL2.* ../public/gcov || exit 1
-echo "Url: $CI_PROJECT_URL" >../public/version/commit.txt
+echo date >../public/version/commit.txt
+echo "Url: $CI_PROJECT_URL" >>../public/version/commit.txt
echo "Ref name: $CI_BUILD_REF_NAME" >>../public/version/commit.txt
echo "Ref: $CI_BUILD_REF" >>../public/version/commit.txt