You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2021/11/08 10:20:11 UTC

[flink] branch release-1.12 updated: [FLINK-24796][ci] Reduce size of compile build artifact

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.12
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.12 by this push:
     new b18dd7b  [FLINK-24796][ci] Reduce size of compile build artifact
b18dd7b is described below

commit b18dd7beee97e8c16703483e469d6d72ce1e316d
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Fri Nov 5 12:59:40 2021 +0100

    [FLINK-24796][ci] Reduce size of compile build artifact
---
 tools/azure-pipelines/create_build_artifact.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/azure-pipelines/create_build_artifact.sh b/tools/azure-pipelines/create_build_artifact.sh
index 6de32e9..809d14f 100755
--- a/tools/azure-pipelines/create_build_artifact.sh
+++ b/tools/azure-pipelines/create_build_artifact.sh
@@ -38,3 +38,10 @@ rm -rf "$FLINK_ARTIFACT_DIR/.git"
 # AZ Pipelines has a problem with links.
 rm "$FLINK_ARTIFACT_DIR/build-target"
 
+# Remove javadocs because they are not used in later stages
+rm -rf "$FLINK_ARTIFACT_DIR/target/site"
+
+# Remove WebUI node directories; unnecessary because the UI is already fully built
+rm -rf "$FLINK_ARTIFACT_DIR/flink-runtime-web/web-dashboard/node"
+rm -rf "$FLINK_ARTIFACT_DIR/flink-runtime-web/web-dashboard/node_modules"
+