From 1becb73489a4a93602ca50a1df731ee7a50c7ccd Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Wed, 3 Oct 2018 17:29:00 +0200 Subject: [PATCH] MON-323 fix pipeline using 0.4.0 terraform-docs version --- bitbucket-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 40a6653..196bcdb 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -7,8 +7,9 @@ pipelines: script: - apk update - apk upgrade - - apk add --no-cache bash git grep coreutils - - go get github.com/segmentio/terraform-docs + - 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)" + - chmod +x /usr/local/bin/terraform-docs - ./scripts/auto_update.sh - git status - git diff --exit-code