constellation/.github/actions/e2e_test/teams-payload.json
Fabian Kammel a879043f03 E2E Test CronJob (#117)
refactor e2e test into reusable action, so we can have manual & cron jobs. added cron for azure & gcp. failed jobs are reported to MS Teams.
2022-05-09 09:45:59 +02:00

25 lines
722 B
JSON

{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"themeColor": "FF5733",
"summary": "E2E Job Failed",
"sections": [{
"activityTitle": "E2E Job Failed",
"activitySubtitle": "${TEAMS_JOB_NAME}",
"activityImage": "https://miro.medium.com/max/552/1*G7s61tFPaLI9JRxWYpRNLw.png",
"facts": [{
"name": "Status",
"value": "Error"
}],
"markdown": true
}],
"potentialAction": [{
"@type": "OpenUri",
"name": "Go To Failed Action",
"targets": [{
"os": "default",
"uri": "https://github.com/edgelesssys/constellation/actions/runs/${TEAMS_RUN_ID}"
}]
}]
}