-
Notifications
You must be signed in to change notification settings - Fork 89
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
Fix cleanup_ci.py - fix cleanup of argo workflows and IAM policy bindings #359
Conversation
* Add logging to make it easier to monitor progress. * Print out stack traces on errors. * cleanup_workflows needs to get GKE credentials. * The project might be different from the project where KF is deployed. Related to kubeflow#358 cleanup ci not cleaning up Argo workflows Related to kubeflow#357 cleanup ci not cleaning up IAM policies. * Fix bug in cleaning up Argo workflows; we should not break out of loop. * Don't exit if delete of Workflow fails; it looks like there might be some race conditions. * Update the docker image to use google-api-python-client library 1.7.0 instead of 1.6.5. It looks like using 1.6.5 gives us an error when getting IAM policy.
/assign @gabrielwen |
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
@@ -21,6 +21,7 @@ RUN set -ex \ | |||
wget \ | |||
ca-certificates \ | |||
git \ | |||
emacs \ |
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.
why emacs?
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.
Its convenient for debugging; e.g. manually editing of files.
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.
ah, ok.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jlewi 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 |
Fix cleanup_ci.py - cleaning of Argo and service account binding
Add logging to make it easier to monitor progress.
Print out stack traces on errors.
cleanup_workflows needs to get GKE credentials.
Related to #358 cleanup ci not cleaning up Argo workflows
Related to #357 cleanup ci not cleaning up IAM policies.
Fix bug in cleaning up Argo workflows; we should not break out of loop.
Don't exit if delete of Workflow fails; it looks like there might be
some race conditions.
Update the docker image to use google-api-python-client library 1.7.0 instead
of 1.6.5. It looks like using 1.6.5 gives us an error when getting IAM
policy.
Prune the OWNERs file to remove a bunch of approvers who haven't been active.
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)