Commit Graph

14 Commits

Author SHA1 Message Date
Jan Mußler 474d4d974e Rename cleanup. Add to readme. 2020-10-27 17:59:10 +01:00
Jan Mußler aa3100ca34 Mount script with tools for easy logaccess and watching objects. 2020-10-22 23:35:43 +02:00
Jan Mußler 2066256a17 Progressing on faster e2e tests. 2020-10-21 15:23:17 +02:00
Jan Mußler 668ef51d9f Printing config as multi log line entity, makes it readable and grepable on startup 2020-10-21 08:33:31 +02:00
Jan Mußler c6c4c4cc8a * Make lazy upgrade test work reliable
* Allow Docker image to take parameters to overwrite unittest
execution
  * Add documentation for running individual tests
  * Fixed String encoding in Patorni state check and error case
2020-10-20 19:20:38 +02:00
Jan Mußler 966575dd4b * Patroni state function added in k8s
* Lazy upgrade now properly covered with eventual and waiting for pod
start
 * patching config now updates deployment, patching annotation, allowing
to trace change step
 * run.sh no takes NOCLEANUP to stop kind from being deleted
 * if kind config is present, run will not install kind
 * Fast e2e local execution now possible once kind is up
2020-10-19 23:35:08 +02:00
Jan Mußler ccde8c6bf6 More fixes for e2e tests. 2020-10-19 13:53:48 +02:00
Jan Mußler cc4bfb0cfb Build docker image and changed back to os image. 2020-10-18 19:56:54 +02:00
Jan Mussler 21afc07d9f Improving end 2 end tests by implementing proper eventual asserts and timeouts. 2020-10-18 19:23:17 +02:00
Sergey Dudoladov 3b6dc4f92d
Improve e2e tests (#1111)
* icnrease vm size

* cache deps

* switch to the absolute cache path as cdp does not support shell expansion

* do not pull non-existing image

* manually install kind

* add alias to kind

* use full kind name

* one more name change

* install kind with other tools

* add bind mounts instead of copying files

* test fetching the runner image

* build image for pierone

* bump up the client-go version to match the master

* bump up go version

* install pinned version of kind before any test run

* do not overwrite local ./manifests during test run

* update the docs

* fix kind name

* update go.* files

* fix deps

* avoid unnecessary image upload

* properly install kind

* Change network to host to make it reachable within e2e runner. May not be the right solution though.

* Small changes. Also use entrypoint vs cmd.

* Bumping spilo. Load before test.

* undo incorrect merge from the master

Co-authored-by: Sergey Dudoladov <sergey.dudoladov@zalando.de>
Co-authored-by: Jan Mußler <janm81@gmail.com>
2020-09-25 14:14:19 +02:00
Felix Kunde 30c86758a3
update kind and use with old storage class (#1121)
* update kind and use with old storage class
* specify standard storage class in minimal manifest
* remove existing local storage class in kind
* fix pod distribution test
* exclude k8s master from nodes of interest
2020-08-28 12:16:37 +02:00
Felix Kunde 5515640111
install kind as GO module (#742)
* install kind as GO modules
* no need to set KIND_PATH
2019-11-28 17:39:25 +01:00
Felix Kunde cd350a4bc1
make run.sh executable from within e2e (#619) 2019-07-24 15:07:32 +02:00
Sergey Dudoladov 69af2d60e5
Implement runner for e2e tests (#548)
* implement a runner for e2e tests

* move e2e tests to a Docker container

* integrate e2e tests into build pipelines

* add tests for multi-namespace support and logical backup jobs

* @FxKu implement the first e2e test for failovers
2019-06-05 17:07:27 +02:00