containerdisks icon indicating copy to clipboard operation
containerdisks copied to clipboard

Add s390x Artifacts

Open Rurouni-Jiaxin opened this issue 1 year ago • 8 comments

What this PR does / why we need it:

I create this PR as part of the bigger effort to enable KubeVirt on s390x, a.k.a IBM Z ( please refer to : https://github.com/kubevirt/kubevirt/pull/10490 ). It appears that https://github.com/kubevirt/common-instancetypes/ depends on containerdisks.

Therefore I added "s390x" entries to existing Feodora, CentOS Stream and Ubuntu Artifact / registries.

I have not added any tests to either artifacts/fedora/fedora_test.go , artifacts/centosstream/centos-stream_test.go, or artifacts/ubuntu/ubuntu_test.go, because the tests appears to only verify the parsing function.

TO DO:

Discuss whether other Linux distros, e.g. OpenSUSE is needed for s390x.

Special notes for your reviewer:

Release note:


Rurouni-Jiaxin avatar Aug 26 '24 19:08 Rurouni-Jiaxin

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

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-sigs/prow repository.

kubevirt-bot avatar Aug 26 '24 19:08 kubevirt-bot

Hi @Rurouni-Jiaxin. Thanks for your PR.

PRs from untrusted users cannot be marked as trusted with /ok-to-test in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all.

I understand the commands that are listed here.

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-sigs/prow repository.

kubevirt-bot avatar Aug 26 '24 19:08 kubevirt-bot

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign dominikholler for approval. For more information see the Kubernetes Code Review Process.

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 /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

kubevirt-bot avatar Aug 26 '24 19:08 kubevirt-bot

@Rurouni-Jiaxin Thanks for your PR! Could you please add a description to your commit and sign it off?

jcanocan avatar Aug 27 '24 07:08 jcanocan

Hi! Thanks for your contribution!

You are right that the unit tests are mainly focused on parsing data returned from the mirrors. Nonetheless, can you please add unit tests for s390x in the artifacts you touched? (fedora, centosstream and ubuntu). Opensuse does not ship cloud images for s390x, so it is okay to leave it out.

Are you going to add s390x preferences to common-instancetypes soon? Otherwise I would like to ask you to remove the instancetypes/preferences from the images env variables for now.

We don't have automated testing for aarch64 artifacts yet but we're looking to add that in the future. Would you be able to provide resources to automate the testing of s390x artifacts?

Last question: Did you verify the newly created containerdisks are able to boot in your local environment?

Regarding s390x resources, I assume by looking at the nodeSelector in these ProwJobs, that bare metal servers are required. Such resources would be available on s390x, but it will take time.

Rurouni-Jiaxin avatar Aug 27 '24 13:08 Rurouni-Jiaxin

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.

:memo: Please follow instructions in the contributing guide to update your commits with the DCO

Full details of the Developer Certificate of Origin can be found at developercertificate.org.

The list of commits missing DCO signoff:

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-sigs/prow repository. I understand the commands that are listed here.

kubevirt-bot avatar Aug 29 '24 10:08 kubevirt-bot

Still testing on my local s390x environment

Rurouni-Jiaxin avatar Sep 03 '24 15:09 Rurouni-Jiaxin

/hold

Rurouni-Jiaxin avatar Sep 24 '24 16:09 Rurouni-Jiaxin

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-sigs/prow repository.

kubevirt-bot avatar Nov 11 '24 22:11 kubevirt-bot

Closing as https://github.com/kubevirt/containerdisks/pull/203 has now landed introducing centos stream and ubuntu artefacts, please feel to rebase and reopen if you want to use this PR to add more.

lyarwood avatar Nov 12 '24 09:11 lyarwood