Commit c3467396 authored by tywldx's avatar tywldx

add replace

parent 6cd59595
......@@ -16,3 +16,11 @@ do
echo "run sql file: $entry"
mysql -uroot < $entry
done
export NAMESPACE=`cat /var/run/secrets/kubernetes.io/serviceaccount/namespace`
echo "cd $WORK_PATH"
cd $WORK_PATH
echo "replace DB string"
sh replace.sh 127.0.0.1 3306 qa qatest true $NAMESPACE
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment