mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-11 00:44:20 -05:00
a879043f03
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.
25 lines
722 B
JSON
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}"
|
|
}]
|
|
}]
|
|
}
|