update version

This commit is contained in:
xiexing01 2023-09-27 14:45:38 +08:00
parent de2ccda565
commit d8f7aca61f
2 changed files with 21 additions and 10 deletions

View File

@ -1,6 +1,14 @@
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-21 16:19:18.481779886 +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>
@ -9,3 +17,11 @@ diff -Naur flink-release-1.17.1/flink-runtime-web/pom.xml flink-release-1.17.1-c
<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>

View File

@ -21,7 +21,7 @@ Source3: https://packages.confluent.io/maven/io/confluent/kafka-avro-seri
Source4: https://packages.confluent.io/maven/io/confluent/kafka-schema-serializer/7.2.2/kafka-schema-serializer-7.2.2.jar
Source5: https://packages.confluent.io/maven/org/apache/kafka/kafka-clients/7.2.2-ccs/kafka-clients-7.2.2-ccs.jar
Source6: npm-8.1.2.tar.gz
Source7: node-16.13.2-linux-arm64.tar.gz
Patch0: 0001-add-npm.hw-repo.patch
Patch1: 0002-fix-compilation-failure.patch
Patch2: 0003-Skip-flink-avro-confluent-registry-test.patch
@ -39,12 +39,10 @@ mvn install:install-file -DgroupId=io.confluent -DartifactId=kafka-schema-serial
mvn install:install-file -DgroupId=org.apache.kafka -DartifactId=kafka-clients -Dversion=7.2.2-ccs -Dpackaging=jar -Dfile=%{SOURCE5}
mkdir -p ${HOME}/.m2/repository/com/github/eirslett/npm/8.1.2/
cp %{SOURCE6} ${HOME}/.m2/repository/com/github/eirslett/npm/8.1.2/
mkdir -p ${HOME}/.m2/repository/com/github/eirslett/node/16.13.2
cp %{SOURCE7} ${HOME}/.m2/repository/com/github/eirslett/node/16.13.2
%build
npm config set registry https://repo.huaweicloud.com/repository/npm/
mvn clean install -DskipTests -Dfast
mvn clean install -DskipTests -Dfast -rf :flink-runtime-web
%install
mkdir -p %{buildroot}/opt/
@ -61,11 +59,8 @@ find %{buildroot}/opt/apache-%{name}-%{version}/ -type f -name '*.py' | xargs -i
* Wed Sep 27 2023 xiexing <xiexing4@hisilicon.com> - 1.17.1-1
- update version to 1.17.1
* Mon May 8 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.13.0-2
- add loongarch64 support
* Wed Dec 22 2021 chenjunbiao<chenjunbiao@uniontech.com> - 1.13.0-1
- Update version.
* Wed Jan 05 2022 weidong <weidong@uniontech.com> - 1.12.7-2
- Fix compilation failure.
* Fri Dec 17 2021 weidong <weidong@uniontech.com> - 1.12.7-1
- Update version.