-
Notifications
You must be signed in to change notification settings - Fork 111
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: Add RHEL 9.0 based RHCOS and SCOS #773
Conversation
/hold |
@travier I'm not sure if the |
Refer to https://bugzilla.redhat.com/show_bug.cgi?id=1988164, it would be better to add the bug link to track the issue |
Get following error, maybe need to fix this first |
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.
Overall looks good to me.
Re the symlink swap thing though... see coreos/coreos-assembler#1459
Instead of having to update the symlink (which dirties the git repo), we could put it in a subdirectory, e.g. |
/retest |
I've tried that in the latest commit. Not sure it's a great option. It emphasizes making two different cosa init working dir to build both RHCOS and SCOS when I would prefer we push for building both from a single cosa init to make testing a change for both easier. It would also only be used by the CI as swapping the symlink is still the easier option locally. I'm starting to think that we should revive the variant work from Colin. |
f975e2d
to
8e569dc
Compare
Will have to be retried once the above PR made its way into a new cosa build. |
Hmmmm. At least personally, I have separate working directories for them. How often would one really want to build both in the same working directory? It feels weird because then what happens when you This is not a really strongly held opinion but I lean a bit towards pulling off the band-aid and saying clearly: we need to do both and support both equally. And that means there shouldn't be a default. Instead, let's move the rhel bits into e.g. |
Using explicit directories could be a good idea indeed. I'd say having a simple way to build both from the same checkout is useful when testing a change that will impact both instead of having to sync the change between two clones but it's not that big of a deal so I'm fine either way. |
/retest |
Ah but locally, you have that today! What I do is e.g.: So concretely to set up both in this proposal:
And the two will share the same git checkout. If you update e.g. something in the manifest, you can do:
to build and test both. |
See openshift/os#773 Fix issue ``` $ cosa kola run ostree.basic kola -p qemu-unpriv --output-dir tmp/kola run ostree.basic === RUN ostree.basic --- FAIL: ostree.basic (57.14s) harness.go:1443: mach.Start() failed: machine "ea43750e-e04b-4632-b966-caff659a5214" failed basic checks: not a supported instance: scos-coreos FAIL, output in tmp/kola Error: harness: test suite failed 2022-06-10T09:12:23Z cli: harness: test suite failed ```
Supported: - scos- - scos-coreos - rhcos- - rhcos-coreos See openshift/os#773 Fix issue ``` $ cosa kola run ostree.basic harness.go:1443: mach.Start() failed: machine "ea43750e-e04b-4632-b966-caff659a5214" failed basic checks: not a supported instance: scos-coreos ```
- Only build the ostree aci container archive in the build step as it's the only artifact used for the layering test. - Group the remaining tests in two buckets: qemu & metal. - Disable the now uneeded tests.
Prepare for testing multiple RHEL versions.
Pre-create test names to be able to enable them in Prow before we merge the corresponding test code.
Keep Dockerfiles in openshift release to be able to test changes. See: https://docs.ci.openshift.org/docs/architecture/ci-operator/#build-root-image
Those scripts have been merged into prow-entrypoint.sh.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cgwalters, travier The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Needs openshift/release#29371 first |
Needs #803 |
/retest |
@travier: PR needs rebase. 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. |
@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. |
Closing in favor of #854 |
Supported: - scos- - scos-coreos - rhcos- - rhcos-coreos See openshift/os#773 Fix issue ``` $ cosa kola run ostree.basic harness.go:1443: mach.Start() failed: machine "ea43750e-e04b-4632-b966-caff659a5214" failed basic checks: not a supported instance: scos-coreos ```
Supported: - scos- - scos-coreos - rhcos- - rhcos-coreos See openshift/os#773 Fix issue ``` $ cosa kola run ostree.basic harness.go:1443: mach.Start() failed: machine "ea43750e-e04b-4632-b966-caff659a5214" failed basic checks: not a supported instance: scos-coreos ```
Add the manifests needed to build RHEL 9.0 based RHCOS and CentOS Stream CoreOS (SCOS)
Based on #803.