Skip to content

Commit

Permalink
Add validation to fail if error found
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaffieri committed Dec 27, 2024
1 parent ae86c99 commit 006771c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/Test_installation_assistant_distributed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ jobs:
"${{ inputs.VERBOSITY }}"
EXIT_CODE=$?
echo "provision_instance=$EXIT_CODE" >> $GITHUB_OUTPUT
if [ $EXIT_CODE != 0 ]; then
exit 1
fi
- name: Execute certificates generation playbook
id: generate_certificates
Expand All @@ -241,6 +244,9 @@ jobs:
"${{ inputs.VERBOSITY }}"
EXIT_CODE=$?
echo "generate_certificates=$EXIT_CODE" >> $GITHUB_OUTPUT
if [ $EXIT_CODE != 0 ]; then
exit 1
fi
- name: Copy certificates to nodes
id: copy_certificates
Expand All @@ -255,6 +261,9 @@ jobs:
"${{ inputs.VERBOSITY }}"
EXIT_CODE=$?
echo "copy_certificates=$EXIT_CODE" >> $GITHUB_OUTPUT
if [ $EXIT_CODE != 0 ]; then
exit 1
fi
- name: Execute indexer installation playbook
id: install_indexer
Expand All @@ -269,6 +278,9 @@ jobs:
"${{ inputs.VERBOSITY }}"
EXIT_CODE=$?
echo "install_indexer=$EXIT_CODE" >> $GITHUB_OUTPUT
if [ $EXIT_CODE != 0 ]; then
exit 1
fi
- name: Execute indexer cluster start playbook
id: start_indexer
Expand All @@ -284,6 +296,9 @@ jobs:
"${{ inputs.VERBOSITY }}"
EXIT_CODE=$?
echo "start_indexer=$EXIT_CODE" >> $GITHUB_OUTPUT
if [ $EXIT_CODE != 0 ]; then
exit 1
fi
- name: Execute server installation playbook
id: install_server
Expand All @@ -298,6 +313,9 @@ jobs:
"${{ inputs.VERBOSITY }}"
EXIT_CODE=$?
echo "install_server=$EXIT_CODE" >> $GITHUB_OUTPUT
if [ $EXIT_CODE != 0 ]; then
exit 1
fi
- name: Execute dashboard installation playbook
id: install_dashboard
Expand All @@ -312,6 +330,9 @@ jobs:
"${{ inputs.VERBOSITY }}"
EXIT_CODE=$?
echo "install_dashboard=$EXIT_CODE" >> $GITHUB_OUTPUT
if [ $EXIT_CODE != 0 ]; then
exit 1
fi
- name: Execute Python test playbook
id: execute_test
Expand Down

0 comments on commit 006771c

Please sign in to comment.