Add ci pipeline with GitLab (#3)
* Add automated testing * Create loop device while staging s3backer
This commit is contained in:
parent
02cde15691
commit
82e4a865da
7 changed files with 70 additions and 4 deletions
pkg/s3
|
@ -121,6 +121,8 @@ var _ = Describe("S3Driver", func() {
|
|||
if err := os.Remove(socket); err != nil && !os.IsNotExist(err) {
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
}
|
||||
// Clear loop device so we cover the creation of it
|
||||
os.Remove(s3.S3backerLoopDevice)
|
||||
driver, err := s3.NewS3("test-node", csiEndpoint, cfg)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue