Skip to content

Commit

Permalink
only test openshift version 4.13.0-okd
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell committed Oct 10, 2023
1 parent 0998aba commit e01e9d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/actions/cmx-versions/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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 });
Expand Down
7 changes: 5 additions & 2 deletions .github/actions/cmx-versions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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 });
Expand Down

0 comments on commit e01e9d2

Please sign in to comment.