@@ -12,6 +12,9 @@ inputs:
1212 description : The result of the build job
1313 publish-manifests-result :
1414 description : The result of the publish manifests job
15+ publish-helm-chart-result :
16+ description : The result of the publish helm chart job (if any)
17+ default : " N/A"
1518 test-result :
1619 description : The result of an integration test
1720 test-health :
2831 NOTIFICATION_TYPE : ${{ inputs.type }}
2932
3033 PUBLISH_MANIFESTS_RESULT : ${{ inputs.publish-manifests-result }}
34+ PUBLISH_HELM_CHART_RESULT : ${{ inputs.publish-helm-chart-result }}
3135 BUILD_RESULT : ${{ inputs.build-result }}
3236
3337 FAILED_TESTS : ${{ inputs.failed-tests }}
4549 [ -z "${BUILD_RESULT:-}" ] && echo "The build-result input must be provided" && exit 1
4650
4751 echo "PUBLISH_MANIFESTS_RESULT=$PUBLISH_MANIFESTS_RESULT" | tee -a "$GITHUB_ENV"
52+ echo "PUBLISH_HELM_CHART_RESULT=$PUBLISH_HELM_CHART_RESULT" | tee -a "$GITHUB_ENV"
4853 echo "BUILD_RESULT=$BUILD_RESULT" | tee -a "$GITHUB_ENV"
4954 elif [ "$NOTIFICATION_TYPE" == "integration-test" ]; then
5055 [ -z "${TEST_RESULT:-}" ] && echo "The test-result input must be provided" && exit 1
8994
9095 if [ "$NOTIFICATION_TYPE" == "container-image-build" ]; then
9196 # TODO (@Techassi): Also add success template
92- if [ "$PUBLISH_MANIFESTS_RESULT" = "failure" ] || [ "$BUILD_RESULT" = "failure" ]; then
97+ if [ "$PUBLISH_MANIFESTS_RESULT" = "failure" ] || [ "$PUBLISH_HELM_CHART_RESULT" = "failure" ] || [ "$ BUILD_RESULT" = "failure" ]; then
9398 export MESSAGE_VERB=failed
9499 export MESSAGE_COLOR=aa0000
95100 else
0 commit comments