Skip to content

Commit ef92c79

Browse files
committed
add db user to db dump
1 parent 1543bae commit ef92c79

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

dataload/opentp.db

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
CREATE ROLE opentp;
2+
CREATE DATABASE opentp;
3+
ALTER USER opentp WITH PASSWORD 'password';
4+
ALTER USER opentp WITH LOGIN;
5+
\c opentp
6+
7+
8+
19
--
210
-- PostgreSQL database dump
311
--

install/install.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ if [ -z "$VERSION" ]; then
2323
echo "installing latest Open Trading Platform ci build";
2424
DOCKERREPO="ettec/opentp-ci-build:"
2525
TAG=""
26+
VERSION="cibuild"
2627
else
2728
echo "installing Open Trading Platform version $VERSION";
2829
fi
@@ -91,7 +92,7 @@ kubectl exec -it --namespace=kafka cmdlineclient -- /bin/bash -c "kafka-topics -
9192
echo installing Open Trading Platform...
9293

9394

94-
helm install --wait --timeout 1200s otp-v1 ../helm-otp-chart/ --set dockerRepo=${DOCKERREPO} --set dockerTag=${TAG}
95+
helm install --wait --timeout 1200s otp-${VERSION} ../helm-otp-chart/ --set dockerRepo=${DOCKERREPO} --set dockerTag=${TAG}
9596

9697
#Instructions to start client
9798
OTPPORT=$(kubectl get svc --namespace=envoy -o go-template='{{range .items}}{{range.spec.ports}}{{if .nodePort}}{{.nodePort}}{{"\n"}}{{end}}{{end}}{{end}}')

0 commit comments

Comments
 (0)