src: Add rhel-94
This adds rhel94.
This commit is contained in:
parent
6f9c4f3864
commit
034843a708
9 changed files with 12 additions and 9 deletions
|
|
@ -1021,6 +1021,7 @@ components:
|
|||
- rhel-91
|
||||
- rhel-92
|
||||
- rhel-93
|
||||
- rhel-94
|
||||
- centos-8
|
||||
- centos-9
|
||||
- fedora-37
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ const Release = ({ release }: ReleaseProps) => {
|
|||
'rhel-91': 'RHEL 9.1',
|
||||
'rhel-92': 'RHEL 9.2',
|
||||
'rhel-93': 'RHEL 9.3',
|
||||
'rhel-94': 'RHEL 9.4',
|
||||
'centos-8': 'CentOS Stream 8',
|
||||
'centos-9': 'CentOS Stream 9',
|
||||
'fedora-35': 'Fedora 35',
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ export const OSBUILD_SERVICE_ARCHITECTURE_URL =
|
|||
'https://osbuild.org/docs/service/architecture/';
|
||||
|
||||
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_9 = 'centos-9';
|
||||
export const X86_64 = 'x86_64';
|
||||
|
|
|
|||
|
|
@ -349,6 +349,7 @@ export type Distributions =
|
|||
| "rhel-91"
|
||||
| "rhel-92"
|
||||
| "rhel-93"
|
||||
| "rhel-94"
|
||||
| "centos-8"
|
||||
| "centos-9"
|
||||
| "fedora-37"
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ describe('registration request generated correctly', () => {
|
|||
const blueprintRequest: CreateBlueprintRequest = {
|
||||
name: 'Red Velvet',
|
||||
description: '',
|
||||
distribution: 'rhel-93',
|
||||
distribution: 'rhel-94',
|
||||
image_requests: [imageRequest],
|
||||
customizations: {},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ export const imageRequest: ImageRequest = {
|
|||
export const blueprintRequest: CreateBlueprintRequest = {
|
||||
name: 'Red Velvet',
|
||||
description: '',
|
||||
distribution: 'rhel-93',
|
||||
distribution: 'rhel-94',
|
||||
image_requests: [imageRequest],
|
||||
customizations: {},
|
||||
};
|
||||
|
|
|
|||
2
src/test/fixtures/architectures.ts
vendored
2
src/test/fixtures/architectures.ts
vendored
|
|
@ -4,7 +4,7 @@ export const mockArchitecturesByDistro = (
|
|||
distro: Distributions
|
||||
): Architectures => {
|
||||
const mockDistros: { [key: string]: Architectures } = {
|
||||
'rhel-93': [
|
||||
'rhel-94': [
|
||||
{
|
||||
arch: 'x86_64',
|
||||
image_types: [
|
||||
|
|
|
|||
2
src/test/fixtures/blueprints.ts
vendored
2
src/test/fixtures/blueprints.ts
vendored
|
|
@ -268,7 +268,7 @@ export const baseImageRequest: ImageRequest = {
|
|||
export const baseCreateBlueprintRequest: CreateBlueprintRequest = {
|
||||
name: 'Red Velvet',
|
||||
description: '',
|
||||
distribution: 'rhel-93',
|
||||
distribution: 'rhel-94',
|
||||
image_requests: [baseImageRequest],
|
||||
customizations: {},
|
||||
};
|
||||
|
|
|
|||
8
src/test/fixtures/composes.ts
vendored
8
src/test/fixtures/composes.ts
vendored
|
|
@ -366,7 +366,7 @@ export const mockComposes: ComposesResponseItem[] = [
|
|||
created_at: '2023-10-17T00:01:02Z',
|
||||
image_name: 'oci-image',
|
||||
request: {
|
||||
distribution: 'rhel-93',
|
||||
distribution: 'rhel-94',
|
||||
image_name: 'oci-image',
|
||||
customizations: {},
|
||||
image_requests: [
|
||||
|
|
@ -386,7 +386,7 @@ export const mockComposes: ComposesResponseItem[] = [
|
|||
created_at: currentDateInString,
|
||||
image_name: 'expiring-oci-image',
|
||||
request: {
|
||||
distribution: 'rhel-93',
|
||||
distribution: 'rhel-94',
|
||||
image_name: 'oci-image',
|
||||
customizations: {},
|
||||
image_requests: [
|
||||
|
|
@ -950,7 +950,7 @@ export const mockStatus = (composeId: string): ComposeStatus => {
|
|||
},
|
||||
},
|
||||
request: {
|
||||
distribution: 'rhel-93',
|
||||
distribution: 'rhel-94',
|
||||
image_name: 'oci-image',
|
||||
customizations: {},
|
||||
image_requests: [
|
||||
|
|
@ -977,7 +977,7 @@ export const mockStatus = (composeId: string): ComposeStatus => {
|
|||
},
|
||||
},
|
||||
request: {
|
||||
distribution: 'rhel-93',
|
||||
distribution: 'rhel-94',
|
||||
image_name: 'oci-image',
|
||||
customizations: {},
|
||||
image_requests: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue