From 0068ea6c490b4a9beebf1c9a6571a37332c7c7b4 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sat, 23 Feb 2019 14:32:45 -0800
Subject: [PATCH] Universal shell linting

---
 .gitlab-ci.yml | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 40040d5..aa71c5b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,12 @@ lint-dockerfile:
   script:
     - find . -name "Dockerfile" -execdir hadolint {} \;
 
+lint-shell-script:
+  stage: test
+  image: shellcheck:latest
+  script:
+    - find . -name "*.sh" -execdir shellcheck {} \;
+
 #
 # IMAGE BUILDS/PUSHES
 #
@@ -59,15 +65,6 @@ build-debian-jessie-build-dev:
   except:
     - 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
 build-php-7.3-master:
   stage: deploy
-- 
GitLab