Commit Graph

798 Commits

Author SHA1 Message Date
Sergey Dudoladov 9d1939d1ce bump up kind versions 2019-05-24 16:21:11 +02:00
Sergey Dudoladov a64c355985 bump up waiting period for the operator pod 2019-05-24 16:08:08 +02:00
Sergey Dudoladov 7075d11975 add a test for multiple namespaces 2019-05-24 15:53:36 +02:00
Sergey Dudoladov 4bb20da4f5 unset Kubeconfig env var 2019-05-24 15:05:35 +02:00
Sergey Dudoladov 424ad7677c lint run.sh 2019-05-24 14:56:30 +02:00
Sergey Dudoladov 46a4342a2f pin versions 2019-05-24 14:51:36 +02:00
Sergey Dudoladov 3f32870d75 fix flake8 violations 2019-05-24 14:37:08 +02:00
Sergey Dudoladov 2ce7b5113f refactor 2019-05-24 14:16:29 +02:00
Sergey Dudoladov 2984872dfb create with kubectl 2019-05-23 18:16:16 +02:00
Sergey Dudoladov 0580916ba0 drop Utils 2019-05-23 18:04:21 +02:00
Sergey Dudoladov 7cee3701fd switch to K8s class instead of Util 2019-05-23 18:03:38 +02:00
Sergey Dudoladov 63aa6e60fb move retry timeout to utils 2019-05-23 16:57:02 +02:00
Sergey Dudoladov 7b9e8521ea rename k8s_api to k8s everywhere 2019-05-23 16:17:57 +02:00
Sergey Dudoladov a8cdd8bd9d introduce explicit timeout for operator pod 2019-05-23 16:14:38 +02:00
Sergey Dudoladov 7b71e0b1e7 resolve first TODOs 2019-05-23 14:44:44 +02:00
Sergey Dudoladov 45896d503f add assertions to logical backup test 2019-05-23 14:16:35 +02:00
Sergey Dudoladov 3e42713d9b Merge branch 'sketch-e2e-tests' of https://github.com/zalando-incubator/postgres-operator into sketch-e2e-tests 2019-05-23 12:19:35 +02:00
Sergey Dudoladov 0ec3739732 avoid dropping DELETE event for cron job 2019-05-23 12:19:21 +02:00
Sergey Dudoladov da2e251b5c 1st commit for logical backup e2e test 2019-05-22 17:51:11 +02:00
Felix Kunde 948b03fffc be nice to flake8 2019-05-22 16:26:50 +02:00
Felix Kunde 6a16daf172 wait also for replica to be up and running 2019-05-21 12:44:39 +02:00
Felix Kunde 7ca8662307 minor fix 2019-05-21 12:17:30 +02:00
Felix Kunde 1a3acd0eab minor fix 2019-05-20 17:44:35 +02:00
Felix Kunde f677714dab consider setups with more replicas and kind workers 2019-05-20 15:57:11 +02:00
Felix Kunde 461beec310 additional check plus comments 2019-05-20 14:52:15 +02:00
Felix Kunde a00f0476ea add test for taint-based eviction 2019-05-20 14:14:32 +02:00
Sergey Dudoladov becb05e3b8 Merge branch 'master' into sketch-e2e-tests 2019-05-16 15:55:34 +02:00
Sergey Dudoladov f3e1e80aaf
Add logical backup (#442)
* Add k8s cron job to spawn logical backups

* Minor doc updates
2019-05-16 15:52:01 +02:00
Sergey Dudoladov 9b05215b28 split run.sh into functions for readability 2019-05-14 14:10:06 +02:00
Sergey Dudoladov c3f5200d4b minor improvements in Dockerfile 2019-05-14 13:20:17 +02:00
Sergey Dudoladov 2c02b371e2
fix statefulset sync (#563) 2019-05-14 11:15:47 +02:00
Felix Kunde 4b9e6058e1 add update for CRD to RBAC (#564) 2019-05-13 17:36:15 +02:00
Sergey Dudoladov c7106dcc32 substitute realname with readlink 2019-05-13 13:24:27 +02:00
Sergey Dudoladov 0ec5a2c8b6 use full binary name 2019-05-13 13:08:42 +02:00
Sergey Dudoladov b8e5567e91 install Kind to GOENV/bin 2019-05-13 12:57:25 +02:00
Sergey Dudoladov 82bf0d90ed debug builds 2019-05-13 12:34:49 +02:00
Sergey Dudoladov 66a6d81bc0 install pinned kind version to well-known location 2019-05-13 12:23:39 +02:00
Sergey Dudoladov e985107090 remove kubectl mentions 2019-05-13 11:49:08 +02:00
Sergey Dudoladov eeaa1a132c install kind before run 2019-05-13 11:39:34 +02:00
Sergey Dudoladov e1befadedd ping kind version for CDP build 2019-05-13 11:32:03 +02:00
Sergey Dudoladov 407b2cab41 move tests to a Docker container 2019-05-10 17:00:16 +02:00
Dmitry Dolgov f29bdaf96a
Override clone s3 bucket path (#487)
Override clone s3 bucket path

Add possibility to use a custom s3 bucket path for cloning a cluster
from an arbitrary bucket (e.g. from another k8s cluster). For that
a new config options is introduced `s3_wal_path`, that should point
to a location that spilo would understand.
2019-05-10 12:52:42 +02:00
Sergey Dudoladov 084167ff35 run e2e in a separate Docker image, 1st commit 2019-05-09 18:09:00 +02:00
Felix Kunde ad0b250b5b
patch CRD on operator update (#558)
* patch existing CRD each time there is an operator update
2019-05-09 12:35:15 +02:00
Sergey Dudoladov 52e53f152f add Dockerfile for e2e tests 2019-05-08 10:33:42 +02:00
Felix Kunde 0fbfbb23bb
Use /status subresource instead of plain manifest field (#534)
* turns PostgresStatus type into a struct with field PostgresClusterStatus
* setStatus patch target is now /status subresource
* unmarshalling PostgresStatus takes care of previous status field convention
* new simple bool functions status.Running(), status.Creating()
2019-05-07 12:01:45 +02:00
Sergey Dudoladov af13605abf add 'halo' to requirements 2019-05-03 11:24:00 +02:00
Sergey Dudoladov bfb6b5341d Add progress reporting and make tests verbose 2019-05-03 10:39:19 +02:00
Sergey Dudoladov f2b73e0ae6 add a make target to isntall required tools for e2e 2019-05-02 17:50:44 +02:00
Sergey Dudoladov 2aba5291d5 remove python 3.6 formatting strings 2019-05-02 15:33:53 +02:00