[KYUUBI #4287] [INFRA] Remove Travis
### _Why are the changes needed?_ As mentioned in https://github.com/apache/kyuubi/issues/4139, we are not able to use Travis for AMR testing in the future. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4287 from pan3793/rm-travis. Closes #4287 efe2a4854 [Cheng Pan] nit c72a8b00c [Cheng Pan] Remove travis Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
a31d4490c8
commit
3bb283ecd7
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -18,7 +18,6 @@
|
||||
.github/ export-ignore
|
||||
.idea/ export-ignore
|
||||
.readthedocs.yml export-ignore
|
||||
.travis.yml export-ignore
|
||||
_config.yml export-ignore
|
||||
codecov.yml export-ignore
|
||||
licenses-binary/ export-ignore
|
||||
|
||||
1
.github/labeler.yml
vendored
1
.github/labeler.yml
vendored
@ -45,7 +45,6 @@
|
||||
- ".gitattributes"
|
||||
- ".github/**/*"
|
||||
- ".gitignore"
|
||||
- ".travis.yml"
|
||||
- "LICENSE"
|
||||
- "LICENSE-binary"
|
||||
- "NOTICE"
|
||||
|
||||
71
.travis.yml
71
.travis.yml
@ -1,71 +0,0 @@
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
# this work for additional information regarding copyright ownership.
|
||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
sudo: required
|
||||
dist: focal
|
||||
arch: arm64-graviton2
|
||||
group: edge
|
||||
virt: vm
|
||||
env: SPARK_LOCAL_IP=localhost
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
language: java
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- name: Build Kyuubi common on Linux ARM64
|
||||
script:
|
||||
- ./build/mvn test $MVN_ARGS -pl kyuubi-common,kyuubi-zookeeper,kyuubi-ha,kyuubi-ctl,kyuubi-metrics,kyuubi-hive-beeline,kyuubi-hive-jdbc,extensions/server/kyuubi-server-plugin -am
|
||||
- name: Build Kyuubi Flink on Linux ARM64
|
||||
script:
|
||||
- ./build/mvn test $MVN_ARGS -pl externals/kyuubi-flink-sql-engine,integration-tests/kyuubi-flink-it
|
||||
- name: Build Kyuubi Spark on Linux ARM64
|
||||
script:
|
||||
- ./build/mvn test $MVN_ARGS -pl externals/kyuubi-spark-sql-engine
|
||||
- ./build/mvn test $MVN_ARGS -pl kyuubi-server -DwildcardSuites=org.apache.kyuubi.operation.KyuubiOperationPerUserSuite
|
||||
- name: Build Kyuubi Trino on Linux ARM64
|
||||
script:
|
||||
- ./build/mvn test $MVN_ARGS -pl externals/kyuubi-trino-engine,integration-tests/kyuubi-trino-it
|
||||
- name: Build Kyuubi Hive on Linux ARM64
|
||||
script:
|
||||
- ./build/mvn test $MVN_ARGS -pl externals/kyuubi-hive-sql-engine,integration-tests/kyuubi-hive-it
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.m2
|
||||
|
||||
install:
|
||||
- sudo apt update
|
||||
- sudo apt install -y openjdk-8-jdk
|
||||
- export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-${TRAVIS_CPU_ARCH}"
|
||||
- export PATH="$JAVA_HOME/bin:/usr/share/maven/bin:$PATH"
|
||||
- ./build/mvn --version
|
||||
|
||||
before_script:
|
||||
- export MVN_ARGS="-Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -V -B -ntp -Dorg.slf4j.simpleLogger.defaultLogLevel=warn -Pjdbc-shaded"
|
||||
- ./build/mvn clean install -DskipTests $MVN_ARGS
|
||||
|
||||
|
||||
after_success:
|
||||
- echo "Travis exited with ${TRAVIS_TEST_RESULT}"
|
||||
|
||||
after_failure:
|
||||
- echo "Travis exited with ${TRAVIS_TEST_RESULT}"
|
||||
- for log in `find * -name "unit-tests.log"`; do echo "=========$log========="; grep "ERROR" $log -A 100 -B 5; done
|
||||
@ -24,7 +24,6 @@
|
||||
[](https://github.com/apache/kyuubi)
|
||||
[](https://codecov.io/gh/apache/kyuubi)
|
||||

|
||||
[](https://travis-ci.com/apache/kyuubi)
|
||||
[](https://kyuubi.readthedocs.io/en/master/)
|
||||

|
||||
[](https://github.com/apache/kyuubi/graphs/commit-activity)
|
||||
|
||||
@ -37,7 +37,7 @@ ARG MVN_ARG
|
||||
|
||||
# Pass the environment variable `CI` into container, for internal use only.
|
||||
#
|
||||
# Continuous integration(aka. CI) services like GitHub Actions, Travis always provide
|
||||
# Continuous integration(aka. CI) services like GitHub Actions always provide
|
||||
# an environment variable `CI` in runners, and we detect this variable to run some
|
||||
# specific actions, e.g. run `mvn` in batch mode to suppress noisy logs.
|
||||
ARG CI
|
||||
|
||||
Loading…
Reference in New Issue
Block a user