@@ -59,23 +59,22 @@ jobs:
5959 otel-source : ${{ inputs.otel-source }}
6060 cpu-architecture : ${{ inputs.cpu-architecture }}
6161
62- # TODO: will publish metrics after data quality issue is fixed
63- # publish-metric-attempt-1:
64- # needs: [ python-lambda-attempt-1, python-lambda-attempt-2 ]
65- # if: always()
66- # uses: ./.github/workflows/enablement-test-publish-result.yml
67- # secrets: inherit
68- # with:
69- # aws-region: ${{ inputs.aws-region }}
70- # caller-workflow-name: ${{ inputs.caller-workflow-name }}
71- # validation-result: ${{ needs.python-lambda-attempt-1.outputs.validation-result || needs.python-lambda-attempt-2.outputs.validation-result }}
72- #
73- # publish-metric-attempt-2:
74- # needs: [ python-lambda-attempt-1, python-lambda-attempt-2, publish-metric-attempt-1 ]
75- # if: ${{ always() && needs.publish-metric-attempt-1.outputs.job-started != 'true' }}
76- # uses: ./.github/workflows/enablement-test-publish-result.yml
77- # secrets: inherit
78- # with:
79- # aws-region: ${{ inputs.aws-region }}
80- # caller-workflow-name: ${{ inputs.caller-workflow-name }}
81- # validation-result: ${{ needs.python-lambda-attempt-1.outputs.validation-result || needs.python-lambda-attempt-2.outputs.validation-result }}
62+ publish-metric-attempt-1 :
63+ needs : [ python-lambda-attempt-1, python-lambda-attempt-2 ]
64+ if : always()
65+ uses : ./.github/workflows/enablement-test-publish-result.yml
66+ secrets : inherit
67+ with :
68+ aws-region : ${{ inputs.aws-region }}
69+ caller-workflow-name : ${{ inputs.caller-workflow-name }}
70+ validation-result : ${{ needs.python-lambda-attempt-1.outputs.validation-result || needs.python-lambda-attempt-2.outputs.validation-result }}
71+
72+ publish-metric-attempt-2 :
73+ needs : [ python-lambda-attempt-1, python-lambda-attempt-2, publish-metric-attempt-1 ]
74+ if : ${{ always() && needs.publish-metric-attempt-1.outputs.job-started != 'true' }}
75+ uses : ./.github/workflows/enablement-test-publish-result.yml
76+ secrets : inherit
77+ with :
78+ aws-region : ${{ inputs.aws-region }}
79+ caller-workflow-name : ${{ inputs.caller-workflow-name }}
80+ validation-result : ${{ needs.python-lambda-attempt-1.outputs.validation-result || needs.python-lambda-attempt-2.outputs.validation-result }}
0 commit comments