![Parsons, Cliff (cp769u)](/assets/img/avatar_default.png)
This patchset adds the capability to create a postgresql test database at the time of postgresql-utility pod deployment, and ensures that the dbutils test commands only operate on that test database. Change-Id: I40ca1955d693cd3dbad3857f31efb7e81ff53c88
23 lines
677 B
Smarty
23 lines
677 B
Smarty
#!/bin/sh
|
|
{{/*
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/}}
|
|
set -ex
|
|
sudo ./tmp/start.sh
|
|
|
|
if [ -f /tmp/create_test_database.sh ]; then
|
|
./tmp/create_test_database.sh
|
|
fi
|
|
|
|
tail -f /var/log/syslog
|