git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorHarald Pfeiffer <harald.pfeiffer _ xmart.de> 2018-11-01 13:30:58 +0100
committerHarald Pfeiffer <harald.pfeiffer _ xmart.de> 2018-11-01 13:30:58 +0100
commit0632591996893fe136a1f2fe44d9b9f404f41f3e (patch)
tree7340edbe7c212da3db45a83219147143a3268c8d /.gitlab-ci.yml
downloadfedora-laptop-0632591996893fe136a1f2fe44d9b9f404f41f3e.tar.bz2
Initial commit
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml63
1 files changed, 63 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..87eb569
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,63 @@
+#image: debian:stretch
+image: minimum2scp/systemd-stretch:latest
+stages:
+ - conf-check
+ - code-check
+# - readme-check
+before_script:
+# - "apt-get -qq update&&apt-get -yqqq install ksh make sudo node-util >/dev/null 2>&1"
+ - "./.environ-prep"
+bash-parser:
+ script: "export LANG=en_IE.UTF-8;for i in $(cat aux/git-checkers/bashlist);do shellcheck -xe SC2181,SC2188,SC2015,SC2002,SC2119,SC2004,SC1090,SC2164,SC2016 $i&&echo $i: $(tput -Txterm smul)OK$(tput -Txterm rmul);done"
+ stage: code-check
+ only:
+ - master
+ environment:
+ name: production
+ when: always
+korn-parser:
+ script: "export LANG=en_IE.UTF-8;for i in $(cat aux/git-checkers/kornlist);do shellcheck -xe SC2181,SC2188,SC2015,SC2002,SC2119,SC2004,SC1090,SC2164,SC2016 $i&&echo $i: $(tput -Txterm smul)OK$(tput -Txterm rmul);done"
+ stage: code-check
+ only:
+ - master
+ environment:
+ name: production
+ when: always
+posh-parser:
+ script: "export LANG=en_IE.UTF-8;for i in $(cat aux/git-checkers/poshlist);do shellcheck -xe SC2181,SC2188,SC2015,SC2002,SC2119,SC2004,SC1090,SC2164,SC2016 $i&&echo $i: $(tput -Txterm smul)OK$(tput -Txterm rmul);done"
+ stage: code-check
+ only:
+ - master
+ environment:
+ name: production
+ when: always
+#readme-parser:
+# script: "make -n"
+# stage: readme-check
+# only:
+# - master
+# environment:
+# name: production
+# when: always
+sudoers-parser:
+ script: "./aux/git-checkers/sudoerschecker"
+ stage: conf-check
+ only:
+ - master
+ when: always
+logrotate-parser:
+ script: "./aux/git-checkers/logrotchecker"
+ stage: conf-check
+ only:
+ - master
+ environment:
+ name: production
+ when: always
+systemd-parser:
+ script: "./aux/git-checkers/systemdchecker"
+ stage: conf-check
+ only:
+ - master
+ environment:
+ name: production
+ when: always