[SE-2497] Avoid sending deployment failure urgent e-mails in deployments triggered by OpenCraft members
requested to merge github/fork/fferrin/SE-2497-avoid_sending_deployment_failure_urgent_e-mails_in_deployments_triggered_by_opencraft_members into master
Created by: fferrin
This PR add a validation to avoid sending emails to users on appserver spawn failures if the action was created by a member of OpenCraft
JIRA tickets: SE-2497
Testing instructions
- Create a new deployment from the new interface, make it fail and check email is sended
- Redeploy instances using
instance_redeploy
command and check that email is not sended - Create a new deployment from the manage site and check that no email is sent if it fails
Reviewers