-
Notifications
You must be signed in to change notification settings - Fork 159
Added Boskos project lending for E2E test AND prune non-go files from deps #23
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
Added Boskos project lending for E2E test AND prune non-go files from deps #23
Conversation
@davidz627: GitHub didn't allow me to assign the following users: krzyzacy. Note that only kubernetes-sigs members and repo collaborators can be assigned. 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: davidz627 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 |
test/remote/run_remote/run_remote.go
Outdated
@@ -30,6 +30,7 @@ import ( | |||
"github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/test/remote/remote" | |||
"k8s.io/apimachinery/pkg/util/uuid" | |||
"k8s.io/apimachinery/pkg/util/wait" | |||
"k8s.io/test-infra/boskos/client" |
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.
vendor the library?
@rmmh the gubernator link is wrong... I think because we mucked with sigs.k8s.io and kubernetes-sigs? |
I see that other repos use |
/retest |
3762346
to
4760fcb
Compare
Gopkg.toml
Outdated
@@ -78,3 +78,6 @@ | |||
branch = "master" | |||
name = "github.com/kubernetes-csi/csi-test" | |||
|
|||
[[constraint]] | |||
branch = "master" | |||
name = "k8s.io/test-infra" |
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.
hummm I think you don't need the entire test-infra repo...
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 saw you only included three packages, wonder why it tries to pull in stuff like triage and gubernator, maybe a good question for @ixdy)
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.
will fix soon,
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 can't get dep to play nice. According to docs it needs to pull in the entire package from the root -_-
96e2ed2
to
21b5700
Compare
21b5700
to
f16bb47
Compare
33fc4fc
to
2940fa0
Compare
2940fa0
to
346762e
Compare
/retest |
hummm @ixdy so all the license files are pulled in intentionally? |
@@ -103,8 +108,56 @@ func main() { | |||
flag.Parse() | |||
suite = remote.InitE2ERemote() | |||
|
|||
if *serviceAccount == "" { | |||
glog.Fatal("You must specify a service account to create an instance under that has at least OWNERS permissions on disks and READER on instances.") | |||
if *runInProw { |
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.
hummm why not just check if project is empty?
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'd rather there be a special flag for running in prow since there's a lot of special set-up involved. If the project is empty and runInProw
is not set then the user gets a nice reasonable error to set the project instead of something that mentions Boskos
and other things they dont need to know about
You might want to add |
/lgtm |
Fixes: #21
If project is not set, attempt to loan a Boskos project. This should be used on CI.
/assign @msau42 @krzyzacy