From 2103143626d2bb33afd37a9b670ecd619ae047a1 Mon Sep 17 00:00:00 2001 From: Charles DELFLY Date: Thu, 4 Feb 2021 09:06:25 +0700 Subject: [PATCH] Remove useless properties file for pinpoint job --- .../build/profiles/release/pinpoint-collector.properties | 1 - pinpoint-flink/build/profiles/release/pinpoint-web.properties | 1 - pinpoint-flink/docker-bin/docker-entrypoint.sh | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 pinpoint-flink/build/profiles/release/pinpoint-collector.properties delete mode 100644 pinpoint-flink/build/profiles/release/pinpoint-web.properties diff --git a/pinpoint-flink/build/profiles/release/pinpoint-collector.properties b/pinpoint-flink/build/profiles/release/pinpoint-collector.properties deleted file mode 100644 index 7338fed..0000000 --- a/pinpoint-flink/build/profiles/release/pinpoint-collector.properties +++ /dev/null @@ -1 +0,0 @@ -pinpoint.zookeeper.address=#PINPOINT_ZOOKEEPER_ADDRESS# \ No newline at end of file diff --git a/pinpoint-flink/build/profiles/release/pinpoint-web.properties b/pinpoint-flink/build/profiles/release/pinpoint-web.properties deleted file mode 100644 index 7338fed..0000000 --- a/pinpoint-flink/build/profiles/release/pinpoint-web.properties +++ /dev/null @@ -1 +0,0 @@ -pinpoint.zookeeper.address=#PINPOINT_ZOOKEEPER_ADDRESS# \ No newline at end of file diff --git a/pinpoint-flink/docker-bin/docker-entrypoint.sh b/pinpoint-flink/docker-bin/docker-entrypoint.sh index 695dd18..dc8c5d7 100755 --- a/pinpoint-flink/docker-bin/docker-entrypoint.sh +++ b/pinpoint-flink/docker-bin/docker-entrypoint.sh @@ -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 -