github.com/percona/percona-xtradb-cluster-operator@v1.14.0/e2e-tests/build-and-run (about) 1 #!/bin/bash 2 3 set -o errexit 4 5 test_dir="$(dirname $0)" 6 . $(dirname $0)/functions 7 src_dir="$(realpath $test_dir/..)" 8 9 if [[ $BUILD != "0" ]]; then 10 echo "building, set BUILD=0 to suppress this" 11 $test_dir/build 12 fi 13 14 create_namespace run-$GIT_BRANCH-$RANDOM 15 deploy_operator 16 17 desc 'create PXC cluster' 18 apply_config $src_dir/deploy/secrets.yaml 19 apply_config $src_dir/deploy/cr.yaml 20 21 22 wait_for_running cluster1-pxc 3