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

feat(rootfs/deploy.py): remove image after it's pushed #39

Merged
merged 1 commit into from
Apr 21, 2016

Conversation

arschles
Copy link
Member

Fixes #29

@arschles arschles self-assigned this Mar 16, 2016
@arschles arschles added this to the v2.0-rc1 milestone Mar 16, 2016
@@ -67,3 +67,6 @@ def log_output(stream, decode):
print("pushing to registry")
stream = client.push(registry+'/'+imageName, tag=imageTag, stream=True, insecure_registry=True)
log_output(stream, False)
print("deleting image")
stream = client.remote_image(image=registry+'/'+imageName, force=True, noproune=False)
Copy link
Member

Choose a reason for hiding this comment

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

remote_image? Should this be remove_image?

Also noprune rather than noproune

Choose a reason for hiding this comment

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

Maybe it's French

Copy link
Member

Choose a reason for hiding this comment

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

Always happy to see more international contributions to the project 🇫🇷

Copy link
Member Author

Choose a reason for hiding this comment

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

haha, nope - it's supposed to be remove_image. fixed in 28db3dd

@arschles
Copy link
Member Author

Waiting to merge until e2e tests go green

@arschles
Copy link
Member Author

@smothiki should this stay open? needs rebase and tests fail

@smothiki smothiki modified the milestones: v2.0-beta3, v2.0-rc1 Apr 21, 2016
@smothiki
Copy link
Contributor

Let's push this in for this release. If the image pull is successful, we dont need a copy of the image on the host

Fixes deis#29

fix(rootfs/deploy.py): use named params

fix(deploy.py): replace remote_image (typo) with remove_image

fix(deploy.py): fix another typo in noprune
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.

4 participants