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

test/project-cleanup - fix #1964

Merged

Conversation

dushyanthsc
Copy link
Contributor

@dushyanthsc dushyanthsc commented Aug 27, 2019

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 Reviewable

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.
@Ark-kun
Copy link
Contributor

Ark-kun commented Aug 27, 2019

/assign @IronPan @neuromage

@Ark-kun
Copy link
Contributor

Ark-kun commented Aug 27, 2019

/lgtm

Copy link
Contributor

@neuromage neuromage left a 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)
Copy link
Contributor

Choose a reason for hiding this comment

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

log.Errorf ? same below?

@k8s-ci-robot
Copy link
Contributor

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

@k8s-ci-robot k8s-ci-robot merged commit a3a174b into kubeflow:master Aug 27, 2019
ajchili pushed a commit to ajchili/pipelines that referenced this pull request Aug 28, 2019
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.
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants