-
Notifications
You must be signed in to change notification settings - Fork 61
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
Multi-arch Build support #262
Conversation
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 Once the patch is verified, the new status will be reflected by the 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. |
2040072
to
0518694
Compare
@israel-hdez As discussed , we have created github workflow for multi-arch image build for latest & release tag. Please review |
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 |
.github/workflows/build.yaml
Outdated
with: | ||
registry: quay.io | ||
username: ${{ secrets.QUAY_USER }} | ||
password: ${{ secrets.QUAY_ACCESS_TOKEN }} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
.github/workflows/build.yaml
Outdated
echo "TAG=latest" >> $GITHUB_ENV | ||
elif [[ "${GITHUB_REF}" == refs/heads/release-* ]]; then | ||
VERSION="${GITHUB_REF#refs/heads/release-}" | ||
echo "TAG=v${VERSION}" >> $GITHUB_ENV |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
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.
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>
2afc689
to
c7527d6
Compare
Signed-off-by: Nishan Acharya IBM <mamabapuni@gmail.com>
/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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[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 |
It failed... the credentials I had on my records are outdated. I'll figure out the new credentials. |
Surely @israel-hdez . Thanks !! |
@Nash-123 it is all set now: |
* 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>
* 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>
* 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>
Update caikit-tgis and ovms for 2.16.1
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