Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automation to remove old periodics and presubmits for kubevirt/ku…
…bevirt sig jobs (#1605) * Refactor job-copier and presubmit-requirer to commands Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Generalize duplicate code, further refactoring Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Reorganize folder structure Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Polish (reduce duplication, make func names non exported) Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Some more polish Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Remove options logging in flags Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Polish help texts Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Move utility methods to jobconfig Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Restructure kubevirt file layout Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Add remove cmd, implement checks Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Remove jobs implementation ready, functests missing Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Add functest Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Add new remove jobs job, update existing jobs with pr-creator Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Create Makefile for robots/cmd/kubevirt Also add workspace dirty check script. Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Fix formatting and import sorting Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Rename package jobconfig to prowjobconfigs Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Extract constant, remove duplicate check Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Change copy jobs command to use RunE Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Adjust main README to reflect changes Also add a README in the project subdir containing some more detailed information. Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Add test case and code for multiple prow test containers Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Use RunE for remove jobs command Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Remove variable name for return on named variable Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Make github return error instead of handling it itself Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Add test case for where some jobs are missing Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Remove duplication around sha256 Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Remove superfluous variable Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Use RunE for require presubmits command Signed-off-by: Daniel Hiller <dhiller@redhat.com> * Make flag parsing func return an error Signed-off-by: Daniel Hiller <dhiller@redhat.com>
- Loading branch information