-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
config: add all image-pushing jobs to a wg-k8s-infra-gcb testgrid dashboard #22898
config: add all image-pushing jobs to a wg-k8s-infra-gcb testgrid dashboard #22898
Conversation
Currently it only reformats according to hardcoded settings
In preparation for mass-editing jobs with ruamel.yaml, which will enforce _some_ kind of formatting changes re: indentation, move all jobs to whichever format causes the least amount of delta. This will allow the mass-edit commit to be isolated just to job changes vs. formatting changes. There are two classes of changes squashed into this commit. First, two staging repos that generate their jobs from a shell script, so update the formatting in the script, and regenerate the jobs: - k8s-staging-e2e-test-images - k8s-staging-sig-storage Second, format everything else using experiment/edit-prowjobs.py. Since most people copy-pasted from the same example, this changed: - k8s-staging-cluster-api - k8s-staging-kubetest2 - k8s-staging-releng
Split checks that are specific to whether a job is a valid image-pushing job out of whether it is authorized to run on k8s-infra-prow-build-trusted Add a new check (that will fail until following commits) that enforces all image-pushing jobs must be on the new wg-k8s-infra-gcb testgrid dashboard
968873b
to
c7359b1
Compare
also addressed pylint errors and warnings
This involves three sets of changes: - adding the wg-k8s-infra-gcb dashboard to config/testgrids - using edit-prowjobs.py to mass-edit all but one image-pushing job - manually edit post-security-profiles-operator-push-image in k8s-staging-seccomp-operator.yaml to add a testgrid-dashboards annotation The last change exposes the fact that there is no one-true-yaml that defines both prowjobs and all of their testgrid dashboards. The job has another testgrid dashboard tab defined in a testgrid config. It can't be moved to the prowjob config as-is, because it has a custom base_options setting for width, and acontext-free name that wouldn't make sense on the wg-k8s-infra-gcb dashboard. Neither base_options nor different tab names are currently supported by the prowjob-annotation-based testgrid configurator.
c7359b1
to
d936390
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not find anything wrong if I can say that
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@spiffxp: Updated the
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I'd recommend reviewing by commit rather than everything at once, see commit messages for details.
This provides a single location to check on the status of image pushing across the entire kubernetes project, to help track #20652