From abd31b07c3f98cc19cee5b6291dce04ada3b2b91 Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Wed, 6 Feb 2019 10:06:55 +0100 Subject: [PATCH] MON-392 update terraform-docs to 0.6.0 --- .gitlab-ci.yml | 2 +- scripts/02_update_readme.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 135d16b..5b11807 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ test_auto_update: - apk update - apk upgrade - apk add --no-cache bash git grep coreutils curl - - curl -Lo /usr/local/bin/terraform-docs "https://github.com/$(curl -s https://github.com/segmentio/terraform-docs/releases | grep terraform-docs-v0.4.0-linux-amd | head -n 1 | cut -d '"' -f 2)" + - curl -Lo /usr/local/bin/terraform-docs "https://github.com/$(curl -s https://github.com/segmentio/terraform-docs/releases | grep terraform-docs-v0.6.0-linux-amd | head -n 1 | cut -d '"' -f 2)" - chmod +x /usr/local/bin/terraform-docs - ./scripts/auto_update.sh ./ - git status diff --git a/scripts/02_update_readme.sh b/scripts/02_update_readme.sh index 020f149..66a456a 100755 --- a/scripts/02_update_readme.sh +++ b/scripts/02_update_readme.sh @@ -91,7 +91,7 @@ EOF done IFS=$SAVEIFS # auto generate terraform docs (inputs and outputs) - terraform-docs --with-aggregate-type-defaults md ./ >> README.md + terraform-docs --with-aggregate-type-defaults md table ./ >> README.md # if README does not exist if [[ $EXIST -eq 0 ]]; then # Simply add empty documentation section