-
Notifications
You must be signed in to change notification settings - Fork 2
Fix action not working on debians and in containers #45
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
Conversation
c2d3ea2
to
dbb5503
Compare
a5d6d13
to
7069e81
Compare
Thank you for the decent work! I would like to comment a situation with 'disappearing' of the tarantool-1.10.12 package (described by this commit from the PR). CI jobs that experience the problem use I think we can build such package and deploy it to |
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.
The patchset looks nice. I've nothing to add here except a few nits (see above).
Let's resolve them (or let me know that you're out of free time) and I'll proceed with the pull request.
b2d8475
to
c052c70
Compare
cd46117
to
95201ed
Compare
This should make this action usable on any debian-based distros.
95201ed
to
16f0e17
Compare
In ubuntu:22.04 docker man dpkg contains following: "-L|--listfiles <package>... List files 'owned' by package(s)." `dpkg -L cmake` mentions file /usr/share/doc/cmake/NEWS.Debian.gz, which is not present in the system after successful `apt-get -y install cmake`. This file is not installed because it matches exclude-path in dpkg config, and `apt-get install` respects this config option, while `dpkg -L` doesn't. This leads to setup-tarantool failing during packaging cache. This patch filters `dpkg -L` output according to dpkg configs. Closes #44
In manpages-dev package there is a know bug with broken symlinks in /usr/share/man/man3/. There is no hope that it will be fixed. Let's add a hack to bypass it. More info: https://groups.google.com/g/linux.debian.bugs.dist/c/w5HiAxl7e7Y
Previously it was trying to install 1.10.12, which looks like it is not in our repository right now.
It has been deprecated sometime ago: actions/runner-images#6002
16f0e17
to
5a4e664
Compare
Thanks for in-depth review and help with figuring out some details! I've fixed everything you mentioned in your review, feel free merge if you have no further comments. I would also suggest rewriting |
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.
Looks good for me. Thanks!
There are two problems preventing this action working on debian (not ubuntu) and in containers. This PR fixes them, as well as some issues in our CI, preventing the tests to pass. See commit messages for more info.
Closes #44