@@ -15,9 +15,6 @@ inputs:
1515 publish-helm-chart-result :
1616 description : The result of the publish helm chart job (if any)
1717 default : " N/A"
18- generate-provenance-result :
19- description : The result of the generate provenance job (if any)
20- default : " N/A"
2118 test-result :
2219 description : The result of an integration test
2320 test-health :
4037
4138 PUBLISH_MANIFESTS_RESULT : ${{ inputs.publish-manifests-result }}
4239 PUBLISH_HELM_CHART_RESULT : ${{ inputs.publish-helm-chart-result }}
43- GENERATE_PROVENANCE_RESULT : ${{ inputs.generate-provenance-result }}
4440 BUILD_RESULT : ${{ inputs.build-result }}
4541
4642 FAILED_TESTS : ${{ inputs.failed-tests }}
6157
6258 echo "PUBLISH_MANIFESTS_RESULT=$PUBLISH_MANIFESTS_RESULT" | tee -a "$GITHUB_OUTPUT"
6359 echo "PUBLISH_HELM_CHART_RESULT=$PUBLISH_HELM_CHART_RESULT" | tee -a "$GITHUB_OUTPUT"
64- echo "GENERATE_PROVENANCE_RESULT=$GENERATE_PROVENANCE_RESULT" | tee -a "$GITHUB_OUTPUT"
6560 echo "BUILD_RESULT=$BUILD_RESULT" | tee -a "$GITHUB_OUTPUT"
6661 elif [ "$NOTIFICATION_TYPE" == "integration-test" ]; then
6762 [ -z "${TEST_RESULT:-}" ] && echo "The test-result input must be provided" && exit 1
9893 env :
9994 PUBLISH_MANIFESTS_RESULT : ${{ steps.valid_inputs.outputs.PUBLISH_MANIFESTS_RESULT }}
10095 PUBLISH_HELM_CHART_RESULT : ${{ steps.valid_inputs.outputs.PUBLISH_HELM_CHART_RESULT }}
101- GENERATE_PROVENANCE_RESULT : ${{ steps.valid_inputs.outputs.GENERATE_PROVENANCE_RESULT }}
10296 BUILD_RESULT : ${{ steps.valid_inputs.outputs.BUILD_RESULT }}
10397 FAILED_TESTS : ${{ steps.valid_inputs.outputs.FAILED_TESTS }}
10498 TEST_HEALTH : ${{ steps.valid_inputs.outputs.TEST_HEALTH }}
@@ -126,7 +120,7 @@ runs:
126120 fi
127121
128122 # TODO (@Techassi): Also add success template
129- if [ "$PUBLISH_MANIFESTS_RESULT" = "failure" ] || [ "$PUBLISH_HELM_CHART_RESULT" = "failure" ] || [ "$GENERATE_PROVENANCE_RESULT" = "failure" ] || [ "$ BUILD_RESULT" = "failure" ]; then
123+ if [ "$PUBLISH_MANIFESTS_RESULT" = "failure" ] || [ "$PUBLISH_HELM_CHART_RESULT" = "failure" ] || [ "$BUILD_RESULT" = "failure" ]; then
130124 export MESSAGE_VERB=failed
131125 export MESSAGE_COLOR=aa0000
132126 else
0 commit comments