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

Refactor Boskos directory structure #16152

Merged
merged 2 commits into from
Feb 6, 2020

Conversation

ixdy
Copy link
Member

@ixdy ixdy commented Feb 5, 2020

The Boskos directory had main packages mixed in with library packages. I've refactored most of the main methods into a cmd/ subdirectory, similar to what is done with Prow. (I have not touched the aws-janitor, at least not yet, because it has its own internal structure.)

Besides making everything a bit easier to maintain and understand, this is a precursor to some additional things I'm working on:

/assign @stevekuznetsov @sebastienvas @krzyzacy

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. area/boskos Issues or PRs related to code in /boskos area/config Issues or PRs related to code in /config area/scenarios sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Feb 5, 2020
Copy link
Member

@krzyzacy krzyzacy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we also want to shuffle mason around?

/lgtm
/hold

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Feb 5, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ixdy, krzyzacy

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 5, 2020
@ixdy
Copy link
Member Author

ixdy commented Feb 5, 2020

@krzyzacy thanks for the fast review!

I'm not sure what else there is to be done with mason right now.

I moved the fake-mason command into cmd, and what remains is just the interface that implementations implement.

The actual GCP implementation still lives in istio/test-infra (https://github.com/istio/test-infra/tree/master/boskos). I'm not sure why it wasn't moved along with the mason interface - maybe @sebastienvas or @chases2 knows.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 5, 2020
@ixdy
Copy link
Member Author

ixdy commented Feb 6, 2020

/hold cancel

Rebased. Can I get a re-LGTM before things change again?

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 6, 2020
@krzyzacy
Copy link
Member

krzyzacy commented Feb 6, 2020

/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 6, 2020
@stevekuznetsov
Copy link
Contributor

cc @alvaroaleman

@k8s-ci-robot k8s-ci-robot merged commit f88edef into kubernetes:master Feb 6, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.18 milestone Feb 6, 2020
@k8s-ci-robot
Copy link
Contributor

@ixdy: Updated the job-config configmap in namespace default at cluster default using the following files:

  • key janitors.yaml using file config/jobs/kubernetes/test-infra/janitors.yaml

In response to this:

The Boskos directory had main packages mixed in with library packages. I've refactored most of the main methods into a cmd/ subdirectory, similar to what is done with Prow. (I have not touched the aws-janitor, at least not yet, because it has its own internal structure.)

Besides making everything a bit easier to maintain and understand, this is a precursor to some additional things I'm working on:

/assign @stevekuznetsov @sebastienvas @krzyzacy

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
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/boskos Issues or PRs related to code in /boskos area/config Issues or PRs related to code in /config area/scenarios 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. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants