Skip to content

Simplify fedora-ci jobs#3097

Open
LecrisUT wants to merge 2 commits into
packit:mainfrom
LecrisUT:chore/simplify-fedora-ci
Open

Simplify fedora-ci jobs#3097
LecrisUT wants to merge 2 commits into
packit:mainfrom
LecrisUT:chore/simplify-fedora-ci

Conversation

@LecrisUT

@LecrisUT LecrisUT commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

As part of the cleanup of the current fedora-ci jobs https://forge.fedoraproject.org/ci/tickets/issues/553, the interface for all of these jobs would converge to that from packit, simplifying how the jobs are handled here.

TODO:

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the _payload_installability method in testing_farm.py to utilize a base payload helper, which simplifies the logic by removing manual environment configuration and dynamic reference fetching. Feedback was provided to replace hardcoded repository details with existing constants to ensure consistency and improve maintainability.

Comment thread packit_service/worker/helpers/testing_farm.py
@LecrisUT LecrisUT force-pushed the chore/simplify-fedora-ci branch from 48a81ac to 4a195e9 Compare June 5, 2026 12:30
@LecrisUT LecrisUT marked this pull request as ready for review June 5, 2026 12:31
@LecrisUT LecrisUT requested a review from a team as a code owner June 5, 2026 12:31
@LecrisUT LecrisUT requested review from majamassarini and removed request for a team June 5, 2026 12:31
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@LecrisUT LecrisUT force-pushed the chore/simplify-fedora-ci branch from 8f28963 to da637ff Compare June 5, 2026 14:01
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@LecrisUT LecrisUT force-pushed the chore/simplify-fedora-ci branch from da637ff to 74e6732 Compare June 5, 2026 14:50
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@LecrisUT LecrisUT force-pushed the chore/simplify-fedora-ci branch from 74e6732 to da1bef5 Compare June 5, 2026 15:26
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@LecrisUT LecrisUT force-pushed the chore/simplify-fedora-ci branch from da1bef5 to e2a156b Compare June 5, 2026 15:51
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@LecrisUT

LecrisUT commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator Author

https://artifacts.dev.testing-farm.io/53027160-0548-4339-bf40-2983a0c026d2/ should be an equivalent job that goes through the new api

@mfocko mfocko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, as long as it works. Which I can't really tell. There's also no justification for the changes.

Could you please link the relevant ticket (and possibly also changes) in the commit? Also please squash, I'd prefer to keep this atomic (changes + tests).

Comment thread packit_service/worker/helpers/testing_farm.py
Comment thread packit_service/worker/helpers/testing_farm.py
@LecrisUT LecrisUT force-pushed the chore/simplify-fedora-ci branch from e2a156b to 6cafc40 Compare June 8, 2026 15:20
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@LecrisUT

LecrisUT commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator Author

Could you please link the relevant ticket (and possibly also changes) in the commit?

Not sure which ticket to include, there are 3 of them(https://forge.fedoraproject.org/ci/tickets/issues/553, fedora-ci/installability-pipeline#63, fedora-ci/installability-pipeline#64)

LGTM, as long as it works. Which I can't really tell.

Previous comment has a testing-farm job running with these variables

There's also no justification for the changes.

Basically all Fedora-CI jobs will expect and use the set of variables that packit provides. This is a prerequisite for #2914 and #2990

@LecrisUT LecrisUT force-pushed the chore/simplify-fedora-ci branch from 6cafc40 to b53868b Compare June 8, 2026 15:41
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@LecrisUT LecrisUT force-pushed the chore/simplify-fedora-ci branch from b53868b to cddb32c Compare June 8, 2026 16:13
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@mfocko

mfocko commented Jun 8, 2026

Copy link
Copy Markdown
Member

Not sure which ticket to include, there are 3 of them(https://forge.fedoraproject.org/ci/tickets/issues/553, fedora-ci/installability-pipeline#63, fedora-ci/installability-pipeline#64)

Well, ideally all of them then :) sorry about annoying you with that, but it's better to have it in history than be in the dark when it's needed

Previous comment has a testing-farm job running with these variables

cool, thanks!

Basically all Fedora-CI jobs will expect and use the set of variables that packit provides. This is a prerequisite for #2914 and #2990

👍

Comment thread packit_service/worker/helpers/testing_farm.py Outdated
LecrisUT added 2 commits June 10, 2026 11:45
All Fedora-CI jobs use consistent variables that Packit already provides in `_get_tf_base_payload`

For more context:
- https://forge.fedoraproject.org/ci/tickets/issues/553
- fedora-ci/installability-pipeline#63
- fedora-ci/installability-pipeline#64

Signed-off-by: Cristian Le <git@lecris.dev>
Eventually the tests should use the repo created by the artifacts and multihost pipeline, but these are not ready to do so yet

Signed-off-by: Cristian Le <git@lecris.dev>
@LecrisUT LecrisUT force-pushed the chore/simplify-fedora-ci branch from cddb32c to 87fe85a Compare June 10, 2026 09:56
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants