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

mantle/platform: Simplify failed unit detection & Only check that the VARIANT_ID is 'coreos' #3522

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

travier
Copy link
Member

@travier travier commented Jun 27, 2023

mantle/platform: Simplify failed unit detection

Do not special case the failed unit detection logic for each
distributions.

If we need to ignore some unit failures in the future for some
distributions, we should add support for this using a proper
kola-denylist entry instead so that we can track it properly.

This removes the special case for RHCOS which is no longer relevant as
we've moved to RHEL 9.

Also remove the test that are not relevant anymore.

This mostly reverts: #2261


mantle/platform: Only check that the VARIANT_ID is 'coreos'

We now have Fedora CoreOS, CentOS Stream CoreOS and RHEL CoreOS and they
all set 'coreos' as VARIANT_ID.

We don't need more complex checks here.

Do not special case the failed unit detection logic for each
distributions.

If we need to ignore some unit failures in the future for some
distributions, we should add support for this using a proper
kola-denylist entry instead so that we can track it properly.

This removes the special case for RHCOS which is no longer relevant as
we've moved to RHEL 9.

Also remove the test that are not relevant anymore.

This mostly reverts: coreos#2261
We now have Fedora CoreOS, CentOS Stream CoreOS and RHEL CoreOS and they
all set 'coreos' as VARIANT_ID.

We don't need more complex checks here.
@travier
Copy link
Member Author

travier commented Jun 28, 2023

/retest

1 similar comment
@travier
Copy link
Member Author

travier commented Jul 4, 2023

/retest

Copy link
Member

@ravanelli ravanelli left a comment

Choose a reason for hiding this comment

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

LGTM

@dustymabe
Copy link
Member

LGTM

@dustymabe dustymabe merged commit 354edb4 into coreos:main Jul 17, 2023
@travier travier deleted the variant-distro-simplification branch July 18, 2023 08:16
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.

3 participants