Merged in MON-323-fix-pipeline-using-terraform-doc (pull request #172)

MON-323 fix pipeline using 0.4.0 terraform-docs version

Approved-by: jeremy.nancel@fr.clara.net <jeremy.nancel@fr.clara.net>
Approved-by: Alexandre Gaillet <alexandre.gaillet@fr.clara.net>
Approved-by: Quentin Manfroi <quentin.manfroi@yahoo.fr>
Approved-by: gauthierampe <gauthier.ampe@fr.clara.net>
This commit is contained in:
Quentin Manfroi 2018-10-03 15:46:04 +00:00
commit 318c5cd0e1

View File

@ -7,8 +7,9 @@ pipelines:
script: script:
- apk update - apk update
- apk upgrade - apk upgrade
- apk add --no-cache bash git grep coreutils - apk add --no-cache bash git grep coreutils curl
- go get github.com/segmentio/terraform-docs - 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)"
- chmod +x /usr/local/bin/terraform-docs
- ./scripts/auto_update.sh - ./scripts/auto_update.sh
- git status - git status
- git diff --exit-code - git diff --exit-code