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

Auto deploy job needs to use the new kfctl syntax. #495

Merged
merged 6 commits into from
Oct 23, 2019

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented Oct 18, 2019

Auto deploy job needs to use the new kfctl syntax; also use unique names

Related to #471


This change is Reviewable

# 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_PATTERN = re.compile("kf-vmaster-(?!n\d\d)")
Copy link
Contributor

Choose a reason for hiding this comment

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

this only matches auto-deployment from master? how about current stable release?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is deliberate. The existing auto deployed clusters aren't cleaned up by cleanup_ci.py. Instead the auto deployment script recycles clusters as it cycles through names.

Jeremy Lewi added 4 commits October 22, 2019 23:03
Related to kubeflow#471

* Don't set name in the spec because we want to infer it form directory.

* Create a new script to deploy with a unique name

* Related to: kubeflow#444

* Update cleanup script to clean up new auto-deployed clusters
Jeremy Lewi added 2 commits October 22, 2019 23:18
@jlewi
Copy link
Contributor Author

jlewi commented Oct 23, 2019

I verified this worked.
kf-vmaster-1023-237.endpoints.kubeflow-ci-deployment.cloud.goog

Copy link
Contributor

@gabrielwen gabrielwen left a comment

Choose a reason for hiding this comment

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

/lgtm

@jlewi
Copy link
Contributor Author

jlewi commented Oct 23, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

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

@k8s-ci-robot k8s-ci-robot merged commit 52b4f0b into kubeflow:master Oct 23, 2019
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.

3 participants