Create `stop all jobs` button/modal
What does this MR do and why?
Adds a stop all jobs
button and modal for the Admin Area > CI/CD > Jobs
OR gitlab.example.com/admin/jobs
Context: Until now the button/modal was solved with ruby and haml. We want to refactor the code and add a filter for ci jobs. Therefore we want to switch to vue/js.
You can find a test implementation of the filter here.
Note: At the time of writing, the test implementation is not yet complete and error-free.
Screenshots or screen recordings
Nothing changes as far as the view is concerned but:
How to set up and validate locally
- checkout the given test implementation https://gitlab.com/siemens/gitlab/-/merge_requests/61
- type in the console:
rails c
- then:
job = Ci::Build.first
job.status = 'pending'
job.save
- go to:
gitlab.example.com/admin/jobs
(or whatever instance url you have ->Admin Area > CI/CD > Jobs
)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Andreas Deicha