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

Add e2e test case for flatpak #17207

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vsedmik
Copy link
Contributor

@vsedmik vsedmik commented Dec 19, 2024

Problem Statement

Solution

Related Issues

https://issues.redhat.com/browse/SAT-28557

Requires

Katello/katello#11223
Katello/hammer-cli-katello#971

  • fix for AK create

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/cli/test_flatpak.py -k test_flatpak_client
Katello:
    katello: 11223
    hammer-cli-katello: 971

@vsedmik vsedmik added No-CherryPick PR doesnt need CherryPick to previous branches Stream Introduced in or relating directly to Satellite Stream/Master labels Dec 19, 2024
@vsedmik vsedmik self-assigned this Dec 19, 2024
remote_name = f'SAT-remote-{gen_string("alpha")}'
res = host.execute(
'flatpak --user remote-add --authenticator-name=org.flatpak.Authenticator.Oci '
f'{remote_name} oci+https://{sat.hostname}/pulpcore_registry/'
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this the intended user flow or is this something that host registration should set up if it detects flatpak?

Copy link
Contributor Author

@vsedmik vsedmik Dec 20, 2024

Choose a reason for hiding this comment

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

@ekohl It is the current workflow as per this doc.

Anyway @sjha4 is working on a REX template to configure the host with a flatpak remote. I think the template might be leveraged by the GR, but the GR update is rather part of the M2 epic if I'm not quite mistaken.

Copy link

Choose a reason for hiding this comment

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

Global registration will need to install podman and flatpak on the client and then run the remote-add. For now, we will leave it to the admins to set it up..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No-CherryPick PR doesnt need CherryPick to previous branches Stream Introduced in or relating directly to Satellite Stream/Master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants