git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 87eb569b2c3bfe82a7e5e4f438bb5db18e360b07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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