-
Notifications
You must be signed in to change notification settings - Fork 114
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
manifests: Rework to allow co-located builds for each RHEL version #803
Conversation
The whole looks good. |
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.
Thanks a lot for working on this!
It looks like the default is still 8.5 for the record?
I think one thing we should do pretty quickly after this lands is adjust the CI to cover both cases (at least 8.6 optionally) and also add a periodic that builds the non-default cases.
Yes, I would prefer to land this one on 8.5 and then try the switch to 8.6 again.
Agree. |
Thanks, fixed. |
Looks like we may be missing a symlink
|
Bundling this BZ in this PR: https://bugzilla.redhat.com/show_bug.cgi?id=2068148 |
/test validate |
See error about this, do we need to add the workaround?
|
/retest |
I went ahead and pushed #810 to this PR. |
/retest |
I'm OK with this as is, though I think long term it will be cleaner to do the same as fedora-coreos-config instead of having subdirectories. Which means we will either need to branch as we do there (e.g. with |
Are we intending to block on getting this in for 4.11 to do the 8.6 switch? Or are we going to try to re-revert again? |
Since we know we need to ship 8.6, I think my vote is:
|
Building SCOS live ISO, I got
|
I fought the black box of Prow for most of today trying to get this PR to work, but keep bumping into problems where the symlinked files to/from the
Interestingly, if I I've not yet uncovered a reasonable workaround for this, which allows for using the new layout in both local use cases and the Prow case. (I've reset the state of the PR to basically where I started hacking on it, with some small changes to the commits) |
@travier: The following tests failed, say
Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
The problem likely has something to do with the special cases in the virtio bits related to src/config - see coreos/coreos-assembler#2774 In fact I bet its: "Note: This only works for absolute symlinks today." right? |
I've not tested the use of absolute symlinks here, but this sounds likely |
This comment was marked as outdated.
This comment was marked as outdated.
Hmph, well it seemed to work locally, but not in a pod on build02. Guess that is a sign of my brain being fried for the day. |
If you want to test what is happening in Prow, you'll need to be sure to |
I tested two additional commits on top of this branch that got things working for the My branch also appears to work in the local, unprivileged container case. @travier WDYT? |
Maybe we should invert the relationship here, where we just pick a default version and symlink I think this is kind of what Jonathan suggested - #803 (comment) |
It's ugly but it seems to work - #849 |
I have another bug with cosa replacing the config -> config-git symlink to an absolute symlink when buiding locally. |
Alternative option in #852 |
Remove support for subdirectory in cosa init given that: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
We've merged #852 (see #852 (comment)) so I'll close this one. We can always revisit the directory layout if we figure out something better. |
coreos/coreos-assembler#2936 should make cosa handle symlinks better. |
Remove support for subdirectory in cosa init given that: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
Remove support for subdirectory in cosa init given that: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
Remove support for subdirectory in cosa init given that: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
Remove support for subdirectory in cosa init given that: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
Remove support for subdirectory in cosa init given that: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
Remove that support as: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
Remove that support as: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
Remove that support as: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
Remove that support as: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
Remove that support as: - we currently don't use this feature, - we chose another path for multiple version support in openshift/os as using subdirectories lead to a lot of additionnal complexity. See: openshift/os#803 This reverts commit 4781e46.
manifests: Split into common & RHEL 8.6 specific manifests
Keep RHEL 8.6 based RHCOS as the default
ci: Regroup tests in qemu & metal buckets
the only artifact used for the layering test.
ci: Make RHEL version explicit
Prepare for testing multiple RHEL versions.
ci: Prepare test names
Pre-create test names to be able to enable them in Prow before we merge
the corresponding test code.
Enable building RHCOS from different RHEL minor releases from the same branch and repo. This will enable us to work on RHEL 8.6 & 9.0 based RHCOS in parallel instead of using different branches or costly reverts.
Each RHEL minor release based RHCOS is now under a subfolder.
To try it out: