Project

General

Profile

action #153466

Updated by livdywan 4 months ago

## Motivation 

 See #136007 and #137828. 

 The spike solution generates PNG previews with unique names (to workaround client preview image caching). The drawback is that every pipeline run will also remove the previous preview hence making the old links linking a non-existing image. 

 ## Acceptance criteria 
 * **AC1:** We receive a notification if one of the queries on https://os-autoinst.github.io/qa-tools-backlog-assistant/ is red 

 ## Suggestions 
 

 * Use spike solution from #137828 and [draft PR](https://github.com/os-autoinst/qa-tools-backlog-assistant/pull/43) into our backlog-assistant how the react on exit code is supposed to work 
 * Note: Emails from outside SUSE aren't delivered to our internal Slack 
 * Use a Workflow based on a webhook - this was introduced with the "new" workflows which have different triggers, so we could have a URL that produces a message, and has variables as well e.g. `curl -H "Content-Type: application/json" -d '{"query":"Untriaged QA"}'`. Or read about Slack bot accounts and push to custom URL. Also see https://api.slack.com/messaging/webhooks 
 * Example SCCBot Messaging: https://gitlab.suse.de/scc/infrastructure/happy-customer-deploy/-/blob/master/gitlab-ci/pipeline-environments-template.yml?ref_type=heads#L36-48 

 ## Out of scope 
 * Nice rendering of URL previews

Back