Setup JJB template for terraform modules validation
Change-Id: Ia7125a6cfd73a587d0e387134f326870d3306ccf
Issue-ID: INT-1713
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
diff --git a/jjb/integration/integration-templates.yaml b/jjb/integration/integration-templates.yaml
index 622d523..42c0697 100644
--- a/jjb/integration/integration-templates.yaml
+++ b/jjb/integration/integration-templates.yaml
@@ -104,3 +104,29 @@
name: '{project-name}-{stream}-{subproject}-tox-verify'
id: integration-tox-verify
description: 'Job intended for running tox'
+
+- job-template:
+ <<: *tox_verify_boilerplate
+ name: '{project-name}-{stream}-{subproject}-terraform-verify'
+ terraform-version: 0.13.2
+ python-version: python3
+ id: integration-terraform-verify
+ description: 'Job intended for validating terraform modules'
+
+ parameters:
+ - lf-infra-parameters:
+ project: '{project}'
+ stream: '{stream}'
+ branch: '{branch}'
+ - lf-infra-tox-parameters:
+ tox-dir: '{tox-dir}'
+ tox-envs: '{tox-envs}'
+ - integration-terraform-version:
+ terraform-version: '{terraform-version}'
+
+ builders:
+ - integration-install-terraform
+ - lf-infra-tox-install:
+ python-version: '{python-version}'
+ - lf-infra-tox-run:
+ parallel: 'false'