-
Notifications
You must be signed in to change notification settings - Fork 752
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
WIP: Add support for (make check CHECK_BASE_IMAGES='fedora centos') #46
Conversation
fde2f02
to
708b043
Compare
c8000f9
to
b146465
Compare
FYI, my work in CentOS CI on PR testing is now triggering for skopeo. It chains into rpmdistro-gitoverlay (i.e. it's building the way we're shipping). See I'll post more about this when it's farther along. It might be worth looking at how rpmdistro-gitoverlay works, as I'd like it to be a convenient tool for local development too. (It's a bit away from that now, but it also has fundamental architectural advantages over |
8c52122
to
00c816b
Compare
e1d9083
to
3abf591
Compare
549dfcb
to
d074f04
Compare
796eb56
to
7039055
Compare
881bd51
to
22e0e1c
Compare
cea92cd
to
892498e
Compare
03c3521
to
b643c19
Compare
713b6a7
to
2c647c3
Compare
3dacc52
to
c1356c6
Compare
3.5 years since this has been updated? Should we close? |
Last updated less than a month ago, actually. I’d love for this to be integrated in some sort of CI (and for the CI not to spend >15 minutes building OpenShift 1.5 every single time), but this is still better than nothing. |
0e10426
to
494788d
Compare
494788d
to
38c8563
Compare
38c8563
to
ccdd077
Compare
This is intended for use in Travis (or perhaps also locally). The default behavior remains the same, uses the fedora image. (Note that the (yum install) does not fail when one of the packages is missing. This is not a dealbreaker, but it will make diagnosing future bugs more difficult.) Uses CentOS 7 because CentOS 8 is missing some necessary -devel packages. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
CentOS, as of bats-0.4.0-1.20141016git3b33a5a.el7.noarch, misses the fix for sstephenson/bats#89 , causing (read) not to split words at white space. Set IFS to the default value explicitly to work around this. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
ccdd077
to
d968fb9
Compare
A friendly reminder that this PR had no activity for 30 days. |
IMHO this PR should indeed be closed, it's no-longer relevant nor applicable given the amount of changes on the CI side. Downstream consumers need to have their own environment-independent test-suites. If those can reasonably be shared with upstream (i.e. like how we have a separate system-tests package for podman) that's fine. But it's unworkable to hold-back upstream development based on downstream (i.e. necessarily "old") environment requirements. |
(c/image is, unlike Podman, simple and environment-independent enough that adding compatibility upstream seemed easier than maintaining old stable branches; the major issue was just noticing that we broke something, hence this PR. OTOH that was much more of an issue when still targeting RHEL 7, and that’s no longer much of a concern.)
Given the recent changes, and that this originally targeted RHEL 7, I agree; especially with the recent changes to build test base images separately, imposing RHEL 7 targets on that work doesn’t make sense any more. |
This is intended for use in Travis, modifying the
make check
command to the above (but running this locally would of course also be possible). The default behavior remains the same, uses thefedora
image.At the moment, this does not work because in
centos
, thepython-pip
package is not available (perhaps in EPEL?).(Also note that the
(yum install)
does not fail when one of the packages is missing.)Anyone, feel free to take this over (adding conditionals to
Dockerfile
s? Maintaining aDockerfile.fedora
andDockerfile.centos
separately?) if you have the time.