flink/0001-add-npm.hw-repo.patch

28 lines
1.1 KiB
Diff
Raw Normal View History

2023-09-27 10:26:40 +08:00
diff -Naur flink-release-1.17.1/flink-runtime-web/pom.xml flink-release-1.17.1-change/flink-runtime-web/pom.xml
--- flink-release-1.17.1/flink-runtime-web/pom.xml 2023-05-19 16:45:46.000000000 +0800
2023-09-27 14:45:38 +08:00
+++ flink-release-1.17.1-change/flink-runtime-web/pom.xml 2023-09-27 14:16:02.741215322 +0800
@@ -259,6 +259,7 @@
</goals>
<configuration>
<nodeVersion>v16.13.2</nodeVersion>
+ <downloadRoot>https://repo.huaweicloud.com/nodejs/</downloadRoot>
<npmVersion>8.1.2</npmVersion>
</configuration>
</execution>
2023-09-27 10:26:40 +08:00
@@ -269,6 +270,7 @@
2020-12-23 15:55:56 +08:00
</goals>
<configuration>
2023-09-27 10:26:40 +08:00
<arguments>ci --cache-max=0 --no-save ${npm.proxy}</arguments>
+ <npmRegistryURL>https://repo.huaweicloud.com/repository/npm</npmRegistryURL>
2020-12-23 15:55:56 +08:00
<environmentVariables>
<HUSKY_SKIP_INSTALL>true</HUSKY_SKIP_INSTALL>
</environmentVariables>
2023-09-27 14:45:38 +08:00
@@ -281,6 +283,7 @@
</goals>
<configuration>
<arguments>run ci-check</arguments>
+ <npmRegistryURL>https://repo.huaweicloud.com/repository/npm</npmRegistryURL>
</configuration>
</execution>
</executions>