File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function stop_cluster() {
25
25
&& [[ $( kubectl_bin get psmdb ${cluster_name} -o jsonpath=' {.status.replsets.rs0.ready}' ) -le 0 ]]; do
26
26
echo -n .
27
27
let passed_time=" ${passed_time} +${sleep_time} "
28
- sleep ${passed_time }
28
+ sleep ${sleep_time }
29
29
if [[ ${passed_time} -gt ${max_wait_time} ]]; then
30
30
echo " We've been waiting for cluster stop for too long. Exiting..."
31
31
exit 1
Original file line number Diff line number Diff line change 3
3
GIT_COMMIT=$( git rev-parse HEAD)
4
4
GIT_BRANCH=${VERSION:- $(git rev-parse --abbrev-ref HEAD | sed -e ' s^/^-^g; s^[.]^-^g;' | sed -e ' s/_/-/g' | tr ' [:upper:]' ' [:lower:]' )}
5
5
API=" psmdb.percona.com/v1"
6
- OPERATOR_VERSION=" $( yq eval ' .spec. crVersion' $( realpath $test_dir /../../ deploy/cr.yaml) ) "
6
+ OPERATOR_VERSION=" $( grep ' crVersion' $( realpath $( dirname ${BASH_SOURCE[0]} ) /../deploy/cr.yaml) | awk ' {print $2} ' ) "
7
7
IMAGE=${IMAGE:- " perconalab/percona-server-mongodb-operator:${GIT_BRANCH} " }
8
8
IMAGE_PMM=${IMAGE_PMM:- " perconalab/pmm-client:dev-latest" }
9
9
IMAGE_MONGOD=${IMAGE_MONGOD:- " perconalab/percona-server-mongodb-operator:main-mongod5.0" }
You can’t perform that action at this time.
0 commit comments