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 2020/01/16 14:44:51 UTC

[flink] 04/04: [hotfix][e2e] Force local archetype catalog

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

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

commit ecc23cddd6a6c3085eacf2cb0af239b83f3857a1
Author: Arvid Heise <ar...@ververica.com>
AuthorDate: Thu Jan 16 15:12:44 2020 +0100

    [hotfix][e2e] Force local archetype catalog
    
    Prevents subtle issues with archetypes accidentally being downloaded from the snapshot repository.
---
 flink-end-to-end-tests/test-scripts/test_datastream_walkthroughs.sh | 1 +
 flink-end-to-end-tests/test-scripts/test_quickstarts.sh             | 1 +
 flink-end-to-end-tests/test-scripts/test_table_walkthroughs.sh      | 1 +
 3 files changed, 3 insertions(+)

diff --git a/flink-end-to-end-tests/test-scripts/test_datastream_walkthroughs.sh b/flink-end-to-end-tests/test-scripts/test_datastream_walkthroughs.sh
index e976927..b3c4e53 100755
--- a/flink-end-to-end-tests/test-scripts/test_datastream_walkthroughs.sh
+++ b/flink-end-to-end-tests/test-scripts/test_datastream_walkthroughs.sh
@@ -35,6 +35,7 @@ mvn archetype:generate                                          \
     -DarchetypeGroupId=org.apache.flink                         \
     -DarchetypeArtifactId=flink-walkthrough-datastream-${TEST_TYPE}  \
     -DarchetypeVersion=${FLINK_VERSION}                         \
+    -DarchetypeCatalog=local                                    \
     -DgroupId=org.apache.flink.walkthrough                      \
     -DartifactId=${ARTIFACT_ID}                                 \
     -Dversion=${ARTIFACT_VERSION}                               \
diff --git a/flink-end-to-end-tests/test-scripts/test_quickstarts.sh b/flink-end-to-end-tests/test-scripts/test_quickstarts.sh
index 43c95fd..3999f96 100755
--- a/flink-end-to-end-tests/test-scripts/test_quickstarts.sh
+++ b/flink-end-to-end-tests/test-scripts/test_quickstarts.sh
@@ -47,6 +47,7 @@ mvn archetype:generate                                   \
     -DarchetypeGroupId=org.apache.flink                  \
     -DarchetypeArtifactId=flink-quickstart-${TEST_TYPE}  \
     -DarchetypeVersion=${FLINK_VERSION}                  \
+    -DarchetypeCatalog=local                             \
     -DgroupId=org.apache.flink.quickstart                \
     -DartifactId=${ARTIFACT_ID}                          \
     -Dversion=${ARTIFACT_VERSION}                        \
diff --git a/flink-end-to-end-tests/test-scripts/test_table_walkthroughs.sh b/flink-end-to-end-tests/test-scripts/test_table_walkthroughs.sh
index f53e972..83a3cc4 100755
--- a/flink-end-to-end-tests/test-scripts/test_table_walkthroughs.sh
+++ b/flink-end-to-end-tests/test-scripts/test_table_walkthroughs.sh
@@ -35,6 +35,7 @@ mvn archetype:generate                                          \
     -DarchetypeGroupId=org.apache.flink                         \
     -DarchetypeArtifactId=flink-walkthrough-table-${TEST_TYPE}  \
     -DarchetypeVersion=${FLINK_VERSION}                         \
+    -DarchetypeCatalog=local                                    \
     -DgroupId=org.apache.flink.walkthrough                      \
     -DartifactId=${ARTIFACT_ID}                                 \
     -Dversion=${ARTIFACT_VERSION}                               \