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 Flatpak CLI support and CRUD case #17013

Merged
merged 5 commits into from
Dec 13, 2024

Conversation

vsedmik
Copy link
Contributor

@vsedmik vsedmik commented Nov 28, 2024

Problem Statement

Satellite 6.17 introduces support for Flatpak content. We should introduce some automation around.

Solution

This PR just adds one test case for CRUD + scan and one test case to verify the scan finds all repos available in the remote index.

Related Issues

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

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/cli/test_flatpak.py
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 Nov 28, 2024
@vsedmik vsedmik self-assigned this Nov 28, 2024
@vsedmik vsedmik requested a review from a team as a code owner November 28, 2024 18:34
@vsedmik vsedmik added the in progress This issue is being worked on label Nov 28, 2024
@vsedmik
Copy link
Contributor Author

vsedmik commented Nov 28, 2024

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

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 9477
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_flatpak.py -k CRUD --external-logging
Test Result : ================== 1 passed, 9 warnings in 1239.53s (0:20:39) ==================

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Nov 28, 2024
@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Nov 29, 2024
@vsedmik
Copy link
Contributor Author

vsedmik commented Nov 29, 2024

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

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 9479
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_flatpak.py -k scan --external-logging
Test Result : ========== 1 passed, 1 deselected, 10 warnings in 1193.34s (0:19:53) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Nov 29, 2024
Copy link
Contributor

@synkd synkd left a comment

Choose a reason for hiding this comment

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

Looks good overall. One non-blocking suggestion.

tests/foreman/cli/test_flatpak.py Outdated Show resolved Hide resolved
@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Dec 4, 2024
@vsedmik
Copy link
Contributor Author

vsedmik commented Dec 5, 2024

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

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 9548
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_flatpak.py -k scan --external-logging
Test Result : ========== 2 passed, 1 deselected, 32 warnings in 1251.29s (0:20:51) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Dec 5, 2024
@vsedmik
Copy link
Contributor Author

vsedmik commented Dec 6, 2024

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

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 9553
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/cli/test_flatpak.py --external-logging
Test Result : ============ 1 failed, 2 passed, 36 warnings in 1181.67s (0:19:41) =============

@Satellite-QE Satellite-QE added PRT-Failed Indicates that latest PRT run is failed for the PR and removed PRT-Passed Indicates that latest PRT run is passed for the PR labels Dec 6, 2024
@vsedmik
Copy link
Contributor Author

vsedmik commented Dec 9, 2024

The PRT above ^ failed due to undergoing organization-scoping changes of remotes in the upstream.
I'll rerun when they are ready.

@vsedmik
Copy link
Contributor Author

vsedmik commented Dec 9, 2024

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

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 9560
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_flatpak.py --external-logging
Test Result : ================= 3 passed, 56 warnings in 1813.51s (0:30:13) ==================

@Satellite-QE Satellite-QE added PRT-Passed Indicates that latest PRT run is passed for the PR and removed PRT-Failed Indicates that latest PRT run is failed for the PR labels Dec 9, 2024
@vsedmik vsedmik merged commit 649e4cc into SatelliteQE:master Dec 13, 2024
11 checks passed
@vsedmik vsedmik deleted the add-flatpak-cli branch December 13, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress This issue is being worked on No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR Stream Introduced in or relating directly to Satellite Stream/Master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants