aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-02-04 12:38:48 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-02-04 12:38:48 +0100
commit563e0bf506444b97b172998f7304a5ef6297b266 (patch)
tree1b45ce16e2b64c3f3c32acbcd64cb1ab28e0a690
parent3d77cd259c2e4636af301b97c4e1acb1100ba922 (diff)
Add tox setup for Terragrunt validationhonolulu
Change-Id: Ib0f380dcaa4eeb8c038e2c0d49cdc0a985d428fd Issue-ID: INT-1780 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rw-r--r--.gitignore1
-rw-r--r--tox.ini5
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..172bf57
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.tox
diff --git a/tox.ini b/tox.ini
index 9a019f4..4e74c2f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 3.2.0
-envlist = json,yaml,py,md
+envlist = json,yaml,py,md,terragrunt
skipsdist = true
requires = pip >= 8
@@ -42,3 +42,6 @@ commands_pre =
/bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.md' > /tmp/.coalist_md"
commands =
/bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn md --files $(</tmp/.coalist_md) \ "
+
+[testenv:terragrunt]
+commands = /bin/bash -e -c "terragrunt hclfmt --terragrunt-check"