Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-arch Build support #262

Merged
merged 7 commits into from
Sep 13, 2024

Conversation

Nash-123
Copy link
Contributor

@Nash-123 Nash-123 commented Aug 30, 2024

  1. Created a github workflow to build & publish multi-arch image .
  2. Tested locally & find the snapshot below .
    EE95437B-D74E-40A6-894D-E9C0740FA04A
  3. Please ensure that the following secrets are created in the repository settings. These secrets are required for authentication with the Quay registry:
  • QUAY_USERNAME: The username for Quay registry authentication.

  • QUAY_PASSWORD: The password for Quay registry authentication.

  • @israel-hdez , please help to review the changes and provide feedback

Copy link
Contributor

openshift-ci bot commented Aug 30, 2024

Hi @Nash-123. Thanks for your PR.

I'm waiting for a opendatahub-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@modassarrana89
Copy link

@israel-hdez As discussed , we have created github workflow for multi-arch image build for latest & release tag. Please review

@Nash-123
Copy link
Contributor Author

Nash-123 commented Sep 6, 2024

Hi @israel-hdez / @VedantMahabaleshwarkar , can you please help to review the PR, we have created github workflow for multi-arch image(arm64,amd64,power,s390x) build for latest and release tag

with:
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_ACCESS_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

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

In our other repos, we are using QUAY_PASSWORD rather than access token (example).

May you replace QUAY_ACCESS_TOKEN with QUAY_PASSWORD for consistency?

Choose a reason for hiding this comment

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

@Nash-123 Please address this change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@israel-hdez I've replaced QUAY_ACCESS_TOKEN with QUAY_PASSWORD and have updated the PR description to include instructions for creating the secret. Please review and let us know if there are any further changes needed.

echo "TAG=latest" >> $GITHUB_ENV
elif [[ "${GITHUB_REF}" == refs/heads/release-* ]]; then
VERSION="${GITHUB_REF#refs/heads/release-}"
echo "TAG=v${VERSION}" >> $GITHUB_ENV
Copy link
Contributor

Choose a reason for hiding this comment

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

are you happy with vX.Y.Z? or would you rather vX.Y.Z-latest?

Choose a reason for hiding this comment

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

@israel-hdez We have stick to 2 different type of tags i.e. currently available for x86 on quay repository

  • Release Tag ( v0.11.0)
  • latest

Please suggest how did you want us to handle it. Should we stick to the same naming convention for tag or the one which you have suggested in comments ie vX.Y.Z-latest

Copy link
Contributor

Choose a reason for hiding this comment

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

I was checking our prow/tide configs and it's using the vX.Y.Z tags. So, it is a conflict and this workflow and prow/tide can overwrite the other image, depending on which one push at last.

It will be better to use a -latest suffix, or some other suffix to prevent the conflict.

Choose a reason for hiding this comment

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

ok

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @israel-hdez, we've made the changes as requested to add a suffix to the tag (vX.Y.Z-latest). Please help to review.

Nash-123 and others added 4 commits September 10, 2024 09:29
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>
…atahub-io#257)

it's the default

Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com>
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>
…h-model-controller (opendatahub-io#263)

Signed-off-by: Spolti <fspolti@redhat.com>
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>
@israel-hdez
Copy link
Contributor

/ok-to-test

@Nash-123 @modassarrana89 Let me configure the secrets in the repo (there are no secrets) on my Friday and I'll merge after that. If this new workflow would run, images would be built and we can check that it works.

Copy link
Contributor

@israel-hdez israel-hdez left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Contributor

openshift-ci bot commented Sep 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: israel-hdez, Nash-123

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 0af4425 into opendatahub-io:main Sep 13, 2024
3 checks passed
@israel-hdez
Copy link
Contributor

It failed... the credentials I had on my records are outdated. I'll figure out the new credentials.

@Nash-123
Copy link
Contributor Author

Surely @israel-hdez . Thanks !!

@israel-hdez
Copy link
Contributor

@Nash-123 it is all set now:
image

@rareddy
Copy link

rareddy commented Sep 20, 2024

@dhirajsb @isinyaaa anything we can learn from here?

mholder6 pushed a commit to mholder6/odh-model-controller that referenced this pull request Oct 4, 2024
* Enabled CI to provide additional support for s390x and power

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* Modified Quay Access token to Password for consistency

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* runtimes: remove distributed executor backend option from vllm (opendatahub-io#257)

it's the default

Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com>
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* [RHOAIENG-9746] - Missing log entry in StorageConfig controller of odh-model-controller (opendatahub-io#263)

Signed-off-by: Spolti <fspolti@redhat.com>
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* Modified the tag to vX.Y.Z-latest format

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

---------

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>
Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com>
Signed-off-by: Spolti <fspolti@redhat.com>
Co-authored-by: Daniele <36171005+dtrifiro@users.noreply.github.com>
Co-authored-by: Filippe Spolti <fspolti@redhat.com>
mholder6 pushed a commit to mholder6/odh-model-controller that referenced this pull request Oct 4, 2024
* Enabled CI to provide additional support for s390x and power

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* Modified Quay Access token to Password for consistency

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* runtimes: remove distributed executor backend option from vllm (opendatahub-io#257)

it's the default

Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com>
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* [RHOAIENG-9746] - Missing log entry in StorageConfig controller of odh-model-controller (opendatahub-io#263)

Signed-off-by: Spolti <fspolti@redhat.com>
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* Modified the tag to vX.Y.Z-latest format

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

---------

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>
Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com>
Signed-off-by: Spolti <fspolti@redhat.com>
Co-authored-by: Daniele <36171005+dtrifiro@users.noreply.github.com>
Co-authored-by: Filippe Spolti <fspolti@redhat.com>
Signed-off-by: mholder6 <marholde@redhat.com>
openshift-merge-bot bot pushed a commit that referenced this pull request Oct 4, 2024
* Multi-arch Build support (#262)

* Enabled CI to provide additional support for s390x and power

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* Modified Quay Access token to Password for consistency

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* runtimes: remove distributed executor backend option from vllm (#257)

it's the default

Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com>
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* [RHOAIENG-9746] - Missing log entry in StorageConfig controller of odh-model-controller (#263)

Signed-off-by: Spolti <fspolti@redhat.com>
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

* Modified the tag to vX.Y.Z-latest format

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>

---------

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>
Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com>
Signed-off-by: Spolti <fspolti@redhat.com>
Co-authored-by: Daniele <36171005+dtrifiro@users.noreply.github.com>
Co-authored-by: Filippe Spolti <fspolti@redhat.com>
Signed-off-by: mholder6 <marholde@redhat.com>

* Updated manifests to have 1 replica of odh-model-controller pods instead of 3 (#268)

Signed-off-by: mholder6 <marholde@redhat.com>

* Sync with main branch

Signed-off-by: mholder6 <marholde@redhat.com>

---------

Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>
Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com>
Signed-off-by: Spolti <fspolti@redhat.com>
Signed-off-by: mholder6 <marholde@redhat.com>
Co-authored-by: Nishan Acharya <58680481+Nash-123@users.noreply.github.com>
Co-authored-by: Daniele <36171005+dtrifiro@users.noreply.github.com>
Co-authored-by: Filippe Spolti <fspolti@redhat.com>
spolti pushed a commit to spolti/odh-model-controller that referenced this pull request Jan 20, 2025
Update caikit-tgis and ovms for 2.16.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants