Commit Graph

101 Commits

Author SHA1 Message Date
Woohyung Han
8a16f740d6 Update golangci-lint version to v1.21.0
Signed-off-by: Woohyung Han <techhanx@gmail.com>
2019-12-12 04:57:14 +00:00
Humble Chirammal
671e2d814a Add volumesize roundoff for expandrequest
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-11-27 14:00:47 +00:00
Madhu Rajanna
52c4d29f65 Remove csi-v0.3 from deploy.sh
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-10-15 11:10:19 +05:30
Niels de Vos
8f133e03b8 Add 'gosec' to the static-checks
Run static security scanning tool 'gosec' while testing.

URL: https://github.com/securego/gosec
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2019-09-04 11:48:37 +00:00
wilmardo
30fb7de118 feat: Implement helm lint
Signed-off-by: wilmardo <info@wilmardenouden.nl>
2019-08-16 07:38:33 +00:00
Madhu Rajanna
f1d61070cf remove work around for golangci-lint installation
as https://github.com/golangci/golangci-lint/issues/575
is fixed now.removing the workaround in CI

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-07-25 15:03:46 +00:00
Madhu Rajanna
6eac2e366e install dep on travis
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-07-25 15:03:46 +00:00
Madhu Rajanna
21a02fb559 Add dep check to the Makefile
check vendor directory is out of sync
with Gopkh .lock and .toml file

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-07-25 15:03:46 +00:00
Madhu Rajanna
5cf0599367 Enable Travis to run E2E against kube 1.15.0
Remove Travis from skip doc check

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-07-02 11:47:05 +00:00
Madhu Rajanna
ffe99403fc update minikube version to v1.2.0
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-07-02 11:47:05 +00:00
Madhu Rajanna
a083cb713f update golang version to 1.12.x
tls.VersionTLS13 requires 1.12.x

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-06-23 11:53:37 +00:00
Madhu Rajanna
fb0cbef68b update travis to run func test against different kube version
updated travis to run functional tests
against different kubernetes versions

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-06-14 13:18:24 +00:00
Humble Chirammal
8fb87ef8a4 Use v1.1.1 of minikube
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-06-11 12:31:05 +05:30
Madhu Rajanna
a38986fce0 Enable all static-checks in golangci-lint
* Enable all static-checks in golangci-lint
* Update golangci-lint version
* Fix issue found in golangci-lint

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-06-10 15:56:17 +05:30
Humble Devassy Chirammal
dc04362ac5
Merge pull request #406 from Madhu-1/update-golangci
update golangci-lint to latest stable version
2019-06-05 10:13:07 +05:30
Madhu Rajanna
beb2410a13 update golangci-lint to latest stable version
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-06-04 23:30:10 +05:30
Madhu Rajanna
fc529f4831 Add E2E framework
deploys rook
deploy cephfs plugin
deploy rbd plugin
create PVC/POD to test cephfs
create PVC/POD to test rbd

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-06-04 11:39:42 +05:30
Madhu Rajanna
9bb23e4e32 code changes for E2E
update travis and makefile for functional test

skip docker pull if image is already present
on local machine.

if the image is not present locally  pull the
image from repo.

export kubeconfig in travis

build cephcsi image in travis job for
functional testing

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-06-04 11:39:40 +05:30
Humble Devassy Chirammal
5e04be9e1f
Merge pull request #397 from humblec/kube-upgrade
Update minikube to 1.14 and also update container images to latest
2019-06-04 11:30:00 +05:30
Humble Chirammal
dcdee86c44 Update minikube to 1.14 and also update container images to latest
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-06-04 05:44:40 +05:30
Humble Chirammal
d4ae041505 Remove csi-v1.0 from branches in travis.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-06-02 15:34:37 +05:30
Madhu Rajanna
b6b7cf2c3d skip functional tests for doc change
in some cases, we don't need to do
functional testing, like doc change
of the yml files related to Travis
or mergify.This PR skip functional
testing for this kind of changes

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-05-29 22:32:42 +00:00
Madhu Rajanna
7599d42f1b Get TravisCI instance of Kube
installing Kube with a script will also
help developers to do local testing.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-05-28 03:42:48 +00:00
Humble Chirammal
5bebb7f8f5 Exit travis if script failed.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-27 11:34:17 +00:00
Madhu Rajanna
74ad010d85 update Travis to build cephcsi
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-05-08 05:39:27 +00:00
Madhu Rajanna
205be90d74 update travis.yml and deploy.sh
update travis.yaml and deploy.sh
to build v0.3.0 images from csi-v0.3
branch instead of master.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-04-01 13:07:56 +05:30
Madhu Rajanna
57cea727fa Fix yaml lint errors
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-03-04 19:01:25 +05:30
Madhu Rajanna
1018eda27a replace gometalinter with golangci
gometalinter is being deprecated in favor of golangci.
switching to golangci in ci and make test

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-03-04 19:01:16 +05:30
Madhu Rajanna
1b98106815 add addons to travis
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-07 12:19:14 +00:00
Madhu Rajanna
0fc294ae5b update travis to do more static checks
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-07 12:19:14 +00:00
Madhu Rajanna
3132130e83 Fix CI failure for gometalinter
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-04 19:59:18 +05:30
Madhu Rajanna
419117c8c2 install gometalinter in $GOPATH/bin
update gometalinter to stable v3.0.0

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-04 19:30:58 +05:30
Madhu Rajanna
6263b9cdb5 megacheck is not present in gometalinter v3.0.0
added staticheck option for gometalinter

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-04 10:44:00 +05:30
Madhu Rajanna
ec6cc52283 remove golint from travis.yml
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 18:17:04 +05:30
Madhu Rajanna
50ba8ed446 Fix gometalinter issues
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:24:36 +05:30
Madhu Rajanna
c0182c5881 Add megacheck for gometalinter
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:20:35 +05:30
Madhu Rajanna
58997ecbd8 update go version to 1.11.x
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:20:35 +05:30
Madhu Rajanna
d625eb7f54 update travis to add gometalinter static check
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:20:35 +05:30
Huamin Chen
684f753581 upgrade go version
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-15 17:25:05 +00:00
Mike Cronce
78750b2dd5 .travis.yml: Run deploy.sh on all branches 2018-12-10 11:05:25 -05:00
Mike Cronce
656a1ce902 .travis.yml: Also build csi-v1.0 branch 2018-12-10 09:24:04 -05:00
Huamin Chen
eda167ca0d fix golint
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-10-15 15:06:21 +00:00
Huamin Chen
9d9afc1093 consolidate container deploy
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-19 14:06:57 -04:00
gman
304781bbe5 updated travis CI 2018-04-24 10:00:24 +02:00
Huamin Chen
c7ba5a6f8b enable sudo in travis
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-02-15 21:06:12 +00:00
Huamin Chen
4b5ad66662 verify build
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-02-15 21:02:39 +00:00
Huamin Chen
ed7d6e746c verify build
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-02-15 20:58:10 +00:00
Huamin Chen
e602ddd675 add deploy script
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-02-15 20:55:06 +00:00
Huamin Chen
202845681a fix travis
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-02-15 20:37:08 +00:00
Huamin Chen
b9f176106d push image into quay.io
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-02-15 19:33:57 +00:00
Huamin Chen
b7286329ef rename travis 2018-01-10 18:27:56 +00:00