flink/0001-add-npm.hw-repo.patch
2023-09-27 14:45:38 +08:00

28 lines
1.1 KiB
Diff

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
+++ 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>
@@ -269,6 +270,7 @@
</goals>
<configuration>
<arguments>ci --cache-max=0 --no-save ${npm.proxy}</arguments>
+ <npmRegistryURL>https://repo.huaweicloud.com/repository/npm</npmRegistryURL>
<environmentVariables>
<HUSKY_SKIP_INSTALL>true</HUSKY_SKIP_INSTALL>
</environmentVariables>
@@ -281,6 +283,7 @@
</goals>
<configuration>
<arguments>run ci-check</arguments>
+ <npmRegistryURL>https://repo.huaweicloud.com/repository/npm</npmRegistryURL>
</configuration>
</execution>
</executions>