Skip to content
Snippets Groups Projects
Commit 0068ea6c authored by Erick Hitter's avatar Erick Hitter
Browse files

Universal shell linting

parent 770d47f8
No related branches found
No related tags found
1 merge request!6Add Debian Jessie build image
Pipeline #540 failed
This commit is part of merge request !6. Comments created here will be created in the context of that merge request.
...@@ -19,6 +19,12 @@ lint-dockerfile: ...@@ -19,6 +19,12 @@ lint-dockerfile:
script: script:
- find . -name "Dockerfile" -execdir hadolint {} \; - find . -name "Dockerfile" -execdir hadolint {} \;
lint-shell-script:
stage: test
image: shellcheck:latest
script:
- find . -name "*.sh" -execdir shellcheck {} \;
# #
# IMAGE BUILDS/PUSHES # IMAGE BUILDS/PUSHES
# #
...@@ -59,15 +65,6 @@ build-debian-jessie-build-dev: ...@@ -59,15 +65,6 @@ build-debian-jessie-build-dev:
except: except:
- master - master
lint-debian-jessie-build-script:
stage: test
image: debian:latest
before_script:
- apt-get update
- apt-get install -y shellcheck
script:
- shellcheck ./debian/jessie/setup.sh
# PHP 7.3 # PHP 7.3
build-php-7.3-master: build-php-7.3-master:
stage: deploy stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment