Remove useless properties file for pinpoint job

This commit is contained in:
Charles DELFLY 2021-02-04 09:06:25 +07:00 committed by Roy Kim
parent da8c83ec78
commit 2103143626
3 changed files with 1 additions and 2 deletions

View File

@ -1 +0,0 @@
pinpoint.zookeeper.address=#PINPOINT_ZOOKEEPER_ADDRESS#

View File

@ -1 +0,0 @@
pinpoint.zookeeper.address=#PINPOINT_ZOOKEEPER_ADDRESS#

View File

@ -3,6 +3,7 @@
# In flink version < 1.11 we can't use "job cluster" because it's not yet available
if [ "$1" = "standalone-job" ]; then
cd /build
zip -d pinpoint-flink-job-*.jar "profiles/release/*.properties"
sed -i -e "s/#PINPOINT_ZOOKEEPER_ADDRESS#/${PINPOINT_ZOOKEEPER_ADDRESS}/g" profiles/release/*
zip -r pinpoint-flink-job-*.jar profiles/
cd -