-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from lpabon/0.3.0-4
Update v0.3.0 branch to release 0.3.0-4
- Loading branch information
Showing
10 changed files
with
249 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ | |
*.out | ||
bin/mock | ||
cmd/csi-sanity/csi-sanity | ||
|
||
# JetBrains GoLand | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Contributing Guidelines | ||
|
||
Welcome to Kubernetes. We are excited about the prospect of you joining our [community](https://github.com/kubernetes/community)! The Kubernetes community abides by the CNCF [code of conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). Here is an excerpt: | ||
|
||
_As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities._ | ||
|
||
## Getting Started | ||
|
||
We have full documentation on how to get started contributing here: | ||
|
||
- [Contributor License Agreement](https://git.k8s.io/community/CLA.md) Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests | ||
- [Kubernetes Contributor Guide](http://git.k8s.io/community/contributors/guide) - Main contributor documentation, or you can just jump directly to the [contributing section](http://git.k8s.io/community/contributors/guide#contributing) | ||
- [Contributor Cheat Sheet](https://git.k8s.io/community/contributors/guide/contributor-cheatsheet.md) - Common resources for existing developers | ||
|
||
## Mentorship | ||
|
||
- [Mentoring Initiatives](https://git.k8s.io/community/mentoring) - We have a diverse set of mentorship programs available that are always looking for volunteers! | ||
|
||
## Contact Information | ||
|
||
- [Slack channel](https://kubernetes.slack.com/messages/sig-storage) | ||
- [Mailing list](https://groups.google.com/forum/#!forum/kubernetes-sig-storage) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
approvers: | ||
- saad-ali | ||
- lpabon | ||
- pohly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Defined below are the security contacts for this repo. | ||
# | ||
# They are the contact point for the Product Security Team to reach out | ||
# to for triaging and handling of incoming issues. | ||
# | ||
# The below names agree to abide by the | ||
# [Embargo Policy](https://github.com/kubernetes/sig-release/blob/master/security-release-process-documentation/security-release-process.md#embargo-policy) | ||
# and will be removed and replaced if they violate that agreement. | ||
# | ||
# DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE | ||
# INSTRUCTIONS AT https://kubernetes.io/security/ | ||
|
||
saad-ali | ||
lpabon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package apitest | ||
|
||
import ( | ||
"os" | ||
"testing" | ||
|
||
"github.com/kubernetes-csi/csi-test/pkg/sanity" | ||
) | ||
|
||
func TestMyDriver(t *testing.T) { | ||
config := &sanity.Config{ | ||
TargetPath: os.TempDir() + "/csi", | ||
StagingPath: os.TempDir() + "/csi", | ||
Address: "/tmp/e2e-csi-sanity.sock", | ||
} | ||
|
||
sanity.Test(t, config) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package embedded | ||
|
||
import ( | ||
"os" | ||
"testing" | ||
|
||
"github.com/kubernetes-csi/csi-test/pkg/sanity" | ||
. "github.com/onsi/ginkgo" | ||
. "github.com/onsi/gomega" | ||
) | ||
|
||
func TestMyDriverGinkgo(t *testing.T) { | ||
RegisterFailHandler(Fail) | ||
RunSpecs(t, "CSI Sanity Test Suite") | ||
} | ||
|
||
// The test suite into which the sanity tests get embedded may already | ||
// have before/after suite functions. There can only be one such | ||
// function. Here we define empty ones because then Ginkgo | ||
// will start complaining at runtime when invoking the embedded case | ||
// in hack/e2e.sh if a PR adds back such functions in the sanity test | ||
// code. | ||
var _ = BeforeSuite(func() {}) | ||
var _ = AfterSuite(func() {}) | ||
|
||
var _ = Describe("MyCSIDriver", func() { | ||
Context("Config A", func() { | ||
config := &sanity.Config{ | ||
TargetPath: os.TempDir() + "/csi", | ||
StagingPath: os.TempDir() + "/csi", | ||
Address: "/tmp/e2e-csi-sanity.sock", | ||
} | ||
|
||
BeforeEach(func() {}) | ||
|
||
AfterEach(func() {}) | ||
|
||
Describe("CSI Driver Test Suite", func() { | ||
sanity.GinkgoTest(config) | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters