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

ci: Packit: Run cockpit storage tests in PRs #2

Closed
wants to merge 4 commits into from

Conversation

martinpitt and others added 2 commits August 2, 2023 09:27
Unconditionally define the various *_in_files, so that they appear in
`make dist` tarballs independent of the configure options (in
particular, `--disable-daemon`).
Configure with minimal options, so that we can build a dist tarball
without too many extra dependencies. In particular, we want to avoid
libblockdev, as we usually need the latest upstream master one, not the
distro package.
Repository owner deleted a comment from packit-as-a-service bot Aug 2, 2023
@martinpitt
Copy link
Owner Author

martinpitt commented Aug 2, 2023

@thrix, @happz: The -revdeps test for Fedora 38 fails to install because it doesn't see the libblockdev* packages from the @storage/udisks-daily COPR. I did add that to the .packit.yaml here:

- type: repository-file
  id: https://copr.fedorainfracloud.org/coprs/g/storage/udisks-daily/repo/fedora-$releasever/group_storage-udisks-daily-fedora-$releasever.repo

in exactly the same way that I add the cockpit "main-builds" COPR.

This is plumbed through via tf_extra_params:, and I do see it in the REQUEST; reformatted JSON for convenience:

{
    "id": "15a73f7f-1b28-41a6-9de0-6b09d75c3758",
    "environments_requested": [
        {
           "artifacts": [
                {
                    "id": "https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo",
                    "packages": null,
                    "type": "repository-file"
                },
                {
                    "id": "https://copr.fedorainfracloud.org/coprs/g/storage/udisks-daily/repo/fedora-$releasever/group_storage-udisks-daily-fedora-$releasever.repo",
                    "packages": null,
                    "type": "repository-file"
                }
            ]
     [...]
}

Do you know what's wrong here? Thanks!

@martinpitt
Copy link
Owner Author

martinpitt commented Aug 2, 2023

Rawhide got a little further , but only because the install-packages step grabs libblockdev* from rawhide instead of the udisks-daily COPR.

@thrix
Copy link

thrix commented Aug 3, 2023

the deployment was outdated, now it should work as designed

@thrix
Copy link

thrix commented Aug 3, 2023

/packit test

@martinpitt
Copy link
Owner Author

Amazing, it works perfectly. Many thanks @thrix!

I close this now and open a PR against the real udisks project.

@martinpitt martinpitt closed this Aug 4, 2023
@martinpitt
Copy link
Owner Author

See storaged-project#1161

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.

4 participants