Commit Graph

25 Commits

Author SHA1 Message Date
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
Rafia Sabih 98940e65fb
Fix for broken Makefile (#522)
Remove unnecessary double quotes in the path value
2019-03-25 11:00:17 +01:00
Stephane T edeb06d39c fix: update init_containers (#518)
* fix: PATH expension in Makefile

Signed-off-by: Stephane Tang <hi@stang.sh>

* refact: pass list of containers to compareContainers()

Signed-off-by: Stephane Tang <hi@stang.sh>

* compare initContainers while comparing StatefulSet

  Fixes #517

Signed-off-by: Stephane Tang <hi@stang.sh>

* refact: compareContainers()

Signed-off-by: Stephane Tang <hi@stang.sh>
2019-03-19 17:46:12 +01:00
Sergey Dudoladov 74cc9a44f8
Post-graduation updates (#495)
* update generated code

* update glide.lock

* Verify staleness of generated code during build and before running tests
2019-02-26 12:34:05 +01:00
zerg-junior ccaee94a35
Minor improvements (#381)
* Minor improvements

* Document empty list vs null for users without privileges

* Change the wording for null values

* Add talk by Oleksii in Atmosphere
2018-11-06 11:08:13 +01:00
zerg-junior 1b4181a724
[WIP] Add the ability to configure replications slots in Patroni (#398)
* Add the ability to configure replication slots in Patroni

* Add debugging  to Makefile for CDP builds
2018-10-31 13:10:56 +01:00
Dmitrii Dolgov 09abdce095 Improvements for debug mode
Return back `cd docker` part to be less invasive,
and add `-debug` postfix for image
2018-02-02 11:17:12 +01:00
Dmitrii Dolgov bf7df5d5b5 Add debug mode
You can specify an environment variable DEBUG 1/0 to enable/disable
debug mode. Debug mode assumes delve dependency for remote debugging,
and debugging symbols for go build.
2018-02-02 10:39:39 +01:00
Jan Mussler a98a7c95c2 Reorganize Readme (#142)
removing parts of config.

* chaning secret name pattern to make things shorter.

* Move section on self building docker image.

* Fix typo.

* Bump image.

* bump version for pdb fix.

* Changes in regards to review.

* Fix xhyve driver link.

* Move to new api, remove service account, not needed for minikube.

* Changed minimal manifest and example to use right file.

* Added service account for operator again, it is needed in pods anyways later.
2017-10-24 20:42:22 +02:00
Murat Kabilov 4bc2284b57 bump go version to 1.9 2017-10-11 12:01:35 +02:00
Murat Kabilov 20ce38f585 fix staticcheck tool (#102)
fix staticcheck source path
2017-09-15 15:11:48 +02:00
Oleksii Kliukin 132c8425e6 Small Makefile improvements. (#31)
- Re-introduce -i flag for Mac OS
- Remove binary dependencies for builds to allow re-building w/o make
clean
2017-05-23 12:06:55 +02:00
Henning Jacobs c08e83bebf #10 fix make docker (#11) 2017-05-14 22:12:48 +02:00
Oleksii Kliukin 24638de665 Linux race-enabled builds inside Docker. (#123)
Cross-platform go builds with linux as a target platform and race
enabled require to link against the linux so and have the cross
platform compiler installed, which is a pain. To avoid this we
build everything in Linux-native environment in a container.

Note that running such builds requires replacing the operator
Docker base image from Alpine to something with a real glibc
(i.e. ubuntu), since the target binary needs a dynamic linker.

Use -a flag in order to rebuild all packages, since we might have
built them on a wrong platform.
2017-05-12 11:41:36 +02:00
Murat Kabilov 34ae324fe9 Glide strip vendor 2017-05-12 11:41:36 +02:00
Oleksii Kliukin a9c6c4861c Use git: prefix for the git URL in scm-source.json (#112) 2017-05-12 11:41:35 +02:00
Oleksii Kliukin 701fa729de Use glide update to fetch dependencies.
Update existing depenecies.
2017-05-12 11:41:29 +02:00
Oleksandr Shulgin 0821990720 Only set -i flag of go build when compiling locally
This fixes permissions problem when building linux target on CD.
2017-05-12 11:37:09 +02:00
Oleksandr Shulgin 6068593238 Override PATH inside Makefile to add $GOPATH/bin 2017-05-12 11:37:08 +02:00
Murat Kabilov 75e6bfa55c makefile improvements 2017-05-12 11:37:07 +02:00
Oleksandr Shulgin 7974dc8c4e Move Dockerfile to a subdir for smaller build context 2017-05-12 11:36:22 +02:00
Oleksandr Shulgin 3f5bc83de1 Make only the binary inside golang toolchain, push from jenkins 2017-05-12 11:35:51 +02:00
Oleksii Kliukin 5ae011e6fc Cleanup scm-sources.json during make clean. 2017-05-12 11:35:51 +02:00
Oleksii Kliukin dc3c66c70d Alays Make clean before producing a docker image. 2017-05-12 11:35:51 +02:00
Oleksii Kliukin 8e15b846c9 Add project's Makefile, improve the Dockerfile.
Add targets to build operator and create docker images.
  Add scm-source.json to the Dockerfile.
2017-05-12 11:35:47 +02:00