Compare commits
6 commits
master
...
specing-fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4640bbf457 | ||
|
|
1bf65ed6b8 | ||
|
|
b11d6990b7 | ||
|
|
363c80c721 | ||
|
|
140bc02a4a | ||
|
|
e46b372cda |
3 changed files with 17 additions and 9 deletions
|
|
@ -5,19 +5,19 @@ image: debian:buster
|
|||
before_script:
|
||||
- uname -a
|
||||
|
||||
pngcheck:
|
||||
.pngcheck:
|
||||
stage: test
|
||||
script:
|
||||
- ./.tools/pngcheck.sh
|
||||
#allow_failure: true
|
||||
|
||||
imagemagiccheck:
|
||||
.imagemagiccheck:
|
||||
stage: test
|
||||
script:
|
||||
- ./.tools/imagemagiccheck.sh
|
||||
allow_failure: true
|
||||
|
||||
manaplus:
|
||||
.manaplus:
|
||||
stage: test
|
||||
script:
|
||||
- ./.tools/manaplus.sh
|
||||
|
|
@ -29,7 +29,7 @@ manaplus:
|
|||
expire_in: 3 week
|
||||
allow_failure: true
|
||||
|
||||
newlines:
|
||||
.newlines:
|
||||
stage: test
|
||||
tags:
|
||||
- lightweight
|
||||
|
|
@ -42,7 +42,7 @@ newlines:
|
|||
expire_in: 3 week
|
||||
#allow_failure: true
|
||||
|
||||
licensecheck:
|
||||
.licensecheck:
|
||||
stage: test
|
||||
tags:
|
||||
- lightweight
|
||||
|
|
|
|||
|
|
@ -18,10 +18,18 @@ function gitclone1 {
|
|||
return $?
|
||||
}
|
||||
|
||||
# First try cloning $2 into $3 from this repository's
|
||||
# project space, then use provided fallback space ($1).
|
||||
function gitclone {
|
||||
export name1=$1/$2
|
||||
export name2=${CI_BUILD_REPO##*@}
|
||||
export name2=https://${name2%/*}/$2
|
||||
printf '$CI_BUILD_REPO is %s\n' "$CI_BUILD_REPO"
|
||||
printf '$CI_REPOSITORY_URL is %s\n' "$CI_REPOSITORY_URL"
|
||||
printf '$CI_PROJECT_URL is %s\n' "$CI_PROJECT_URL"
|
||||
local name1=$1/$2
|
||||
# Format https://gitlab-ci-token:$CI_JOB_TOKEN@gitlab.example.com/my-group/my-project.git
|
||||
# strip token part
|
||||
local name2=${CI_REPOSITORY_URL##*@}
|
||||
# Strip URL down to namespace and append the project we want
|
||||
local name2=https://${name2%/*}/$2
|
||||
|
||||
gitclone1 "$name1" "$name2" $3
|
||||
if [ "$?" != 0 ]; then
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ check_error $?
|
|||
export RES=$(cat errors.txt)
|
||||
if [[ -n "${RES}" ]]; then
|
||||
echo "xml check failed" >../../../clientdata/shared/error.log
|
||||
echo ${RES} >>../../../clientdata/shared/error.log
|
||||
cat errors.txt >>../../../clientdata/shared/error.log
|
||||
cat ../../../clientdata/shared/error.log
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue