-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
remote copy #8747
remote copy #8747
Conversation
One remaining bug that I will debug with Nalin. |
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.
Impressive work
@containers/podman-maintainers PTAL
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan, vrothberg 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 |
/hold |
/lgtm |
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.
LGTM, nice work, but there's one broken test and very weird (unexpected) behavior.
Repushed. Now both, --pause and --export, are deprecated and turned into nops. I didn't use cobra's |
return errors.Errorf("container %q does not exist", container) | ||
} | ||
return nil | ||
} |
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 I have the exists() function from the new API stuck in my head, but I thought we'd similar functionality elsewhere in libpod? I looked but didn't find it quickly. This feels like a function that should live in util.
This is fine here for now, but something to ruminate on.
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.
Yes, there's a ContainerExists function. I thought to put that into a dedicated function (plus the checks) to consolidate the logic a bit further.
Changes LGTM |
Thanks for checking!
Should turn green now. Removing the options made the help checks fail (as there are no options any more). |
/lgtm |
One more day to go :) |
One more time ... Ubuntu remote tests failed. Rebased. |
Note to self: close #4207 once this is merged |
Implement `podman-remote cp` and break out the logic from the previously added `pkg/copy` into it's basic building blocks and move them up into the `ContainerEngine` interface and `cmd/podman`. The `--pause` and `--extract` flags are now deprecated and turned into nops. Note that this commit is vendoring a non-release version of Buildah to pull in updates to the copier package. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Tried to reproduce in the Google Cloud but it worked 🙉 Let's pray to the CI gods. |
Oh man, that's frustrating. |
The new Ubuntu 20.04 VMs seem very slow and fail reproducibly in a build test (i.e, "wordir, cmd, env, label"). Bumping up the time out to 120 seconds will help get the CI green. See github.com/containers/pull/8747. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
/lgtm |
congrats @vrothberg |
/hold cancel |
Implement
podman-remote cp
and break out the logic from the previouslyadded
pkg/copy
into it's basic building blocks and move them up intothe
ContainerEngine
interface andcmd/podman
.The
--pause
flag is now deprecated and turned into a nop.Note that this commit is vendoring a non-release version of Buildah to
pull in updates to the copier package.
Signed-off-by: Valentin Rothberg rothberg@redhat.com