Skip to content
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

Support skipping or overriding additional arches per stream #747

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Nov 9, 2022

Add support for skip_additional_arches and additional_arches keys in
the stream-level section. E.g. currently for FCOS, we're not shipping
ppc64le for the production streams.

This will also be useful for RHCOS in the future when e.g. keeping older
streams alive on only a subset of arches.

@jlebon
Copy link
Member Author

jlebon commented Nov 9, 2022

Requires: #740

docs/config.yaml Outdated Show resolved Hide resolved
Comment on lines +79 to +80
skip_additional_arches:
- s390x
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The use of the term additional in the toplevel key makes this key confusing. I would almost expect it to be skip_arches and not skip_additional_arches, but I understand tying it back to the name of the toplevel key.

I almost wonder if secondary_arches should be the toplevel key.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's a bit awkward but I wanted to be consistent with the naming. It also conveys a bit more the fact that you can't skip x86_64, only arches that are valid in additional_arches.

Switching to secondary would indeed read a bit better I think. Let's do that in a follow-up?

Add support for `skip_additional_arches` and `additional_arches` keys in
the stream-level section. E.g. currently for FCOS, we're not shipping
ppc64le for the production streams.

This will also be useful for RHCOS in the future when e.g. keeping older
streams alive on only a subset of arches.
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jlebon jlebon marked this pull request as ready for review November 16, 2022 22:13
@dustymabe dustymabe merged commit 6a36ceb into coreos:main Nov 16, 2022
@jlebon jlebon deleted the pr/skip-arches branch April 24, 2023 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants