From 73885d3b9ed19000e12321720acf3fb5e14cdd7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=BCger?= Date: Thu, 2 May 2019 20:24:21 +0200 Subject: [PATCH] Validate Vagrantfile in CI unit-tests (#4642) * Validate vagrant file on CI * Install vagrant * Install vagrant * Install vagrant * Install vagrant * Install vagrant * Install vagrant * Test vagrant validate --- .gitlab-ci/lint.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci/lint.yml b/.gitlab-ci/lint.yml index 170aa02ed..363671e15 100644 --- a/.gitlab-ci/lint.yml +++ b/.gitlab-ci/lint.yml @@ -6,6 +6,15 @@ yamllint: - yamllint --strict . except: ['triggers', 'master'] +vagrant-validate: + extends: .job + stage: unit-tests + script: + - curl -sL https://releases.hashicorp.com/vagrant/2.2.4/vagrant_2.2.4_x86_64.deb -o /tmp/vagrant_2.2.4_x86_64.deb + - dpkg -i /tmp/vagrant_2.2.4_x86_64.deb + - vagrant validate --ignore-provider + except: ['triggers', 'master'] + ansible-lint: extends: .job stage: unit-tests