Skip to content
Snippets Groups Projects
Commit c66df913 authored by Marek Chrastina's avatar Marek Chrastina
Browse files

Merge branch 'docker' into 'master'

Replace davidhrbac/docker-mdcheck with it4innovations/docker-mdcheck

See merge request !4
parents e386f91f 3ef56680
Branches
No related tags found
1 merge request!4Replace davidhrbac/docker-mdcheck with it4innovations/docker-mdcheck
Pipeline #6183 passed
...@@ -3,20 +3,18 @@ stages: ...@@ -3,20 +3,18 @@ stages:
docs: docs:
stage: test stage: test
image: davidhrbac/docker-mdcheck:latest image: it4innovations/docker-mdcheck:latest
allow_failure: true
script: script:
- mdl -r ~MD024,~MD013,~MD033,~MD014,~MD026,~MD037,~MD036,~MD010,~MD029 *.md - mdl -r ~MD002,~MD013 *.md
pylint: pylint:
stage: test stage: test
image: davidhrbac/docker-pycheck:latest image: it4innovations/docker-pycheck:latest
script: script:
- pylint --max-module-lines=3000 *.py - pylint --max-module-lines=3000 *.py
shellcheck: shellcheck:
stage: test stage: test
image: davidhrbac/docker-shellcheck:latest image: it4innovations/docker-shellcheck:latest
allow_failure: true
script: script:
- shellcheck *.sh - shellcheck *.sh
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# vim: ai ts=2 sw=2 et sts=2 ft=sh # vim: ai ts=2 sw=2 et sts=2 ft=sh
PWD="/home/easybuild/git/it4i-modules" PWD="/home/easybuild/git/it4i-modules"
cd $PWD cd $PWD || exit 1
STATE=$(git fetch 2>&1 | grep master) STATE=$(git fetch 2>&1 | grep master)
if [ ! -z "$STATE" ]; then if [ ! -z "$STATE" ]; then
...@@ -11,7 +11,7 @@ if [ ! -z "$STATE" ]; then ...@@ -11,7 +11,7 @@ if [ ! -z "$STATE" ]; then
exit 0 exit 0
fi fi
CLUSTER=$(echo "$CLUSTERNAME") CLUSTER="$CLUSTERNAME"
if [ -z "$CLUSTER" ]; then if [ -z "$CLUSTER" ]; then
echo "CLUSTERNAME not defined" echo "CLUSTERNAME not defined"
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment