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

[DRAFT] upstream CI: enhance test selection #846

Closed
wants to merge 4 commits into from

Conversation

rjeffman
Copy link
Member

As seen on PR #845, sometimes it is required that tests are
disabled based on the Linux distribution used, and that tests
that are not selected to be executed are not scheduled for
execution.

This PR addresses both issues by adding new environment
variables (and the corresponding variable to Azure variables
template file) to configure tests that should not run based on
the distribution used for testing.

The available variables are:

  • IPA_DISABLED_FEDORA_36: for Fedora 36
  • IPA_DISABLED_CENTOS_9: for CentOS 9 Stream
  • IPA_DISABLED_CENTOS_8: for CentOS 8 Stream
  • IPA_DISABLED_CENTOS_7: for CentOS 7

This patch adds IPA_DISABLED_<DISTRO>_<VERSION> option that allow tests
to be disabled depending on the Linux distribution used by the testing
image.
Currently, all tests are scheduled to execution, even those that are
not executed due to be absent from the list of enabled tests configured
in the IPA_ENABLED_* variables. The tests that are not executed are
marked 'skipped'.

This patch change this behavior by no scheduling tests that are not on
the list of enabled tests, if any of the IPA_ENABLED_* variables is set

The behavior of disabled tests is not changed and the test is 'skipped'
@rjeffman rjeffman changed the title upstream CI: enhance test selection [DRAFT] upstream CI: enhance test selection Jun 23, 2022
@rjeffman rjeffman added the DRAFT label Jun 23, 2022
@rjeffman
Copy link
Member Author

Droped in favor of #884

@rjeffman rjeffman closed this Aug 25, 2022
@rjeffman rjeffman deleted the ci_enhance_test_selection branch August 25, 2022 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant