diff options
author | pmikus <pmikus@cisco.com> | 2021-08-11 07:18:46 +0000 |
---|---|---|
committer | pmikus <pmikus@cisco.com> | 2021-08-11 07:20:08 +0000 |
commit | 6de5c7fc4524c5121ed00dc2fa3ab34301d45215 (patch) | |
tree | 13e035e04c6e6781ed298f46e1643aeeafc473cc | |
parent | 03bf0dd6ea67ef2b1386733d0b2ce3489c6a7f3e (diff) |
Infra: Add terraform no-color output.
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I851e979c9b0db41c83facb92010c1b16885ee5a0
l--------- | docs/job_specs/mrr_daily/vpp-2n-aws.md | 1 | ||||
l--------- | docs/job_specs/mrr_daily/vpp-3n-aws.md | 1 | ||||
-rw-r--r-- | resources/libraries/bash/function/terraform.sh | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/docs/job_specs/mrr_daily/vpp-2n-aws.md b/docs/job_specs/mrr_daily/vpp-2n-aws.md new file mode 120000 index 0000000000..965e53fa4e --- /dev/null +++ b/docs/job_specs/mrr_daily/vpp-2n-aws.md @@ -0,0 +1 @@ +../report_iterative/2n-aws/vpp-mrr-00.md
\ No newline at end of file diff --git a/docs/job_specs/mrr_daily/vpp-3n-aws.md b/docs/job_specs/mrr_daily/vpp-3n-aws.md new file mode 120000 index 0000000000..50ba8409ce --- /dev/null +++ b/docs/job_specs/mrr_daily/vpp-3n-aws.md @@ -0,0 +1 @@ +../report_iterative/3n-aws/vpp-mrr-00.md
\ No newline at end of file diff --git a/resources/libraries/bash/function/terraform.sh b/resources/libraries/bash/function/terraform.sh index c076f52859..5313b62545 100644 --- a/resources/libraries/bash/function/terraform.sh +++ b/resources/libraries/bash/function/terraform.sh @@ -34,7 +34,7 @@ function terraform_apply () { pushd "${CSIT_DIR}"/fdio.infra.terraform || die "Pushd failed!" pushd "${NODENESS}_${FLAVOR}_c5n" || die "Pushd failed!" export TF_LOG=INFO - terraform apply -auto-approve || die "Failed to run terraform apply!" + terraform apply -no-color -auto-approve || die "Terraform apply failed!" popd || die "Popd failed!" popd || die "Popd failed!" } @@ -57,7 +57,7 @@ function terraform_destroy () { pushd "${CSIT_DIR}"/fdio.infra.terraform || die "Pushd failed!" pushd "${NODENESS}_${FLAVOR}_c5n" || die "Pushd failed!" export TF_LOG=INFO - terraform destroy -auto-approve || die "Failed to run terraform destroy!" + terraform destroy -auto-approve -no-color || die "Terraform destroy failed!" popd || die "Popd failed!" popd || die "Popd failed!" } |