Niels de Vos
79b0b8cfa6
travis: re-enable running on arm64
...
Travis CI has fixed their Ubuntu Xenial images for arm64, so the job can
be enabled again.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-03-20 12:01:56 +00:00
Madhu Rajanna
179084a60a
Skip arm64 building in CI
...
currently we are facing an issue related to
mongodb in arm64 travis CI
updates: #873
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-03-19 13:47:56 +00:00
Madhu Rajanna
d5a0606c33
Migrate from dep to go module
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-03-17 10:44:07 +00:00
Niels de Vos
66b73e3682
travis: install Ceph development packages for go-ceph
...
The Ceph community does not guarantee that arm64 packages get build and
published with each release. In order to prevent falling back to ancient
Ceph versions from ubuntu-ports, add an unsigned repository with Ceph
Nautilus 14.2.5.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-03-11 16:09:10 +00:00
wilmardo
f04af5742d
refact: Remove Kubernetes 1.13.x support
...
Signed-off-by: wilmardo <info@wilmardenouden.nl>
2020-01-20 10:32:30 +00:00
Yibo Cai
4b8b52e0de
Support Arm64 image
...
Update CI merge job to build and push Arm64 image to
quay.io/cephcsi/cephcsi:version-arm64.
Add CI PR job running on Travis Arm64 nodes to make sure cephcsi
compiles successfully on Arm64.
No CI test job is availabe for Arm64 now due to below issues
- k8s-csi sidecar images for Arm64 are not available
- Travis Arm64 CI job runs inside unprivileged LXD which blocks
launching minikube test environment
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2020-01-09 09:53:50 +00:00
Madhu Rajanna
aa32e8b43b
update E2E testing to 1.15.6 and 1.17.0
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-12-13 11:45:54 +00:00
Madhu Rajanna
0ae7cd36ce
Update minikube to latest released version
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-12-13 11:45:54 +00:00
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