Skip to content

fix(azure): custom image for Azure RHEL AI#748

Merged
adrianriobo merged 1 commit intoredhat-developer:mainfrom
ppitonak:azure_custom_image
Mar 27, 2026
Merged

fix(azure): custom image for Azure RHEL AI#748
adrianriobo merged 1 commit intoredhat-developer:mainfrom
ppitonak:azure_custom_image

Conversation

@ppitonak
Copy link
Copy Markdown
Collaborator

Flag custom-ami (AWS-specific name) renamed to custom-image (more neutral). The flag was completely ignored, it always was searching for 3.0.0

@ppitonak ppitonak requested a review from adrianriobo March 20, 2026 14:58
@ppitonak ppitonak marked this pull request as ready for review March 20, 2026 14:58
@ppitonak ppitonak force-pushed the azure_custom_image branch from 059b1ba to 8dc9f14 Compare March 24, 2026 08:35
@ppitonak
Copy link
Copy Markdown
Collaborator Author

Tested with RHEL AI 3.4.0-ea.1, I squashed commits and rebased

Accelerator string
Version string
CustomAMI string
CustomImage string
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh a s this is an API..we should decide in one arg name which will work for AMI in AWS and Image in Azure...you can leave CustomImageName or CustomVersion but only one which then will be translated to the right name for the provider

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated but not tested yet

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with both AWS and Azure

@adrianriobo
Copy link
Copy Markdown
Collaborator

Can you also check if the new azure naming is valid here? I mean rhel-ai-cuda-azure-3.4.0-ea.1 the ea.1 suffix

@ppitonak
Copy link
Copy Markdown
Collaborator Author

Can you also check if the new azure naming is valid here? I mean rhel-ai-cuda-azure-3.4.0-ea.1 the ea.1 suffix

Why would that be a problem? This is for custom image which can be anything (we already use strings like test-rhel-ai-cuda-aws-3.4.0-pr-1114696b, even this should work foo-1.2.3-abc-BAR-whatever)

@adrianriobo
Copy link
Copy Markdown
Collaborator

NVM I meant to test not with custom but with version, but that should be a different PR, I guess it works as it works for AWS and versions are treated the same

@ppitonak ppitonak force-pushed the azure_custom_image branch from 8dc9f14 to 17cf279 Compare March 26, 2026 12:21
@adrianriobo
Copy link
Copy Markdown
Collaborator

@ppitonak I do not see any change in azue tekton task? is if fine?

Flag custom-ami (AWS-specific name) renamed to custom-image (more
neutral) in both AWS and Azure. The flag was completely ignored,
it was always searching for 3.0.0

Signed-off-by: Pavol Pitonak <ppitonak@redhat.com>
@ppitonak ppitonak force-pushed the azure_custom_image branch from 17cf279 to fdc0337 Compare March 27, 2026 08:55
@ppitonak
Copy link
Copy Markdown
Collaborator Author

@adrianriobo you are right. I somehow missed Azure Tekton task, fixed now

Copy link
Copy Markdown
Collaborator

@adrianriobo adrianriobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adrianriobo adrianriobo merged commit c666446 into redhat-developer:main Mar 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants