mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 17:59:25 +02:00
* build multi-arch pooler image * add pooler build step in delivery.yaml and bump pooler version * pull from docker hub not zalando registry * add pooler step to ghcr workflow * pass infra roles to auth file via pooler entrypoint * introduce extra pooler secret for mounting auth_file * use pbgouncer as image name and push to ghcr on next merge * build with latest pgbouncer * integrate new image in e2e process and update pooler image default * update pooler build dependencies * build pooler image for e2e test * more Makefile and e2e run script tweaking --------- Co-authored-by: Ida Novindasari <idanovinda@gmail.com>
17 lines
919 B
Bash
Executable File
17 lines
919 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export cluster_name="postgres-operator-e2e-tests"
|
|
export kubeconfig_path="/tmp/kind-config-${cluster_name}"
|
|
export operator_image="ghcr.io/zalando/postgres-operator:latest"
|
|
export pooler_image="ghcr.io/zalando/postgres-operator/pgbouncer:latest"
|
|
export e2e_test_runner_image="ghcr.io/zalando/postgres-operator-e2e-tests-runner:latest"
|
|
|
|
docker run -it --entrypoint /bin/bash --network=host -e "TERM=xterm-256color" \
|
|
--mount type=bind,source="$(readlink -f ${kubeconfig_path})",target=/root/.kube/config \
|
|
--mount type=bind,source="$(readlink -f manifests)",target=/manifests \
|
|
--mount type=bind,source="$(readlink -f tests)",target=/tests \
|
|
--mount type=bind,source="$(readlink -f exec.sh)",target=/exec.sh \
|
|
--mount type=bind,source="$(readlink -f scripts)",target=/scripts \
|
|
-e OPERATOR_IMAGE="${operator_image}" -e POOLER_IMAGE="${pooler_image}" \
|
|
"${e2e_test_runner_image}"
|