Commit Graph
50 Commits
Author SHA1 Message Date
Sameer Kulkarni 9816fc7ce6 yugabytedb: integration tests and scripts
Signed-off-by: Sameer Kulkarni <samkulkarni20@gmail.com>
2019-08-27 22:45:14 +05:30
Travis Nielsen 786384f018 Merge pull request #3457 from travisn/minikube-push-images
Minikube test script: push v14 instead of v13 image only when needed
2019-08-26 23:56:09 -06:00
Sébastien Han 764f399630 minikube: fix symlink
Let's create the symlink one directory above dataDirHostPath so that
chown won't complain that this is a symlink.

Closes: https://github.com/rook/rook/issues/3529
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-26 16:11:47 +02:00
c852e86fe9 ceph-rook object bucket provisioner
Signed-off-by: travisn <tnielsen@redhat.com>
Signed-off-by: jeffvance <jeff.h.vance@gmail.com>
Signed-off-by: Jon Cope <jcope@redhat.com>

Co-authored-by: Jon Cope <copejon@users.noreply.github.com>
Co-authored-by: Jeff Vance <jeff.h.vance@gmail.com>
2019-08-22 19:54:43 -06:00
travisn 24c134de38 start minikube with the default version of kubernetes
There is generally not a need to launch a specific version
of k8s, so just let minikube pick the latest version
to launch.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-07-23 17:49:35 -06:00
travisn 9411766b86 minikube script: push v14 instead of v13 image
The ceph image isn't needed every time the rook image is updated.
Thus, make it optional to copy the ceph image into the cluster.
Pushing the ceph image can be done by uncommenting in the script
when needed.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-07-15 17:17:48 -06:00
Kaushal M 16506e4f7a tests/scripts: Fix minikube script
Default to virtualbox driver. `minikube config get vm-driver` does not
work when default is used.

Fixes #3208.

Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-05-22 13:43:57 +05:30
Kaushal M 24d7c3059b tests/scripts: Fix minikube script for libvirt
The minikube script now uses the proper disk path (vda) when minikube is
configured to run with the libvirt driver.

Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-05-16 21:30:02 +05:30
travisn dd94fd14e3 tests: add k8s 1.14 to the integration test matrix
Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-25 15:53:19 -06:00
travisn 0230400e27 build: remove 1.8 and 1.9 and add 1.13 to integration tests
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-19 23:42:01 -07:00
Yannis Zarkadas b23d874856 cassandra: integration tests and scripts
Simple integration test for Cassandra.
Boilerplate in setup scripts for Jenkins.

Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com>
2018-12-05 12:50:09 +02:00
Jared Watts 2274f78683 Fixes for running Ceph, CockroachDB, and Minio demos
- Add cluster domain to minio spec
- Remove port configuration from minio spec
- Include unused packages for codegen related repos
- Update Minio version to pick up latest fixes
- Helper to load cockroachdb demo images into minikube

Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-11-08 10:52:49 -08:00
travisn b5862ca062 minikube: start version 1.12.2 by default
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-26 15:17:05 -06:00
travisn efd581e7ed start toolbox pod with the ceph image instead of a separate image
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-02 15:43:53 -06:00
Ratnadeep Debnath 96400d696a Update Jenkinsfile and other scripts to set k8s 1.8 as the min reqd version.
Signed-off-by: Ratnadeep Debnath <rtnpro@gmail.com>
2018-08-28 20:10:47 +05:30
rohan47 f31044b269 nfs: integration tests and scripts
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 10:34:40 +00:00
Travis Nielsen 53d6d8cc43 Merge pull request #1968 from travisn/minikube-update-images
Update only the images desired in minikube
2018-07-31 16:55:22 -06:00
travisn 8dcc6e70fd minikube: update only the images desired
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-31 14:57:48 -06:00
travisn 7f02ab3483 tests: add k8s 1.11 to the matrix
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-27 16:45:09 -06:00
Blaine Gardner fe5fb394c7 Fix spellcheck and trailing space/newline issues
Fix some basic spellcheck errors. Also remove trailing spaces and make
sure files have a newline (my editor does automatically).

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-07-26 11:36:09 -06:00
Huamin Chen 82425aafcc prepare osd in a job per node. Once all osds are prepared, store osd info in orchestration configmap.
Operator watches the configmap, starts one osd replica set per osd.

Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-05 16:02:27 -06:00
Alexander Trost f6aab8ef66 tests: Cleanup/Removed unnecessary whitespaces/new lines in scripts/docs
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-24 18:39:07 +02:00
Tony Allen 7442f8713b Implement Minio operator w/ tests.
Signed-off-by: Tony Allen <tony@upbound.io>
2018-06-21 16:41:30 -07:00
Jared Watts 0b8a8c2b65 cockroachdb: integration tests and scripts
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-06-18 19:19:15 -07:00
Jared Watts e48e951d1c Rename toolbox to make it Ceph specific, short names for CRDs, upgrade guide tweaks
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-05-22 12:31:38 -07:00
travisn 9f33ca2421 test: integration tests updates for multiple storage types
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-18 14:32:47 -07:00
travisn fc9118f7b2 remove support for k8s 1.6 and TPRs
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-08 10:09:38 -07:00
travisn c8e708674c set default k8s version for minikube to 1.10.0
Signed-off-by: travisn <tnielsen@redhat.com>
2018-04-12 15:53:17 -07:00
Illya Chekrygin c27bfc3bb4 Define CRD's as a part of the operator provisionning and remove it from operator init phase
Remove empty try/catch (erroneous commit)
Update Teardown documentation
Update PendingReleaseNotes with Operator resource changes

