Skip to content

Commit

Permalink
Merge pull request #340 from dimagi/QA-5339-add-ability-to-manually-t…
Browse files Browse the repository at this point in the history
…rigger-scripts-on-india-server

QA-5339 updated india webhook urls in ymls
  • Loading branch information
kbo001 committed May 21, 2024
2 parents 610407a + 3181eb0 commit c2f4d64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/hq-smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,11 @@ jobs:
SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_SMOKE }}'
console.log("Staging Failure")
} else if (CC_ENV == 'india' && JOB_STATUS == 'failure') {
SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_SMOKE }}'
SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_INDIA }}'
console.log("India Failure")
} else if (CC_ENV == 'india' && JOB_STATUS == 'success') {
SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_INDIA }}'
console.log("India Success")
} else {
SLACK_WEBHOOK_URL = ' '
console.log("No notification sent")
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/request_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,12 @@ jobs:
SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_SMOKE }}'
console.log("Staging Failure")
} else if (CC_ENV == 'india' && JOB_STATUS == 'failure') {
SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_SMOKE }}'
SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_INDIA }}'
console.log("India Failure")
} else {
}else if (CC_ENV == 'india' && JOB_STATUS == 'success') {
SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_INDIA }}'
console.log("India Success")
}else {
SLACK_WEBHOOK_URL = ' '
console.log("No notification sent")
}
Expand Down

0 comments on commit c2f4d64

Please sign in to comment.