Skip to content

Commit

Permalink
Fix cleanup_ci.py; remove references to blueprints. (kubeflow#663)
Browse files Browse the repository at this point in the history
* Remove references to blueprints; this should not have been committed.
  We use a separate script to cleanup blueprints.
  • Loading branch information
jlewi authored May 13, 2020
1 parent c62601d commit cdb2b39
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions py/kubeflow/testing/cleanup_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,6 @@ def cleanup_all(args):
ops = [# Deleting deployments should be called first because hopefully that will
# cleanup all the resources associated with the deployment
cleanup_auto_deployments,
cleanup_auto_blueprints,
cleanup_deployments,
cleanup_clusters,
cleanup_endpoints,
Expand Down Expand Up @@ -1296,12 +1295,6 @@ def add_deployments_args(parser):
"--zones", default="us-east1-d,us-central1-a", type=str,
help="Comma separated list of zones to check.")

def add_blueprint_args(parser):
parser.add_argument(
"--management_context", default="kf-ci-deployment-management",
help="Kubeconfig context for the management context used with "
"blueprints.")

def main():
logging.basicConfig(level=logging.INFO,
format=('%(levelname)s|%(asctime)s'
Expand Down Expand Up @@ -1440,13 +1433,6 @@ def main():
add_deployments_args(parser_ig)
parser_ig.set_defaults(func=cleanup_instance_groups)

######################################################
# Parser for auto_blueprints
parser_blueprints = subparsers.add_parser(
"blueprints", help="Cleanup blueprints")
add_blueprint_args(parser_blueprints)
parser_blueprints.set_defaults(func=cleanup_auto_blueprints)

args = parser.parse_args()

# Update max age
Expand Down

0 comments on commit cdb2b39

Please sign in to comment.