diff --git a/.github/scripts/end2end/prepare-pra.sh b/.github/scripts/end2end/prepare-pra.sh index 215868d752..dee0ebe4fc 100644 --- a/.github/scripts/end2end/prepare-pra.sh +++ b/.github/scripts/end2end/prepare-pra.sh @@ -6,14 +6,14 @@ export MONGODB_PRA_DATABASE="${MONGODB_PRA_DATABASE:-'pradb'}" export ZENKO_MONGODB_DATABASE="${MONGODB_PRA_DATABASE}" export ZENKO_MONGODB_SECRET_NAME="mongodb-db-creds-pra" -echo 'ZENKO_MONGODB_DATABASE="pradb"' >> $GITHUB_ENV -echo 'ZENKO_MONGODB_SECRET_NAME="mongodb-db-creds-pra"' >> $GITHUB_ENV +echo 'ZENKO_MONGODB_DATABASE="pradb"' >> "$GITHUB_ENV" +echo 'ZENKO_MONGODB_SECRET_NAME="mongodb-db-creds-pra"' >> "$GITHUB_ENV" -echo 'ZENKO_IAM_INGRESS="iam.dr.zenko.local"' >> $GITHUB_ENV -echo 'ZENKO_STS_INGRESS="sts.dr.zenko.local"' >> $GITHUB_ENV -echo 'ZENKO_MANAGEMENT_INGRESS="management.dr.zenko.local"' >> $GITHUB_ENV -echo 'ZENKO_S3_INGRESS="s3.dr.zenko.local"' >> $GITHUB_ENV -echo 'ZENKO_UI_INGRESS="ui.dr.zenko.local"' >> $GITHUB_ENV +echo 'ZENKO_IAM_INGRESS="iam.dr.zenko.local"' >> "$GITHUB_ENV" +echo 'ZENKO_STS_INGRESS="sts.dr.zenko.local"' >> "$GITHUB_ENV" +echo 'ZENKO_MANAGEMENT_INGRESS="management.dr.zenko.local"' >> "$GITHUB_ENV" +echo 'ZENKO_S3_INGRESS="s3.dr.zenko.local"' >> "$GITHUB_ENV" +echo 'ZENKO_UI_INGRESS="ui.dr.zenko.local"' >> "$GITHUB_ENV" MONGODB_ROOT_USERNAME="${MONGODB_ROOT_USERNAME:-'root'}" MONGODB_ROOT_PASSWORD="${MONGODB_ROOT_PASSWORD:-'rootpass'}" @@ -36,3 +36,36 @@ stringData: mongodb-password: $MONGODB_PRA_PASSWORD mongodb-database: $MONGODB_PRA_DATABASE EOF + +# Pre-create volume, to ensure it ends up on first node (dev-worker) +KAFKA_NODE="${CLUSTER_NAME:-kind}-worker" +kubectl -n ${PRA_NAMESPACE} apply -f - <> "$GITHUB_ENV" diff --git a/.github/scripts/end2end/run-e2e-ctst.sh b/.github/scripts/end2end/run-e2e-ctst.sh index 6a0e3cd6dc..01d51889bc 100755 --- a/.github/scripts/end2end/run-e2e-ctst.sh +++ b/.github/scripts/end2end/run-e2e-ctst.sh @@ -67,6 +67,7 @@ WORLD_PARAMETERS="$(jq -c <