Skip to content

Commit c4d34e6

Browse files
changing the tags
1 parent b3d2e70 commit c4d34e6

2 files changed

Lines changed: 29 additions & 29 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
elif [[ "${{ env.BRANCH_NAME }}" == "hotfix" ]]; then
123123
IMAGE_TAG="hotfix"
124124
else
125-
IMAGE_TAG="latest"
125+
IMAGE_TAG="latest_v3"
126126
fi
127127
128128
# Generate current timestamp in desired format: YYYY-MM-DDTHH:MM:SS.SSSSSSSZ

.github/workflows/test-automation.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -150,34 +150,34 @@ jobs:
150150
exit 1
151151
fi
152152
153-
- name: Send Notification
154-
if: always()
155-
run: |
156-
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
157-
REPORT_URL=${{ steps.upload_report.outputs.artifact-url }}
158-
IS_SUCCESS=${{ steps.test_result.outputs.IS_SUCCESS }}
159-
160-
if [ "$IS_SUCCESS" = "true" ]; then
161-
EMAIL_BODY=$(cat <<EOF
162-
{
163-
"body": "<p>Dear Team,</p><p>We would like to inform you that the ${{ env.accelerator_name }} Test Automation process has completed successfully.</p><p><strong>Run URL:</strong> <a href=\\"${RUN_URL}\\">${RUN_URL}</a><br></p><p><strong>Test Report:</strong> <a href=\\"${REPORT_URL}\\">${REPORT_URL}</a></p><p>Best regards,<br>Your Automation Team</p>",
164-
"subject": "${{ env.accelerator_name }} Test Automation - Success"
165-
}
166-
EOF
167-
)
168-
else
169-
EMAIL_BODY=$(cat <<EOF
170-
{
171-
"body": "<p>Dear Team,</p><p>We would like to inform you that the ${{ env.accelerator_name }} Test Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Run URL:</strong> <a href=\\"${RUN_URL}\\">${RUN_URL}</a><br></p><p><strong>Test Report:</strong> <a href=\\"${REPORT_URL}\\">${REPORT_URL}</a></p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>",
172-
"subject": "${{ env.accelerator_name }} Test Automation - Failure"
173-
}
174-
EOF
175-
)
176-
fi
177-
178-
curl -X POST "${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}" \
179-
-H "Content-Type: application/json" \
180-
-d "$EMAIL_BODY" || echo "Failed to send notification"
153+
# - name: Send Notification
154+
# if: always()
155+
# run: |
156+
# RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
157+
# REPORT_URL=${{ steps.upload_report.outputs.artifact-url }}
158+
# IS_SUCCESS=${{ steps.test_result.outputs.IS_SUCCESS }}
159+
160+
# if [ "$IS_SUCCESS" = "true" ]; then
161+
# EMAIL_BODY=$(cat <<EOF
162+
# {
163+
# "body": "<p>Dear Team,</p><p>We would like to inform you that the ${{ env.accelerator_name }} Test Automation process has completed successfully.</p><p><strong>Run URL:</strong> <a href=\\"${RUN_URL}\\">${RUN_URL}</a><br></p><p><strong>Test Report:</strong> <a href=\\"${REPORT_URL}\\">${REPORT_URL}</a></p><p>Best regards,<br>Your Automation Team</p>",
164+
# "subject": "${{ env.accelerator_name }} Test Automation - Success"
165+
# }
166+
# EOF
167+
# )
168+
# else
169+
# EMAIL_BODY=$(cat <<EOF
170+
# {
171+
# "body": "<p>Dear Team,</p><p>We would like to inform you that the ${{ env.accelerator_name }} Test Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Run URL:</strong> <a href=\\"${RUN_URL}\\">${RUN_URL}</a><br></p><p><strong>Test Report:</strong> <a href=\\"${REPORT_URL}\\">${REPORT_URL}</a></p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>",
172+
# "subject": "${{ env.accelerator_name }} Test Automation - Failure"
173+
# }
174+
# EOF
175+
# )
176+
# fi
177+
178+
# curl -X POST "${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}" \
179+
# -H "Content-Type: application/json" \
180+
# -d "$EMAIL_BODY" || echo "Failed to send notification"
181181

182182
# - name: Stop Container App
183183
# if: always()

0 commit comments

Comments
 (0)