Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ void runTest(Integer TEST_ID) {
if [ ! -d "e2e-tests/logs" ]; then
mkdir "e2e-tests/logs"
fi
export PG_DISTRIBUTION=community
export KUBECONFIG=/tmp/$CLUSTER_NAME-$clusterSuffix
export PATH="\${KREW_ROOT:-\$HOME/.krew}/bin:\$PATH"
set -o pipefail
Expand Down
9 changes: 5 additions & 4 deletions e2e-tests/vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ else
export PG_VER="${PG_VER:-18}"
fi

PG_DISTRIBUTION='community'
export PG_DISTRIBUTION="${PG_DISTRIBUTION:-}"
Comment on lines +41 to 42
Comment on lines +41 to 42

if [[ $PG_DISTRIBUTION == "community" ]]; then
export IMAGE_PGBOUNCER=${IMAGE_PGBOUNCER:-"${IMAGE_BASE}:main-pgbouncer-community"}
export IMAGE_POSTGRESQL=${IMAGE_POSTGRESQL:-"${IMAGE_BASE}:main-postgres${PG_VER}-community"}
export IMAGE_BACKREST=${IMAGE_BACKREST:-"${IMAGE_BASE}:main-pgbackrest-community"}
export IMAGE_UPGRADE=${IMAGE_UPGRADE:-"${IMAGE_BASE}:main-upgrade-community"}
export IMAGE_PGBOUNCER=${IMAGE_PGBOUNCER:-"${IMAGE_BASE}:main-ubi8-pgbouncer-community"}
export IMAGE_POSTGRESQL=${IMAGE_POSTGRESQL:-"${IMAGE_BASE}:main-ubi8-postgres${PG_VER}-community"}
export IMAGE_BACKREST=${IMAGE_BACKREST:-"${IMAGE_BASE}:main-ubi8-pgbackrest-community"}
export IMAGE_UPGRADE=${IMAGE_UPGRADE:-"${IMAGE_BASE}:main-ubi8-upgrade-community"}
else
export IMAGE_PGBOUNCER=${IMAGE_PGBOUNCER:-"${IMAGE_BASE}:main-pgbouncer$PG_VER"}
export IMAGE_POSTGRESQL=${IMAGE_POSTGRESQL:-"${IMAGE_BASE}:main-ppg$PG_VER-postgres"}
Expand Down
Loading