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

Feature: rerun button on Run page #78

Open
VallariAg opened this issue Jul 9, 2024 · 2 comments
Open

Feature: rerun button on Run page #78

VallariAg opened this issue Jul 9, 2024 · 2 comments
Assignees
Labels
feature New feature or request good first issue Good for newcomers

Comments

@VallariAg
Copy link
Member

VallariAg commented Jul 9, 2024

Add a new button to rerun failed jobs in a test run. The button would appear on run page like "kill run" button does in #51.

We can use existing /suite endpoint of teuthology-api to request for a rerun.
Pulpito-ng can fill the request payload by using the values from the run page data. Like run name (--run-name), rerun-statuses, etc.

Rerun command example:

teuthology-suite --rerun yuriw-2024-06-18_22:03:07-rbd-wip-yuri8-testing-2024-06-18-0723-distro-default-smithi -p 100 --suite-repo https://github.com/vallariag/ceph.git --suite-branch wip-yuri8-testing-2024-06-18-0723 --sha1 9b63bc2c7e1aad253c89228f5672e68aaea112dc -vv

Refer to docs: https://docs.ceph.com/projects/teuthology/en/latest/commands/teuthology-suite.html

To see how to send requests to teuthology-api from pulpito-ng, refer https://github.com/ceph/pulpito-ng/pull/23/files#diff-5f8be92e87d171bfafe635ee330fd0b888ca0871572c4888425bf5476064dc54R28

@VallariAg VallariAg added feature New feature or request good first issue Good for newcomers labels Jul 9, 2024
@yashathwani
Copy link

Would like to work on this issue could you please assign it to me !

@VallariAg
Copy link
Member Author

Go ahead, @yashathwani!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants