MON-392 update terraform-docs to 0.6.0
This commit is contained in:
parent
ee4b7a9488
commit
abd31b07c3
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user