Skip to content

packit: initial commit - #1472

Merged
joe-lawrence merged 1 commit into
dynup:masterfrom
joe-lawrence:intro-packit
Aug 25, 2025
Merged

packit: initial commit#1472
joe-lawrence merged 1 commit into
dynup:masterfrom
joe-lawrence:intro-packit

Conversation

@joe-lawrence

Copy link
Copy Markdown
Contributor

This MR adds a packit [1] configuration to enable integration testing of upstream commits and downstream kernel combinations. The initial version would test upstream kernels and manually triggered. It will be later enhanced by Red Hat QE to test RHEL composes, etc.

[1] https://packit.dev/docs/about

@packit-as-a-service

Copy link
Copy Markdown

Failed to load packit config file:

Please correct data and retry.

For more info, please check out the documentation or contact the Packit team. You can also use our CLI command config validate or our pre-commit hooks for validation of the configuration.

@joe-lawrence

Copy link
Copy Markdown
Contributor Author

v2 (disclaimer: I don't know what I'm doing, Yulia):

  • Use labels and not default_labels for job specific definition
  • Use tf_extra_params mapping and not a string

@ykopkova

Copy link
Copy Markdown
Contributor

Thank you, Joe. Looking into the packit examples https://packit.dev/docs/configuration/examples#tests ->"Running more types of tests with different settings". Seems like we need to add "variables" under "environments"

  tf_extra_params:
    environments:
      - variables:
             KPATCH_REV: "$PACKIT_COMMIT_SHA"

This initial .packit.yml config starts us with jobs on upstream kernel
and manual triggering.

Provided-by: Yulia Kopkova <ykopkova@redhat.com>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
@joe-lawrence

Copy link
Copy Markdown
Contributor Author

v3:

  • Updated the tf_extra_params environment as @ykopkova suggested

@joe-lawrence
joe-lawrence merged commit 42cebc8 into dynup:master Aug 25, 2025
3 checks passed
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.

2 participants