Skip to content

Commit 06e57e4

Browse files
committed
NCL-9179 Add MVN RPM documentation
1 parent fce7833 commit 06e57e4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/components/BuildConfigCreateEditPage/BuildConfigCreateEditPage.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,15 @@ export const BuildConfigCreateEditPage = ({ isEditPage = false }: IBuildConfigCr
607607
isRequired
608608
label={buildConfigEntityAttributes.buildType.title}
609609
fieldId={buildConfigEntityAttributes.buildType.id}
610+
labelIcon={
611+
<TooltipWrapper
612+
tooltip={
613+
<>
614+
To view more information about {buildTypeData.MVN_RPM.title}, select an {buildTypeData.MVN_RPM.id} option.
615+
</>
616+
}
617+
/>
618+
}
610619
>
611620
<Select
612621
id={buildConfigEntityAttributes.buildType.id}
@@ -620,6 +629,17 @@ export const BuildConfigCreateEditPage = ({ isEditPage = false }: IBuildConfigCr
620629
))}
621630
</Select>
622631
<FormInputHelperText variant="error">{getFieldErrors(buildConfigEntityAttributes.buildType.id)}</FormInputHelperText>
632+
<FormInputHelperText variant="default">
633+
{getFieldValue(buildConfigEntityAttributes.buildType.id) === buildTypeData.MVN_RPM.id ? (
634+
<>
635+
The {buildTypeData.MVN_RPM.title} build is executing the alignment phase using PME and running Maven within the
636+
builder pod. For more detail on the build phase, please refer to the{' '}
637+
<a href="https://project-ncl.github.io/rpm-builder-maven-plugin/" target="_blank" rel="noopener noreferrer">
638+
RPM Builder Maven Plugin documentation <ExternalLinkAltIcon />
639+
</a>
640+
</>
641+
) : null}
642+
</FormInputHelperText>
623643
</FormGroup>
624644

625645
<FormGroup

0 commit comments

Comments
 (0)