-
Notifications
You must be signed in to change notification settings - Fork 49
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
Require copr build job definition for running tests #1775
Comments
As described in teemtee#1760 (comment), Packit is planning to require explicit build job definition for the testing jobs (see packit/packit-service#1775). Adding the explicit Copr build job should also prevent the current bug in Packit related to usage of implicit build job and usage of identifiers.
As described in teemtee#1760 (comment), Packit is planning to require explicit build job definition for the testing jobs (see packit/packit-service#1775). Adding the explicit Copr build job should also prevent the current bug in Packit related to usage of implicit build job and usage of identifiers.
Since we have to introduce a mechanism for the config updates, there are some issues that need to be further discussed, mainly concerning rate limiting. I am putting my notes here (in case I don't manage to finish the card and someone else started working on this). We want to store the packit configs (the current state on the main/master branch) in the database:
This means that we have to fetch the configs. This is problematic due to rate limiting:
|
Apologies, wrong context 😄 |
Yup, I was about to write that we are probably talking about a different thing :D No worries ;) |
😮 |
|
Agreed to do some kind of filtering (probably not all 33000 are really "relevant" projects). |
Regarding the numbers, we have all the dist-git projects saved in the database. (Because of processing the messages from the Fedora-messaging bus..) Here are the numbers since 2022-01-01 (https://prod.packit.dev/api/usage?from=2022-01-01 yes, it's slow and can timeout on the first run... but caching helps for the second try...;)
Active projects = at least one pipeline in the time period. edit: In the API output, there is a list of active projects that should have the config in a repo. |
The script provides 3 commands (see particular command's --help for more info): 1. download-configs - to download the configs of the repos that used Packit Service in the past year 2. list-affected - to list the projects affected by particular migration 3. migrate - to update the config and create PR Related to packit#159 Related to packit/packit-service#1775
With the script introduced in packit/research#176:
|
Add pre-check for TestingFarmHandler that checks whether there is a copr build job definition in the config, if not, report it to user and do not run the tests. Related to packit#1775
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775. Signed-off-by: Laura Barcziova <[email protected]>
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775. Signed-off-by: Laura Barcziova <[email protected]>
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
The script provides 3 commands (see particular command's --help for more info): 1. download-configs - to download the configs of the repos that used Packit Service in the past year 2. list-affected - to list the projects affected by particular migration 3. migrate - to update the config and create PR Related to packit#159 Related to packit/packit-service#1775
The script provides 3 commands (see particular command's --help for more info): 1. download-configs - to download the configs of the repos that used Packit Service in the past year 2. list-affected - to list the projects affected by particular migration 3. migrate - to update the config and create PR Related to packit/packit-service#1775
Require copr build job definition for tests Related to packit/packit-service#1775 Do not merge this before the configurations in affected repos are updated (or at least wait some time after PRs are opened) Reviewed-by: Jiri Popelka Reviewed-by: Matej Focko
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775. Signed-off-by: Tibor Dudlák <[email protected]>
Add pre-check for TestingFarmHandler that checks whether there is a copr build job definition in the config, if not, report it to user and do not run the tests. Related to packit#1775
Require copr build job definition for tests Add pre-check for TestingFarmHandler that checks whether there is a copr build job definition in the config, if not, report it to user and do not run the tests. Related to #1775 Do not merge this before the configurations in affected repos are updated (or at least wait some time after PRs are opened) RELEASE NOTES BEGIN Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. RELEASE NOTES END Reviewed-by: Jiri Popelka Reviewed-by: František Lachman
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775.
Packit will now additionally require for each test job requiring build a build job definition to be present in the Packit configuration file. See details in packit/packit-service#1775. Signed-off-by: Laura Barcziova <[email protected]>
Currently, users can define only the test job and we will run Copr build before triggering the tests (if skip_build=False). With adding new features (identifiers, monorepo support, Image builder, ..) this has been causing a lot of "guessing" and updating code to match both the explicit definition of the build job and implicit.
We discussed we should start requiring a Copr build job definition for running tests:
The text was updated successfully, but these errors were encountered: