drop centos stream 8

CentOS Stream 8 is EOL, thus we should no longer offer it in the
service, because it can pose a security risk.

See https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/
This commit is contained in:
Ondřej Budai 2024-06-11 20:19:55 +02:00 committed by Klara Simickova
parent fa12ff7588
commit 642cb10036
9 changed files with 15 additions and 83 deletions

View file

@ -3,7 +3,6 @@ import { userEvent } from '@testing-library/user-event';
import {
AARCH64,
CENTOS_8,
CENTOS_9,
CREATE_BLUEPRINT,
RHEL_8,
@ -82,15 +81,6 @@ const selectRhel9 = async () => {
await userEvent.click(rhel9);
};
const selectCentos8 = async () => {
await openReleaseMenu();
await clickShowOptions();
const centos8 = await screen.findByRole('option', {
name: 'CentOS Stream 8',
});
await userEvent.click(centos8);
};
const selectCentos9 = async () => {
await openReleaseMenu();
await clickShowOptions();
@ -175,20 +165,6 @@ describe('distribution request generated correctly', () => {
expect(receivedRequest).toEqual(expectedRequest);
});
test('centos-8', async () => {
await renderCreateMode();
await selectCentos8();
await goToReviewStep();
const receivedRequest = await interceptBlueprintRequest(CREATE_BLUEPRINT);
const expectedRequest: CreateBlueprintRequest = {
...blueprintRequest,
distribution: CENTOS_8,
};
expect(receivedRequest).toEqual(expectedRequest);
});
});
describe('architecture request generated correctly', () => {