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

Aggressively delete a cluster template if it exists. #9702

Merged
merged 1 commit into from Jun 12, 2015

Conversation

brendandburns
Copy link
Contributor

return
echo "Instance template ${1} already exists; deleting." >&2
if ! gcloud compute instance-template delete "$1" --project "${PROJECT}" &>/dev/null; then
echo -e "${color_yellow}Failed to delete existing instance template" >&2
Copy link
Contributor

Choose a reason for hiding this comment

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

This should end with ${color_norm}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@mbforbes
Copy link
Contributor

LGTM w/ nits

@brendandburns
Copy link
Contributor Author

Comments addressed, ptal.

@brendandburns
Copy link
Contributor Author

I'm going to merge this, as this problem is currently breaking a number of e2e runs.

brendandburns added a commit that referenced this pull request Jun 12, 2015
Aggressively delete a cluster template if it exists.
@brendandburns brendandburns merged commit 2c5d40a into kubernetes:master Jun 12, 2015
@mbforbes
Copy link
Contributor

Sorry for not getting back, but was truly LGTM. I'll add the label for posterity :-)

@mbforbes mbforbes added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 12, 2015
@k8s-bot
Copy link

k8s-bot commented Jun 12, 2015

GCE e2e build/test failed for commit e920e456f7aadd30755330dec32152f6f3c4ebf8.

@k8s-bot
Copy link

k8s-bot commented Jun 12, 2015

GCE e2e build/test passed for commit a44f36b295d947c1bab7389802fc0b74effff221.

@k8s-bot
Copy link

k8s-bot commented Jun 12, 2015

GCE e2e build/test failed for commit d91fe7c2cf5e9b8d6d6c6d7232d2e50cdb76e809.

@k8s-bot
Copy link

k8s-bot commented Jun 12, 2015

GCE e2e build/test failed for commit dcb09e7.

@ghost
Copy link

ghost commented Jun 12, 2015

Root cause #9016. More fixes to come.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants