From deb1eb329c64dc09e7a9fdfc56ec952bed648abb Mon Sep 17 00:00:00 2001 From: Gabriel McGoldrick Date: Wed, 30 Apr 2025 17:05:00 +0100 Subject: [PATCH] Update openshift page templates for local and preview builds --- _templates/_page_openshift.html.erb | 476 +++++++++++++++++++++++++--- 1 file changed, 429 insertions(+), 47 deletions(-) diff --git a/_templates/_page_openshift.html.erb b/_templates/_page_openshift.html.erb index c90d218d9c..70fd955c46 100644 --- a/_templates/_page_openshift.html.erb +++ b/_templates/_page_openshift.html.erb @@ -10,6 +10,8 @@ <%= (distro_key == "openshift-webscale") ? '' : '' %> + <%= (distro_key == "openshift-dpu") ? '' : '' %> + <%= ((["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.9", "3.10", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7"].include?(version)) && distro_key == "openshift-enterprise") ? '' : '' %> <%= [topic_title, subgroup_title].compact.join(' - ') %> | <%= group_title %> | <%= distro %> <%= version %> @@ -24,6 +26,7 @@ + @@ -38,12 +41,45 @@ <%= render("_templates/_topnav.html.erb", :distro_key => distro_key) %> <% - unsupported_versions = ["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.9", "3.10", "4.1", "4.2", "4.3", "4.4", "4.5"]; + unsupported_versions = ["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.9", "3.10", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "4.8", "4.9", "4.10", "4.11", "4.13"]; + + unsupported_versions_acs = ["3.65", "3.66", "3.67", "3.68", "3.69", "3.70", "3.71", "3.72", "3.73", "3.74", "4.0", "4.1", "4.2", "4.3"]; + + unsupported_versions_serverless = ["1.28", "1.29", "1.30", "1.31"]; + + unsupported_versions_pipelines = ["1.10", "1.11", "1.12"]; + + unsupported_versions_gitops = ["1.8", "1.9", "1.10", "1.11"]; + + unsupported_versions_builds = []; + + unsupported_versions_origin = ["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.9", "3.10", "3.11", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "4.8", "4.9", "4.10", "4.11", "4.12"]; + %>
-