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

Adding support for podman play volumes #8266

Closed
wants to merge 2 commits into from
Closed

Adding support for podman play volumes #8266

wants to merge 2 commits into from

Conversation

aodhan-domhnaill
Copy link

To resolve #5788

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: aidan-plenert-macdonald
To complete the pull request process, please assign umohnani8 after the PR has been reviewed.
You can assign the PR to them by writing /assign @umohnani8 in a comment when ready.

The full list of commands accepted by this bot can be found 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

@@ -252,3 +258,86 @@ func TestEnvVarValue(t *testing.T) {
})
}
}

func TestContainerEngine_PlayKube(t *testing.T) {
Copy link
Author

Choose a reason for hiding this comment

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

This test doesn't work. I need to mock out the runtime somehow.

@rhatdan
Copy link
Member

rhatdan commented Nov 7, 2020

Thanks @aidan-plenert-macdonald
You need to sign your PRs
git commit -a -s --amend
git push --force

@mheon
Copy link
Member

mheon commented Nov 7, 2020

We generally avoid unit tests due to the complexities of mocking the increasingly-large Runtime; instead, we use extensive E2E tests of the functionality in question using a full Podman executable.

@aodhan-domhnaill
Copy link
Author

aodhan-domhnaill commented Nov 7, 2020 via email

@rhatdan
Copy link
Member

rhatdan commented Nov 8, 2020

@aidan-plenert-macdonald We would love to have more unit tests, but some are just too difficult to setup, so we fall back to E2E.

@xordspar0
Copy link
Contributor

This is a great start to #5788 and I look forward to being able to make volumes with k8s config. This is only part of what's needed for that issue though. This PR allows creating volumes, but it doesn't allow mounting them into a container. We should also add support for volumes to generate.

I think it makes sense to keep the scope of this issue as it is, but also keep track of these other features that still need to be added.

@aidan-plenert-macdonald, the smoke tests are failing due to a couple git commit issues. Could you please squash your commits into a single commit, make sure the squashed commit still has your DCO signoff, and make sure the length of the commit title is 90 characters or less? For the commit title, I would suggest "Add support for podman play volumes". See https://chris.beams.io/posts/git-commit/

Thanks for working on this and I look forward to seeing this merged!

@aodhan-domhnaill aodhan-domhnaill marked this pull request as draft November 9, 2020 16:26
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 9, 2020
@aodhan-domhnaill
Copy link
Author

Should have marked a draft. I'm still trying to get the e2e tests to pass locally, then I'll do the generate support and make sure it actually works. Thanks for checking!

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 23, 2020
@openshift-ci-robot
Copy link
Collaborator

@aidan-plenert-macdonald: PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@github-actions
Copy link

A friendly reminder that this PR had no activity for 30 days.

@vrothberg
Copy link
Member

@aidan-plenert-macdonald, are you still working on it?

@EduardoVega
Copy link
Contributor

I am currently working on #9129 and both issues change the same files. So it might be nice to have this one first. If there is no activity on this one, I can continue with the work / changes that are pending.

@rhatdan
Copy link
Member

rhatdan commented Mar 24, 2021

@EduardoVega Take this over if you can.

@EduardoVega
Copy link
Contributor

I'll do. Thanks

@github-actions
Copy link

A friendly reminder that this PR had no activity for 30 days.

@mheon
Copy link
Member

mheon commented Apr 25, 2021

@EduardoVega Good to close, given #9935 has merged?

@EduardoVega
Copy link
Contributor

@mheon correct.

@mheon mheon closed this Apr 26, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. stale-pr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Play kube support for volumes created with podman volume create
7 participants