Skip to content

Commit

Permalink
# This is a combination of 8 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

setup travis running e2e tests on the nfs driver

# The commit message kubernetes-csi#2 will be skipped:

# remove release-tools

# The commit message kubernetes-csi#3 will be skipped:

# test travis with no makefile in config

# The commit message kubernetes-csi#4 will be skipped:

# change path

# The commit message kubernetes-csi#5 will be skipped:

# adding e2e test to travis ci

# The commit message kubernetes-csi#6 will be skipped:

# add travis build status on README

# The commit message kubernetes-csi#7 will be skipped:

# fix travis script

# The commit message kubernetes-csi#8 will be skipped:

# use local-up-cluster instead of dind for travis CI
  • Loading branch information
Mathusan Selvarajah committed Mar 22, 2019
1 parent 575e2fe commit 11101eb
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 498 deletions.
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: go
sudo: required
services:
- docker
before_script:
# Setup cluster with local-up-cluster.sh
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
- chmod +x ./kubectl
- sudo mv ./kubectl /usr/local/bin/kubectl
- export KUBECONFIG=/var/run/kubernetes/admin.kubeconfig
- pwd
- cd ../../../ && mkdir k8s.io && cd k8s.io && git clone https://github.com/mathu97/kubernetes.git
- pwd
- cd kubernetes && hack/install-etcd.sh && export $(echo "PATH=$(pwd)/third_party/etcd:${PATH}")
- ALLOW_PRIVILEGED=1 hack/local-up-cluster.sh &
# Wait for Kubernetes to be up and ready.
- JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status};{end}{end}'; until kubectl get nodes -o jsonpath="$JSONPATH" 4>&1 | grep -q "Ready=True"; do sleep 1; done
script:
- make build
- cd ../../github.com/
- pwd
- mkdir wongma7 && cd wongma7
- git clone https://github.com/wongma7/csi-certify.git
- cd csi-certify
- go test -v ./cmd/... -ginkgo.v -ginkgo.progress --kubeconfig=/var/run/kubernetes/admin.kubeconfig --testdriver=nfs -timeout=0
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@
CMDS=nfsplugin
all: build

include release-tools/build.make
#include release-tools/build.makei
build:
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o ./bin/nfsplugin ./cmd/nfsplugin
docker build -t quay.io/mathu97/nfsplugin:v1.0.0 .
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[![Build Status](https://travis-ci.org/mathu97/csi-driver-nfs.svg?branch=master)](https://travis-ci.org/mathu97/csi-driver-nfs)
# CSI NFS driver

## Kubernetes
Expand Down
2 changes: 1 addition & 1 deletion cmd/nfsplugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/spf13/cobra"

"github.com/kubernetes-csi/csi-driver-nfs/pkg/nfs"
"github.com/mathu97/csi-driver-nfs/pkg/nfs"
)

var (
Expand Down
31 changes: 0 additions & 31 deletions release-tools/CONTRIBUTING.md

This file was deleted.

201 changes: 0 additions & 201 deletions release-tools/LICENSE

This file was deleted.

11 changes: 0 additions & 11 deletions release-tools/OWNERS

This file was deleted.

51 changes: 0 additions & 51 deletions release-tools/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions release-tools/RELEASE.md

This file was deleted.

14 changes: 0 additions & 14 deletions release-tools/SECURITY_CONTACTS

This file was deleted.

Loading

0 comments on commit 11101eb

Please sign in to comment.