Story #6401
closedAs a developer I want to re-run only the job that has failed
100%
Description
Currently on ansible-pulp, if one job fails, you can not restart only this job, you have to restart all jobs for the current workflow. I want to be able to restart only the job that has failed
Updated by fao89 about 4 years ago
- Tracker changed from Issue to Story
- % Done set to 0
- Sprint set to Sprint 69
Updated by fao89 about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Updated by fao89 about 4 years ago
Currently ansible-pulp has 2 workflows:
- Pulp CI: 3 jobs
- Cron Jobs: 9 jobs
It seems, we only can start entire workflows: https://github.community/t5/GitHub-Actions/Manually-restart-actions-and-entire-workflows/m-p/35907/highlight/true#M2365 Which in this case we would end up with at least 9 workflows
Added by Fabricio Aguiar about 4 years ago
Added by Fabricio Aguiar about 4 years ago
Revision 9f29d5aa | View on GitHub
Refactoring GHA workflows
closes #6401
Updated by fao89 about 4 years ago
- Status changed from ASSIGNED to POST
As maintaining 9 workflows doesn't seem good, I propose adding an automatic retry when job fails.
Also refactored, so we have one workflow just for pull requests, and another workflow for master branch health
Updated by fao89 about 4 years ago
for plugins, I think having one workflow per job is doable as we don't have so many jobs as ansible-pulp I'll start a PoC on pulp_npm
Updated by fao89 about 4 years ago
On NPM, I was able to put 2 workflows in 1, but I could not split workflows by cases due to deploy depending on more than one case, see: https://github.com/pulp/pulp_npm/pull/13/files#r399558331
Updated by Anonymous about 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset ansible-pulp|9f29d5aa2666febe88c4c93fe472dba171286d00.
Added by Fabricio Aguiar about 4 years ago
Revision 2b274289 | View on GitHub
Refactoring github actions
ref #6401
Updated by fao89 about 4 years ago
Retry does not work, it keeps the status as failed, and it is not possible to change job status https://github.community/t5/GitHub-Actions/Set-job-status-to-success-even-when-a-step-fails/td-p/44234
Updated by mdepaulo@redhat.com about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by bmbouter almost 4 years ago
- Category set to Installer - Moved to GitHub issues
- Tags deleted (
Pulp 3 installer)
Refactoring GHA workflows
closes #6401