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

Migrate jobs away from deprecated bootstrap usage #20760

Closed
Tracked by #29946
spiffxp opened this issue Feb 5, 2021 · 8 comments · Fixed by #30862
Closed
Tracked by #29946

Migrate jobs away from deprecated bootstrap usage #20760

spiffxp opened this issue Feb 5, 2021 · 8 comments · Fixed by #30862
Labels
area/bootstrap area/jobs area/prow/pod-utilities Issues or PRs related to prow's pod-utilities component help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/testing Categorizes an issue or PR as relevant to SIG Testing.

Comments

@spiffxp
Copy link
Member

spiffxp commented Feb 5, 2021

This is an umbrella issue to track migrating job configs away from bootstrap and instead use pod-utils.

Bootstrap has been deprecated for a few years at this point, and jobs that use bootstrap.py have been unsupported by test-infra-oncall for at least 1.5 years (ref: #14392). Pod-utils are the documented and supported way of writing prowjobs: https://github.com/kubernetes/test-infra/tree/master/config/jobs#job-cookbook

One way to be helpful: PR in a guide on how to do this! Relevant content to source from:

Another way to help: produce a tool, script or dashboard that keeps track of what has and has not been migrated. We could either link to its results from this issue, or periodically update this issue with the results.

The most concrete way to help: migrate the jobs you or your SIG owns

/lifecycle frozen
/priority important-longterm
/sig testing
Once we have tracking of which sigs own jobs that use bootstrap, we can tag with appropriate sigs.
/area jobs
/area bootstrap
/area prow/pod-utils
/help

@k8s-ci-robot
Copy link
Contributor

@spiffxp:
This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

This is an umbrella issue to track migrating job configs away from bootstrap and instead use pod-utils.

Bootstrap has been deprecated for a few years at this point, and jobs that use bootstrap.py have been unsupported by test-infra-oncall for at least 1.5 years (ref: #14392). Pod-utils are the documented and supported way of writing prowjobs: https://github.com/kubernetes/test-infra/tree/master/config/jobs#job-cookbook

One way to be helpful: PR in a guide on how to do this! Relevant content to source from:

Another way to help: produce a tool, script or dashboard that keeps track of what has and has not been migrated. We could either link to its results from this issue, or periodically update this issue with the results.

The most concrete way to help: migrate the jobs you or your SIG owns

/lifecycle frozen
/priority important-longterm
/sig testing
Once we have tracking of which sigs own jobs that use bootstrap, we can tag with appropriate sigs.
/area jobs
/area bootstrap
/area prow/pod-utils
/help

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.

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/testing Categorizes an issue or PR as relevant to SIG Testing. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. area/jobs labels Feb 5, 2021
@k8s-ci-robot
Copy link
Contributor

@spiffxp: The label(s) area/prow/pod-utils cannot be applied, because the repository doesn't have them

In response to this:

This is an umbrella issue to track migrating job configs away from bootstrap and instead use pod-utils.

Bootstrap has been deprecated for a few years at this point, and jobs that use bootstrap.py have been unsupported by test-infra-oncall for at least 1.5 years (ref: #14392). Pod-utils are the documented and supported way of writing prowjobs: https://github.com/kubernetes/test-infra/tree/master/config/jobs#job-cookbook

One way to be helpful: PR in a guide on how to do this! Relevant content to source from:

Another way to help: produce a tool, script or dashboard that keeps track of what has and has not been migrated. We could either link to its results from this issue, or periodically update this issue with the results.

The most concrete way to help: migrate the jobs you or your SIG owns

/lifecycle frozen
/priority important-longterm
/sig testing
Once we have tracking of which sigs own jobs that use bootstrap, we can tag with appropriate sigs.
/area jobs
/area bootstrap
/area prow/pod-utils
/help

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.

@spiffxp spiffxp added the area/prow/pod-utilities Issues or PRs related to prow's pod-utilities component label Feb 5, 2021
@spiffxp
Copy link
Member Author

spiffxp commented Feb 5, 2021

As an FYI, jobs that migrate away from bootstrap will lack an Infra-Commit column in testgrid: #20650. This is not a blocker to migration, and is probably a good thing (one less thing to bisect).

I strongly suspect kubernetes/test-infra code being checked out in a job's container isn't actually necessary for the vast majority of jobs that make the switch away from bootstrap.

@spiffxp
Copy link
Member Author

spiffxp commented Jul 13, 2021

Things to help track our status:

@spiffxp
Copy link
Member Author

spiffxp commented Oct 1, 2021

/kind cleanup

@dims
Copy link
Member

dims commented Sep 25, 2023

xref: #30846

@dims
Copy link
Member

dims commented Sep 25, 2023

@spiffxp will be proud of us :) #30846

/close

@k8s-ci-robot
Copy link
Contributor

@dims: Closing this issue.

In response to this:

@spiffxp will be proud of us :) #30846

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bootstrap area/jobs area/prow/pod-utilities Issues or PRs related to prow's pod-utilities component help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/testing Categorizes an issue or PR as relevant to SIG Testing.
Projects
Development

Successfully merging a pull request may close this issue.

3 participants