-
Notifications
You must be signed in to change notification settings - Fork 27
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
Conversation
@@ -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) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it's French
There was a problem hiding this comment.
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 🇫🇷
There was a problem hiding this comment.
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
Waiting to merge until e2e tests go green |
@smothiki should this stay open? needs rebase and tests fail |
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
Fixes #29