Loading gitlab-ci.yml +6 −6 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ stages: ########################################################################################################## ### COMMON SECTION .common: &common .common: variables: GIT_DEPTH: 1 GIT_SUBMODULE_STRATEGY: recursive Loading @@ -30,16 +30,16 @@ stages: ### TEST SECTION shellcheck: <<: *common extends: common stage: shellcheck image: registry.cyberbrain.pw/tools/linters/shellcheck image: $SHELLCHECK_IMAGE script: - test -s run.sh && shellcheck -s sh -e SC2068 run.sh || true - test -s run.sh && shellcheck ${SHELLCHECK_PARAMETERS} run.sh || true ansible-lint: <<: *common extends: common stage: ansible-lint image: registry.cyberbrain.pw/ansible/ansible image: $ANSIBLE_IMAGE script: - test -s requirements.yml && ansible-galaxy install -r requirements.yml || true - test -s deploy.yml && ansible-lint deploy.yml || true Loading
gitlab-ci.yml +6 −6 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ stages: ########################################################################################################## ### COMMON SECTION .common: &common .common: variables: GIT_DEPTH: 1 GIT_SUBMODULE_STRATEGY: recursive Loading @@ -30,16 +30,16 @@ stages: ### TEST SECTION shellcheck: <<: *common extends: common stage: shellcheck image: registry.cyberbrain.pw/tools/linters/shellcheck image: $SHELLCHECK_IMAGE script: - test -s run.sh && shellcheck -s sh -e SC2068 run.sh || true - test -s run.sh && shellcheck ${SHELLCHECK_PARAMETERS} run.sh || true ansible-lint: <<: *common extends: common stage: ansible-lint image: registry.cyberbrain.pw/ansible/ansible image: $ANSIBLE_IMAGE script: - test -s requirements.yml && ansible-galaxy install -r requirements.yml || true - test -s deploy.yml && ansible-lint deploy.yml || true