-
Notifications
You must be signed in to change notification settings - Fork 86
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
cloud-api-adaptor: Support podman in Build.sh #1798
base: main
Are you sure you want to change the base?
Conversation
Please test with docker before merging. Was tested with podman. |
Please, do not merge this PR before 0.8.2 release is cut. |
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 gave this a quick try locally and it seemed to work for me. Thanks @davidhadas
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 @davidhadas I have tested and lgtm, thanks.
Just one small comment for you.
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 @davidhadas this lgtm, but we still have one test failing:
Do you mind taking a look?
Can we run the tests again to see if this is a transient test issue or somehow related to the change we made? |
It seems to be related:
In any case I re triggered the failed jobs. |
Yes - I seems related as the PR adds in the |
Does it make sense to keep the changes for single arch and revert it to the multi-arch? If this does not make sense, maybe we should drop this PR for now. |
I think it is fair to say that developers are most likely to build single arch (an example case in point being that I did exactly that when I tested this) and the CI process does multi-arch. I'm personally a little bit reluctant to add complexity in adding two different ways, but if it can be done fairly simply then I'd be open to it. |
Tests still fail - not sure why. |
I was able to reproduce this locally using your branch:
|
Should you not be using |
Somehow the CI tests use This results in multi arch reaching the |
Update build.sh to support `podman` `podman` does not support the --push flag This change only apply to building caa images in a development enviroment where a single arch is used. `podman` is not supported for building multi-arch. Use Docker instead. Signed-off-by: David Hadas <[email protected]>
The e2e_run_all workflow uses
make image whereas the publish image on push and release workflows use the multi-arch version I think (which I think for performance reasons builds all the images for a single arch and then makes a manifest for them at the end. I don't know why it is using different code, it might be possible to unify it.
|
/hold till we figure this out. |
Update build.sh to support podman
podman does not support the --push flag