From ac03f1c9ff9eb0ea20ecf4bc081e0ed9ed27e5dc Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Mon, 9 Oct 2023 08:53:10 -0400 Subject: [PATCH] exclude 4.10.0-okd --- .github/actions/cmx-versions/dist/index.js | 9 ++++----- .github/actions/cmx-versions/index.js | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/actions/cmx-versions/dist/index.js b/.github/actions/cmx-versions/dist/index.js index d42c4732a3..8e305f7281 100644 --- a/.github/actions/cmx-versions/dist/index.js +++ b/.github/actions/cmx-versions/dist/index.js @@ -7666,11 +7666,10 @@ async function getClusterVersions() { return; } - // if (distroName === 'aks') { - // // excluding aks for now - // // TODO: add aks back in when we support some sort of filtering - // return; - // } + if (distroName === 'openshift') { + // it was recommended to exclude 4.10.0-okd from testing for now + distribution.versions = distribution.versions.filter((v) => v !== '4.10.0-okd'); + } const latestMinorVersions = {}; distribution.versions.forEach((version) => { diff --git a/.github/actions/cmx-versions/index.js b/.github/actions/cmx-versions/index.js index bca306b1e9..526e672510 100644 --- a/.github/actions/cmx-versions/index.js +++ b/.github/actions/cmx-versions/index.js @@ -46,11 +46,10 @@ async function getClusterVersions() { return; } - // if (distroName === 'aks') { - // // excluding aks for now - // // TODO: add aks back in when we support some sort of filtering - // return; - // } + if (distroName === 'openshift') { + // it was recommended to exclude 4.10.0-okd from testing for now + distribution.versions = distribution.versions.filter((v) => v !== '4.10.0-okd'); + } const latestMinorVersions = {}; distribution.versions.forEach((version) => {