Skip to content

Commit 21424a5

Browse files
committed
show terraform failure messages in CI
1 parent f5f3415 commit 21424a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/stackhpc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ jobs:
7070
. venv/bin/activate
7171
. environments/${{ matrix.cloud }}/activate
7272
cd $APPLIANCES_ENVIRONMENT_ROOT/terraform
73-
echo "::set-output name=messages::$(../../skeleton/\{\{cookiecutter.environment\}\}/terraform/getfaults.py $PWD)"
73+
TF_FAIL_MSGS="$(../../skeleton/\{\{cookiecutter.environment\}\}/terraform/getfaults.py $PWD)"
74+
echo $TF_FAIL_MSGS
75+
echo "::set-output name=messages::${TF_FAIL_MSGS}"
7476
env:
7577
OS_CLOUD: openstack
7678
TF_VAR_cluster_name: ci${{ github.run_id }}

0 commit comments

Comments
 (0)