From e01e9d228bd98be7b8a2a0df7d4edf5d1758f4c4 Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Tue, 10 Oct 2023 17:57:09 -0400 Subject: [PATCH] only test openshift version 4.13.0-okd --- .github/actions/cmx-versions/dist/index.js | 7 +++++-- .github/actions/cmx-versions/index.js | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/actions/cmx-versions/dist/index.js b/.github/actions/cmx-versions/dist/index.js index 9609597e9c..85624a1de8 100644 --- a/.github/actions/cmx-versions/dist/index.js +++ b/.github/actions/cmx-versions/dist/index.js @@ -7666,6 +7666,11 @@ async function getClusterVersions() { return; } + if (distroName === 'openshift') { + // filtering out all versions except 4.13.0-okd for now per sc-90893 + distribution.versions = distribution.versions.filter((version) => version === '4.13.0-okd'); + } + const latestMinorVersions = {}; distribution.versions.forEach((version) => { const parsed = semverCoerce(version); @@ -7689,8 +7694,6 @@ async function getClusterVersions() { if (distroName === 'aks') { stage = 'alpha'; - } else if (distroName === 'openshift' && minorVersion === '4.10') { - stage = 'alpha'; } versionsToTest.push({ distribution: distroName, version: latestMinorVersions[distroName][minorVersion], stage }); diff --git a/.github/actions/cmx-versions/index.js b/.github/actions/cmx-versions/index.js index bcad5cafe4..213ffe0939 100644 --- a/.github/actions/cmx-versions/index.js +++ b/.github/actions/cmx-versions/index.js @@ -46,6 +46,11 @@ async function getClusterVersions() { return; } + if (distroName === 'openshift') { + // filtering out all versions except 4.13.0-okd for now per sc-90893 + distribution.versions = distribution.versions.filter((version) => version === '4.13.0-okd'); + } + const latestMinorVersions = {}; distribution.versions.forEach((version) => { const parsed = semverCoerce(version); @@ -69,8 +74,6 @@ async function getClusterVersions() { if (distroName === 'aks') { stage = 'alpha'; - } else if (distroName === 'openshift' && minorVersion === '4.10') { - stage = 'alpha'; } versionsToTest.push({ distribution: distroName, version: latestMinorVersions[distroName][minorVersion], stage });