-
Notifications
You must be signed in to change notification settings - Fork 251
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
building and testing sidecar containers #23
Comments
Right now, building container images is inconsistent. Some makefiles have a "push" target, some don't. Some build "canary" as version, others the latest stable release. My proposal is to have the following in all four makefiles:
Then one can do:
The rationale for only supporting building/pushing of the hostpath container in drivers is that long-term that should be the only image in the repo. Already now it is the only image that gets built by make. I have that working and can create PRs once there is some positive feedback about the idea (no need to discuss it in four places). I also have a change ready for kubernetes/test/e2e/storage which makes it possible to change the image version and/or registry:
This can be used to test the canary images on quay.io/k8scsi before tagging them as a new release. |
@pohly The drivers repo is going to be dismantled. See kubernetes-retired/drivers#81. AFAIK, the side-car containers are all pushing canary containers into Quay.io. I guess I would need to understand more why there would be a need to build all at the same time. But I am open to discussion. Lastly, are the e2e tests using local cluster? |
Yes. That's why I think it is okay to focus on building just the hostpath container image in the "drivers" repo, because that is going to remain.
Indeed, they do now. My revision of driver-registrar was a bit old and still had IMAGE_VERSION=v0.2.0.
Not at the same time, just the same way.
They can use a local cluster or something remote. I myself run the test with a cluster brought up with local-up-cluster.sh. |
This ensures that Makefile variables and the "push" target behave the same in driver-registrar, drivers, external-attacher and external-provisioner. Related-to: kubernetes-csi/docs#23
This ensures that Makefile variables and the "push" target behave the same in driver-registrar, drivers, external-attacher and external-provisioner. Related-to: kubernetes-csi/docs#23
This ensures that Makefile variables and the "push" target behave the same in driver-registrar, drivers, external-attacher and external-provisioner. Related-to: kubernetes-csi/docs#23
This ensures that Makefile variables and the "push" target behave the same in driver-registrar, drivers, external-attacher and external-provisioner. Related-to: kubernetes-csi/docs#23
I have created four PRs, one for each of the repos, where I add the same change: enabling |
This ensures that Makefile variables and the "push" target behave the same in driver-registrar, drivers, external-attacher and external-provisioner. Related-to: kubernetes-csi/docs#23
This ensures that Makefile variables and the "push" target behave the same in driver-registrar, drivers, external-attacher and external-provisioner. Related-to: kubernetes-csi/docs#23
I think the best solution for this issue is to proceed with the unification of the different repos, see https://docs.google.com/document/d/1xC0Cm11WTebT9m_9yZbfzud24GJRxlp55gdR5QaMHmM/edit |
Automatic merge from submit-queue (batch tested with PRs 60699, 63780). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. e2e/storage: parameterize container images **What this PR does / why we need it**: The CSI integration test for hostpath was hard-coded to use the latest stable release of the sidecar and hostpath container images. This makes sense for regression testing of changes made in Kubernetes itself, but the same test is also useful for testing the "canary" images on quay.io before tagging them as a new release or for testing locally produced images. Both is now possible via command line parameters. **Which issue(s) this PR fixes**: Related-to: kubernetes-csi/docs#23 **Special notes for your reviewer**: The commit message has usage instructions. ```release-note NONE ``` /sig storage
Right now this process is on hold until K8S 1.11 is released. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
are there more things to do for this? |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
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. |
For new developers it would be useful to document how they can build and test CSI. This could include:
The text was updated successfully, but these errors were encountered: