Skip to content

Commit

Permalink
* Update cleanup_ci to match regexes for new autodeployed clusters (k…
Browse files Browse the repository at this point in the history
…ubeflow#612)

* Fix kubeflow#611 - out of SSL certificate quota because auto-deployed certificates
  not GC'd.

Fix.
  • Loading branch information
jlewi authored Feb 13, 2020
1 parent 4c3f7d2 commit 43b7826
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions py/kubeflow/testing/cleanup_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@
from googleapiclient import discovery
from oauth2client.client import GoogleCredentials

# See https://github.com/kubeflow/testing/issues/444
# We are switching to unique names for auto deployments
# So this matches the new ones.
AUTO_DEPLOY_PATTERNS = [re.compile(r".*kf-vmaster-(?!n\d\d)")]
AUTO_DEPLOY_PATTERNS = [
re.compile(r".*kf-master-(?!n\d\d)"),
re.compile(r".*kf-v1-(?!n\d\d)"),
re.compile(r".*kf-vmaster-(?!n\d\d)"), # The legacy pattern for auto-deploy v1
# We can get rid of it once
# all the old deployments have been
# deleted.
]

E2E_PATTERNS = [re.compile(".*e2e-.*"), re.compile(".*kfctl.*"),
re.compile(".*z-.*"), re.compile(".*presubmit.*"),
Expand Down

0 comments on commit 43b7826

Please sign in to comment.