-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Create a plugin that tests job changes #18338
Comments
We usually just ask that users create a manually triggered "canary" copy of
the job where risky changes are first trialed for things that depend on CI
resources.
For things that don't there's the local running options (mkpod, pj-on-kind,
phaino ...)
…On Thu, Jul 16, 2020, 06:54 Alvaro Aleman ***@***.***> wrote:
*What would you like to be added*:
A way to test job changes. Openshift does this via a CLI that checks out
the config repo, finds changed jobs and creates a so-called "rehearse"
job": https://github.com/openshift/ci-tools/tree/master/cmd/pj-rehearse.
What openshift does is highly specific because many jobs there rely on
configmaps that then also need to be deployed. This shouldn't be the case
for most jobs of other prow instances.
So basically a plugin that on config-repo (test-infra in kube casse) PRs:
- Finds added/changed jobs
- Creates an instance of them and reports that back to the job change
pr
- Potentially this needs opt out logic and/or a dedicated command to
trigger this
*Why is this needed*:
Because currently job config changes are untestable if access to the
prow.k8s.io build cluster is not given.
/area prow
/cc @BenTheElder <https://github.com/BenTheElder> @fejta
<https://github.com/fejta>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18338>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHADKYKS5HUNUURZUHMWG3R34BBFANCNFSM4O4JMQMQ>
.
|
Yeah in my experience jobs that do not actually run in the real cluster are just different. I just ran into the issue with my "increase CPU requests oh damn the cluster doesn't have nodes this size" change and since I am used to getting feedback on job changes, I wanted to leave the idea here. I am not going to build this, it is just intended as an idea for the ppl that have to regularly deal with the fun of this. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. 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. |
What would you like to be added:
A way to test job changes. Openshift does this via a CLI that checks out the config repo, finds changed jobs and creates a so-called "rehearse" job": https://github.com/openshift/ci-tools/tree/master/cmd/pj-rehearse. What openshift does is highly specific because many jobs there rely on configmaps that then also need to be deployed. This shouldn't be the case for most jobs of other prow instances.
So basically a plugin that on config-repo (test-infra in kube casse) PRs:
Why is this needed:
Because currently job config changes are untestable if access to the prow.k8s.io build cluster is not given.
/area prow
/cc @BenTheElder @fejta
The text was updated successfully, but these errors were encountered: