-
Notifications
You must be signed in to change notification settings - Fork 1.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
test/project-cleanup - fix #1964
test/project-cleanup - fix #1964
Conversation
This change fixes the missing packages issue in project-cleanup job. Issue: project cleanup job runs in Prow and uses kubekins-e2e image, which in turn uses go-1.12 version and enlists the source in $GOPATH/src directory, the packages specified in go.mod file are not discovered. The fix is to install the packages using go-get, and has been tested using the kubekins-e2e image. The change also has some minor logging fixes to the project-cleanup tool.
/assign @IronPan @neuromage |
/lgtm |
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.
/lgtm
/approve
@@ -81,7 +81,13 @@ func (p *ProjectCleaner) GKEClusterHandler(resource GCPResource) { | |||
log.Printf("Listing gke clusters in zone: %v", zone) | |||
listResponse, err := svc.Projects.Zones.Clusters.List(p.ProjectId, zone).Do() | |||
if err != nil { | |||
log.Printf("Failed listing gke clusters in zone: %v", zone) |
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.
log.Errorf ? same below?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neuromage 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 |
This change fixes the missing packages issue in project-cleanup job. Issue: project cleanup job runs in Prow and uses kubekins-e2e image, which in turn uses go-1.12 version and enlists the source in $GOPATH/src directory, the packages specified in go.mod file are not discovered. The fix is to install the packages using go-get, and has been tested using the kubekins-e2e image. The change also has some minor logging fixes to the project-cleanup tool.
* Refactor image transformer and add to test Signed-off-by: Dan Sun <dsun20@bloomberg.net> * Validate v2 rest protocol inputs Signed-off-by: Dan Sun <dsun20@bloomberg.net> * Use PULL_BASE_SHA tag for image transformer test Signed-off-by: Dan Sun <dsun20@bloomberg.net> * Default to v1 protocol Signed-off-by: Dan Sun <dsun20@bloomberg.net> * Fix validation and add transformer image github action Signed-off-by: Dan Sun <dsun20@bloomberg.net>
This change fixes the missing packages issue in project-cleanup job.
Issue: project cleanup job runs in Prow and uses kubekins-e2e image, which in turn uses go-1.12 version and enlists the source in $GOPATH/src directory, the packages specified in go.mod file are not discovered. The fix is to install the packages using go-get, and has been tested using the kubekins-e2e image.
The change also has some minor logging fixes to the project-cleanup tool.
This change is