aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-09-14 11:56:56 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-09-15 07:24:35 +0000
commitebc143124680cc2ddefa3a74bf6d242fa417e992 (patch)
tree78a2388b152eebb6ec59c82634c615e3fc188484
parentc0987507209cdfa232b5113dbb386bfc3cf87805 (diff)
Setup tox runner for terragrunt files validation
Change-Id: Icf562b2e2e238c5950c33f39960aafc138982786 Issue-ID: INT-1713 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rw-r--r--terragrunt/tox.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/terragrunt/tox.ini b/terragrunt/tox.ini
new file mode 100644
index 0000000..b38a5b9
--- /dev/null
+++ b/terragrunt/tox.ini
@@ -0,0 +1,12 @@
+[tox]
+minversion = 3.2.0
+envlist = terragrunt
+skipsdist = true
+requires = pip >= 8
+
+[testenv]
+basepython = python3
+whitelist_externals = bash
+
+[testenv:terragrunt]
+commands = /bin/bash -e -c "terragrunt hclfmt --terragrunt-check"