in internal/engine/environments/azure.go [127:142]
func ReportAzureStatus(status AzureDeploymentStatus, environment string) {
if !IsAzureEnvironment(environment) {
return
}
statusJson, err := status.AsJsonString()
if err != nil {
logging.GlobalLogger.Error("Failed to marshal status", err)
} else {
// We add these strings to the output so that the portal can find and parse
// the JSON status.
ocdStatus := fmt.Sprintf("ie_us%sie_ue", statusJson)
logging.GlobalLogger.Tracef("Generated status: %s", ocdStatus)
fmt.Println(ui.OcdStatusUpdateStyle.Render(ocdStatus))
}
}