-
Notifications
You must be signed in to change notification settings - Fork 177
Use Yetus container from lfedge/eve-yetus #5397
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
base: master
Are you sure you want to change the base?
Conversation
Start to use our Yetus container, which has dependencies already installed (e.g. ZFS lib, etc). Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
rucoder
left a comment
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.
@rene please give a URL to source code repo for the container in the commit and PR description. i tried github.com/lf-edge/eve-yetus but it doesn't exist
|
@rucoder , we had a discuss before about create a lf-edge/eve-yetus project and one of the points raised was that this would be a new project to maintain, build, etc, my plan is to provide the sources here in eve repo and create a GH action to build the eve-yetus image on demand (since this is something we won't upgrade very often).... I don't mind to do that in this PR, but this will take time, or we can merge this one and leave a bit more just with the image.... |
That makes sense. But please add a disclaimer then. |
| @echo Running yetus | ||
| mkdir -p yetus-output | ||
| docker run --rm -v $(CURDIR):/src:delegated,z ghcr.io/apache/yetus:0.15.1 \ | ||
| docker run --rm -v $(CURDIR):/src:delegated,z docker.io/lfedge/eve-yetus: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.
@rene to be honest using 'latest' is not a good idea. we will not be able to track changes besides if we ever intruduce incomaptibility e.g. in linter settings "old" branches may stat failing eventually
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.
that's the only TAG we have available.... I will handle in the other PR....
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.
@rucoder , see my other PR. I don't want to use something like 0.15.1 because we are customizing the image, so I'm open for a good version scheme suggestion. Otherwise, I think it's ok to keep latest on master, we can create other TAGs for stable branches in the future...
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.
@rene why don't we put a tag eve-yetus-0.15.1 - so we know it is eve and it is based on 0.15.1, now we can troubleshoot future yetus issue if e.g. one PR runs yetus successfully and then you push new version and another PR failed on yetus
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.
@rene why don't we put a tag eve-yetus-0.15.1 - so we know it is eve and it is based on 0.15.1, now we can troubleshoot future yetus issue if e.g. one PR runs yetus successfully and then you push new version and another PR failed on yetus
@rene or better eve-yetus-0.15.1-1 where -1 is internal revision e.g. you updated golint
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, let me rework a bit and I will update the PR....
Description
Start to use our Yetus container, which has dependencies already installed (e.g. ZFS lib, etc).
How to test and validate this PR
Run the following commands and check if everything works:
make yetusmake mini-yetusChangelog notes
No user-facing changes.
PR Backports
Checklist
check them.