mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 02:32:14 +02:00
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
This commit is contained in:
+5
-1
@@ -11,7 +11,7 @@ pipeline:
|
||||
apt-get update
|
||||
- desc: 'Install required build software'
|
||||
cmd: |
|
||||
apt-get install -y make git apt-transport-https ca-certificates curl build-essential
|
||||
apt-get install -y make git apt-transport-https ca-certificates curl build-essential python3 python3-pip
|
||||
- desc: 'Install go'
|
||||
cmd: |
|
||||
cd /tmp
|
||||
@@ -41,6 +41,10 @@ pipeline:
|
||||
export PATH=$PATH:$HOME/go/bin
|
||||
cd $OPERATOR_TOP_DIR/postgres-operator
|
||||
go test ./...
|
||||
- desc: 'Run e2e tests'
|
||||
cmd: |
|
||||
cd $OPERATOR_TOP_DIR/postgres-operator
|
||||
make e2e-tools e2e-build e2e-run
|
||||
- desc: 'Push docker image'
|
||||
cmd: |
|
||||
export PATH=$PATH:$HOME/go/bin
|
||||
|
||||
Reference in New Issue
Block a user