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

Move all prow job definitions into config.yaml. #1903

Merged
merged 2 commits into from Feb 17, 2017

Conversation

spxtr
Copy link
Contributor

@spxtr spxtr commented Feb 15, 2017

First two commits are from #1895, please only review the third here. See the commit message for more details. This will need some rebase, and I'll be sure to pull the changes from the other yaml files into here before merging.

@spxtr spxtr added the area/prow Issues or PRs related to prow label Feb 15, 2017
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 15, 2017
@krzyzacy
Copy link
Member

github's diff is distorting...

@spxtr
Copy link
Contributor Author

spxtr commented Feb 16, 2017

(Please review despite need for rebase causing the test to fail)

@krzyzacy
Copy link
Member

LGTM for that commit

I also plan to move plugins in here after this goes in.

This will have a few benefits in the long run:
* Adding new job types won't require so much duplication.
* The config is passed to plugins. Currently there is no way for plugins
to configure themselves at runtime. Passing them this config makes it
possible without adding yet more configmaps.
* Separating Config and ConfigAgent makes sense. I was using a JobAgent
in several places that only needed to load the job configs once. With
this change, ConfigAgent mostly just knows how to return a read-only
Config struct.
@spxtr
Copy link
Contributor Author

spxtr commented Feb 17, 2017

Rebased, PTAL.

@krzyzacy
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 17, 2017
@spxtr spxtr merged commit 0bbe9a5 into kubernetes:master Feb 17, 2017
@spxtr spxtr deleted the jobsrework branch February 17, 2017 23:46
gmarek pushed a commit to gmarek/test-infra that referenced this pull request Feb 21, 2017
Automatic merge from submit-queue

Fix size check

fixes kubernetes#1892 

The github api lies about the size of diffs if they are large. If we
then subtract out the size of generated files that it is not lieing
about we end up with negative numbers. So huge PRs can get XS size.

Instead of believing the API and deleting those things we don't care
about just sum the things we do care about and use that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/prow Issues or PRs related to prow cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants