From 8c4f251922365029a36ca6fe912b8aa88d6fe286 Mon Sep 17 00:00:00 2001 From: odidev Date: Mon, 9 Nov 2020 12:10:58 +0530 Subject: [PATCH] CI: Polish dependencies for ARM64 and add ARM64 job to Travis CI (#1765) 1. Added ARM64 architecture in .travis.yml 2. Updated 'embedded-consul' version to 2.2.0, 'consul-api' version to 1.4.5 for ARM64 support. 3. Updated grpc.version for 'io.grpc:protoc-gen-grpc-java' to 1.30.2, for ARM64 support. Signed-off-by: odidev --- .travis.yml | 6 ++++++ sentinel-adapter/sentinel-grpc-adapter/pom.xml | 4 ++-- .../sentinel-cluster-server-envoy-rls/pom.xml | 4 ++-- .../sentinel-datasource-consul/pom.xml | 12 +++++++++--- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0f940c4d..158f71de 100755 --- a/.travis.yml +++ b/.travis.yml @@ -9,11 +9,17 @@ matrix: env: BUILD_JDK=ORACLE_JDK_8 - jdk: oraclejdk11 env: BUILD_JDK=ORACLE_JDK_11 + - arch: arm64 allow_failures: - env: BUILD_JDK=ORACLE_JDK_11 # https://docs.travis-ci.com/user/languages/java/#maven-dependency-management install: + - if [ "${TRAVIS_CPU_ARCH}" == "arm64" ]; then + sudo apt-get install -y maven openjdk-11-jdk; + export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-arm64; + export PATH=$JAVA_HOME/bin:$PATH; + fi - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -DminimumPriority=1 after_success: diff --git a/sentinel-adapter/sentinel-grpc-adapter/pom.xml b/sentinel-adapter/sentinel-grpc-adapter/pom.xml index be91830a..909e397a 100755 --- a/sentinel-adapter/sentinel-grpc-adapter/pom.xml +++ b/sentinel-adapter/sentinel-grpc-adapter/pom.xml @@ -12,7 +12,7 @@ jar - 1.13.1 + 1.30.2 @@ -95,4 +95,4 @@ - \ No newline at end of file + diff --git a/sentinel-cluster/sentinel-cluster-server-envoy-rls/pom.xml b/sentinel-cluster/sentinel-cluster-server-envoy-rls/pom.xml index 21f8d493..a52247b4 100644 --- a/sentinel-cluster/sentinel-cluster-server-envoy-rls/pom.xml +++ b/sentinel-cluster/sentinel-cluster-server-envoy-rls/pom.xml @@ -16,7 +16,7 @@ 1.8 3.10.0 - 1.24.0 + 1.30.2 3.2.1 @@ -158,4 +158,4 @@ - \ No newline at end of file + diff --git a/sentinel-extension/sentinel-datasource-consul/pom.xml b/sentinel-extension/sentinel-datasource-consul/pom.xml index 540b8ec8..641e2354 100644 --- a/sentinel-extension/sentinel-datasource-consul/pom.xml +++ b/sentinel-extension/sentinel-datasource-consul/pom.xml @@ -15,11 +15,17 @@ 1.8 1.8 - 1.4.2 - 2.0.0 + 1.4.5 + 2.2.0 + + org.codehaus.groovy + groovy-xml + 3.0.6 + test + com.alibaba.csp sentinel-datasource-extension @@ -46,4 +52,4 @@ test - \ No newline at end of file +