Signed-off-by: Illya Chekrygin <illya.chekrygin@gmail.com>
2018-04-05 09:54:22 -07:00
travisn 39cbbcc929 minikube: no need to set the kubelet ip for external access
Signed-off-by: travisn <tnielsen@redhat.com>
2018-03-22 16:08:07 -07:00
Steve Leon 3123d0bcd6 Use kubeadm bootstrapper for minikube
- Bump default version to current stable version of 1.9.1
- Expose memory as env varible
2018-01-12 09:54:49 -08:00
Steve Leon 97029aca28 Execute createRBAC function after images are copied
- There is a race condition where the k8s api is not finished
registering objects and the script tries to create RBAC objects
- Having the RBAC objects created after the images are copied should
give it enought time for the k8s api to finish registering objects
2017-11-02 10:11:44 -07:00
Travis Nielsen fc5d3090cc core: persist the config data in examples by default to /var/lib/rook 2017-11-01 10:02:37 -07:00
Pavel Snagovsky ad746c1667 restart pods for minikube kubectl context 2017-10-31 11:50:19 -07:00
Travis Nielsen 1da5a52eb2 scripts: set default minikube test env to 1.8.0 2017-10-25 15:05:18 -07:00
Divesh Angula 3292bff094 fix kube-dns CrashLoopBackOff issue with RBAC enabled minikube 2017-10-24 14:55:34 -07:00
Steve Leon e290cee720 Executing modprobe in agent pod
Fixes https://github.com/rook/rook/issues/1062
2017-10-12 14:44:26 -07:00
Steve Leon b4279e06fb Rook plugin for Kubernetes implemented as flexvolume
- Operator is deployed under namespace rook-system
- Operator deploys rook-agent on all nodes as daemonset also on
  rook-system
- Rook-agent installs flexvolume driver on hosts
- Rook-agent listens on unix socket for driver requests
- Rook-agent perform attach/detach on its node
- Rook-agent creates/delete CRD volumeattach objects
- Added fencing to support ROX and RWO
- Added unit and integration tests
- Updated examples and docks

fixes #432
2017-10-09 09:14:08 -07:00
Jared Watts 769fb330a9 tests: update testing documentation and minor fixes 2017-09-28 17:01:05 -07:00
Divesh Angula 9e08afb015 creating tests for multi cluster rook install
- refactoring basic tests so they can be reused with different rook installations
2017-09-13 15:48:58 -07:00
Alexander Trost 3aeb529e84 operator/mon: check if node for the mon is not ready and time it out
separately (240s)

Added comments

operator/mon: made the doc for the nodeState better

Renamed the monHealth to monTimeoutList

Renamed the monOutInterval to monOutTimeout

operator/mon: Implemented the feedback

tests/smoke: Corrected mon_test comment

smoke/mon: set interval and timeout for health check

Added build constraint to smoke/mon_test for linux

As written here https://github.com/rook/rook/pull/958#issuecomment-327507930

Removed controller.go healthCheckInterval

Set the interval for mon_test in smoke_test SetupSuite()

Fixed the smoke test by adding the build constraint

Removed obsolete clientTimeout from operator/cluster

Ran gofmt on block_test and helm_test

Use flags for the mon healthcheck and mon out timeout config

Added helm chart value sfor healthCheckInterval and monOutTimeout

Fixed the timeout map in mon/health.go

Fixed issues with some tests stuff

Reference the operator/mon defaults in the flags

Added Documentation for Ceph mon failover times env vars

Added missing toc link in documentation

Removed "Tweak Ceph mon failover times" to comments in rook-operator.yml
2017-09-07 11:11:34 +02:00
Divesh Angula ded84c9ce7 add integration tests for helm 2017-09-06 10:32:05 -07:00
Divesh Angula ee16ca83ad ci updates
- converting results to junit
 - better handling for apt-get install on slaves
 - better support for running tests on minikube and kubeadm
 - update default minikube k8s version to v1.7.2
 -use k8s 1.7.4 for kubeadm
2017-08-23 10:34:21 -07:00
Travis Nielsen c2118328d7 tests: minikube default version 1.7.2 2017-08-08 07:37:25 -07:00
Travis Nielsen ba0bb27d92 tests: dev helpers to work with test env 2017-08-02 22:00:49 -07:00
Divesh Angula da8fcaa623 refactor integration tests.
-rename tests following pattern area_functionalunit_platfrom_test.go
 -removing unused code
 -not accessing static test files
2017-07-27 12:01:16 -07:00
Travis Nielsen 0a78728f59 tests: k8s api client and more test logging 2017-07-20 23:30:32 -07:00
Divesh Angula c46a930ad8 adding support for running tests on multiple k8s versions 2017-07-20 14:47:46 -07:00
Divesh Angula c6556c2583 adding common test setup and teardown to install and uninstall rook. 2017-06-30 12:16:10 -07:00
Bassam Tabbara bd1287817f testing: initial support for minikube 2017-06-29 15:20:28 -07:00