gitlab-ci: add vagrant linting

This commit is contained in:
angristan 2019-02-25 22:59:24 +01:00
parent d79611c168
commit d4863bdb3c

View file

@ -2,6 +2,7 @@ image: debian:buster-slim
stages: stages:
- Bash linting - Bash linting
- Vagrant linting
shellcheck: shellcheck:
stage: Bash linting stage: Bash linting
@ -9,3 +10,10 @@ shellcheck:
- apt-get update - apt-get update
- apt-get install -y shellcheck - apt-get install -y shellcheck
- shellcheck -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009 openvpn-install.sh - shellcheck -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009 openvpn-install.sh
vagrant validate:
stage: Vagrant linting
script:
- apt-get update
- apt-get install -y vagrant
- vagrant validate