src: Add rhel-94

This adds rhel94.
This commit is contained in:
regexowl 2024-05-02 16:10:17 +02:00 committed by Klara Simickova
parent 6f9c4f3864
commit 034843a708
9 changed files with 12 additions and 9 deletions

View file

@ -1021,6 +1021,7 @@ components:
- rhel-91 - rhel-91
- rhel-92 - rhel-92
- rhel-93 - rhel-93
- rhel-94
- centos-8 - centos-8
- centos-9 - centos-9
- fedora-37 - fedora-37

View file

@ -22,6 +22,7 @@ const Release = ({ release }: ReleaseProps) => {
'rhel-91': 'RHEL 9.1', 'rhel-91': 'RHEL 9.1',
'rhel-92': 'RHEL 9.2', 'rhel-92': 'RHEL 9.2',
'rhel-93': 'RHEL 9.3', 'rhel-93': 'RHEL 9.3',
'rhel-94': 'RHEL 9.4',
'centos-8': 'CentOS Stream 8', 'centos-8': 'CentOS Stream 8',
'centos-9': 'CentOS Stream 9', 'centos-9': 'CentOS Stream 9',
'fedora-35': 'Fedora 35', 'fedora-35': 'Fedora 35',

View file

@ -41,7 +41,7 @@ export const OSBUILD_SERVICE_ARCHITECTURE_URL =
'https://osbuild.org/docs/service/architecture/'; 'https://osbuild.org/docs/service/architecture/';
export const RHEL_8 = 'rhel-89'; export const RHEL_8 = 'rhel-89';
export const RHEL_9 = 'rhel-93'; export const RHEL_9 = 'rhel-94';
export const CENTOS_8 = 'centos-8'; export const CENTOS_8 = 'centos-8';
export const CENTOS_9 = 'centos-9'; export const CENTOS_9 = 'centos-9';
export const X86_64 = 'x86_64'; export const X86_64 = 'x86_64';

View file

@ -349,6 +349,7 @@ export type Distributions =
| "rhel-91" | "rhel-91"
| "rhel-92" | "rhel-92"
| "rhel-93" | "rhel-93"
| "rhel-94"
| "centos-8" | "centos-8"
| "centos-9" | "centos-9"
| "fedora-37" | "fedora-37"

View file

@ -89,7 +89,7 @@ describe('registration request generated correctly', () => {
const blueprintRequest: CreateBlueprintRequest = { const blueprintRequest: CreateBlueprintRequest = {
name: 'Red Velvet', name: 'Red Velvet',
description: '', description: '',
distribution: 'rhel-93', distribution: 'rhel-94',
image_requests: [imageRequest], image_requests: [imageRequest],
customizations: {}, customizations: {},
}; };

View file

@ -52,7 +52,7 @@ export const imageRequest: ImageRequest = {
export const blueprintRequest: CreateBlueprintRequest = { export const blueprintRequest: CreateBlueprintRequest = {
name: 'Red Velvet', name: 'Red Velvet',
description: '', description: '',
distribution: 'rhel-93', distribution: 'rhel-94',
image_requests: [imageRequest], image_requests: [imageRequest],
customizations: {}, customizations: {},
}; };

View file

@ -4,7 +4,7 @@ export const mockArchitecturesByDistro = (
distro: Distributions distro: Distributions
): Architectures => { ): Architectures => {
const mockDistros: { [key: string]: Architectures } = { const mockDistros: { [key: string]: Architectures } = {
'rhel-93': [ 'rhel-94': [
{ {
arch: 'x86_64', arch: 'x86_64',
image_types: [ image_types: [

View file

@ -268,7 +268,7 @@ export const baseImageRequest: ImageRequest = {
export const baseCreateBlueprintRequest: CreateBlueprintRequest = { export const baseCreateBlueprintRequest: CreateBlueprintRequest = {
name: 'Red Velvet', name: 'Red Velvet',
description: '', description: '',
distribution: 'rhel-93', distribution: 'rhel-94',
image_requests: [baseImageRequest], image_requests: [baseImageRequest],
customizations: {}, customizations: {},
}; };

View file

@ -366,7 +366,7 @@ export const mockComposes: ComposesResponseItem[] = [
created_at: '2023-10-17T00:01:02Z', created_at: '2023-10-17T00:01:02Z',
image_name: 'oci-image', image_name: 'oci-image',
request: { request: {
distribution: 'rhel-93', distribution: 'rhel-94',
image_name: 'oci-image', image_name: 'oci-image',
customizations: {}, customizations: {},
image_requests: [ image_requests: [
@ -386,7 +386,7 @@ export const mockComposes: ComposesResponseItem[] = [
created_at: currentDateInString, created_at: currentDateInString,
image_name: 'expiring-oci-image', image_name: 'expiring-oci-image',
request: { request: {
distribution: 'rhel-93', distribution: 'rhel-94',
image_name: 'oci-image', image_name: 'oci-image',
customizations: {}, customizations: {},
image_requests: [ image_requests: [
@ -950,7 +950,7 @@ export const mockStatus = (composeId: string): ComposeStatus => {
}, },
}, },
request: { request: {
distribution: 'rhel-93', distribution: 'rhel-94',
image_name: 'oci-image', image_name: 'oci-image',
customizations: {}, customizations: {},
image_requests: [ image_requests: [
@ -977,7 +977,7 @@ export const mockStatus = (composeId: string): ComposeStatus => {
}, },
}, },
request: { request: {
distribution: 'rhel-93', distribution: 'rhel-94',
image_name: 'oci-image', image_name: 'oci-image',
customizations: {}, customizations: {},
image_requests: [ image_requests: [