diff options
-rw-r--r-- | .gitlab-ci.yml | 6 | ||||
-rwxr-xr-x | .tools/contributors.sh | 22 |
2 files changed, 28 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c496b205..146a6886 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,12 @@ testxml: - ./.tools/testxml.sh - pwd +contributors: + stage: test + script: + - ./.tools/contributors.sh + - pwd + pages: stage: deploy script: diff --git a/.tools/contributors.sh b/.tools/contributors.sh new file mode 100755 index 00000000..f47d3115 --- /dev/null +++ b/.tools/contributors.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +source ./.tools/init.sh + +clientdata_init + +aptget_update +aptget_install git-core gcc ca-certificates libxml2-utils +gitclone https://gitlab.com/evol/evol-tools.git tools + +cd tools/contrib_xsl + +make about-server +cd ../../clientdata + +export RES=$(git diff) +if [[ -n "${RES}" ]]; then + echo "Contributors list not updated" + echo "Diff:" + echo ${RES} + exit 1 +fi |