docs/layouts/compatibility-matrix/single.html
This page shows all the integration test run on {{ .Params.subheading }} in the past.
{{- /* Load all test results from project/compatibility section */ -}} {{- $test_results := slice -}} {{- range site.AllPages -}} {{- if and (strings.Contains .Path "project/compatibility") (ne .Kind "section") -}} {{- $test_results = $test_results | append . -}} {{- end -}} {{- end -}} {{- /* Filter by service-mesh from frontmatter */ -}} {{- $service_mesh := .Params.serviceMesh | default (index .Params "service-mesh") | default "" -}} {{- $filtered := slice -}} {{- range $test_results -}} {{- $mesh := index .Params "service-mesh" | lower -}} {{- if eq $mesh ($service_mesh | lower) -}} {{- $filtered = $filtered | append . -}} {{- end -}} {{- end -}} {{- /* Group by meshery-component */ -}} {{- $grouped := dict -}} {{- range $filtered -}} {{- $comp := index .Params "meshery-component" -}} {{- if $comp -}} {{- $items := index $grouped $comp | default slice -}} {{- $grouped = merge $grouped (dict $comp ($items | append .)) -}} {{- end -}} {{- end -}}
Edge Channel
Stable Channel
| Status | Meshery Component | Meshery Component Version | Meshery Server Version | Infrastructure | Infrastructure Version |
|---|---|---|---|---|---|
| {{- range $comp, $items := $grouped -}} {{- /* Sort by timestamp descending for edge tests */ -}} {{- $edge_sorted := sort $items "Params.timestamp" "desc" -}} {{- range $edge_sorted -}} {{- $version := index .Params "meshery-component-version" -}} {{- if eq $version "edge" -}} {{- $status := trim (index .Params "overall-status" | default "") " " -}} {{- $status_class := "status-default" -}} {{- if eq $status "passing" -}} {{- $status_class = "status-passing" -}} {{- else if eq $status "partial" -}} {{- $status_class = "status-partial" -}} {{- else if eq $status "failing" -}} {{- $status_class = "status-failing" -}} {{- end -}} | {{ index .Params "timestamp" }} | {{ $comp }} | {{ $version }} | {{ index .Params "meshery-server-version" }} |
| Platform: |
| Test results:
{{- if index .Params "tests" -}} {{- range $pod, $status := index .Params "tests" -}} {{- $test_icon := "/installation/compatibility-matrix/images/service-meshes/passing.svg" -}} {{- if eq (trim $status " ") "Running" -}} {{- $test_icon = "/installation/compatibility-matrix/images/service-meshes/passing.svg" -}} {{- else -}} {{- $test_icon = "/installation/compatibility-matrix/images/service-meshes/failing.svg" -}} {{- end -}} | | {{ $pod }} | {{- end -}} {{- else -}} | No test details available | {{- end -}} | {{- end -}} {{- end -}} {{- end -}} {{- /* Stable channel tests */ -}} {{- range $comp, $items := $grouped -}} {{- /* Sort by component version descending for stable tests */ -}} {{- $stable_items := slice -}} {{- range $items -}} {{- $version := index .Params "meshery-component-version" -}} {{- if ne $version "edge" -}} {{- $stable_items = $stable_items | append . -}} {{- end -}} {{- end -}} {{- $stable_sorted := sort $stable_items "Params.meshery-component-version" "desc" -}} {{- range $stable_sorted -}} {{- $status := trim (index .Params "overall-status" | default "") " " -}} {{- $status_class := "status-default" -}} {{- if eq $status "passing" -}} {{- $status_class = "status-passing" -}} {{- else if eq $status "partial" -}} {{- $status_class = "status-partial" -}} {{- else if eq $status "failing" -}} {{- $status_class = "status-failing" -}} {{- end -}} | {{ index .Params "timestamp" }} | {{ $comp }} | {{ index .Params "meshery-component-version" }} | {{ index .Params "meshery-server-version" }} | {{ index .Params "service-mesh" }} | {{ index .Params "service-mesh-version" }} | | Platform:
| Test results:
{{- if index .Params "tests" -}} {{- range $pod, $status := index .Params "tests" -}} {{- $test_icon := "/installation/compatibility-matrix/images/service-meshes/passing.svg" -}} {{- if eq (trim $status " ") "Running" -}} {{- $test_icon = "/installation/compatibility-matrix/images/service-meshes/passing.svg" -}} {{- else -}} {{- $test_icon = "/installation/compatibility-matrix/images/service-meshes/failing.svg" -}} {{- end -}} | | {{ $pod }} | {{- end -}} {{- else -}} | No test details available | {{- end -}} | {{- end -}} {{- end -}} {{ .Content }}