[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:
Cheng Pan 2023-02-09 19:50:07 +08:00
parent a31d4490c8
commit 3bb283ecd7
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D
5 changed files with 1 additions and 75 deletions

1
.gitattributes vendored
View File

@ -18,7 +18,6 @@
.github/ export-ignore .github/ export-ignore
.idea/ export-ignore .idea/ export-ignore
.readthedocs.yml export-ignore .readthedocs.yml export-ignore
.travis.yml export-ignore
_config.yml export-ignore _config.yml export-ignore
codecov.yml export-ignore codecov.yml export-ignore
licenses-binary/ export-ignore licenses-binary/ export-ignore

1
.github/labeler.yml vendored
View File

@ -45,7 +45,6 @@
- ".gitattributes" - ".gitattributes"
- ".github/**/*" - ".github/**/*"
- ".gitignore" - ".gitignore"
- ".travis.yml"
- "LICENSE" - "LICENSE"
- "LICENSE-binary" - "LICENSE-binary"
- "NOTICE" - "NOTICE"

View File

@ -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

View File

@ -24,7 +24,6 @@
[![](https://tokei.rs/b1/github.com/apache/kyuubi)](https://github.com/apache/kyuubi) [![](https://tokei.rs/b1/github.com/apache/kyuubi)](https://github.com/apache/kyuubi)
[![codecov](https://codecov.io/gh/apache/kyuubi/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/kyuubi) [![codecov](https://codecov.io/gh/apache/kyuubi/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/kyuubi)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/apache/kyuubi/Kyuubi/master?style=plastic) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/apache/kyuubi/Kyuubi/master?style=plastic)
[![Travis](https://api.travis-ci.com/apache/kyuubi.svg?branch=master)](https://travis-ci.com/apache/kyuubi)
[![Documentation Status](https://readthedocs.org/projects/kyuubi/badge/?version=latest)](https://kyuubi.readthedocs.io/en/master/) [![Documentation Status](https://readthedocs.org/projects/kyuubi/badge/?version=latest)](https://kyuubi.readthedocs.io/en/master/)
![GitHub top language](https://img.shields.io/github/languages/top/apache/kyuubi) ![GitHub top language](https://img.shields.io/github/languages/top/apache/kyuubi)
[![Commit activity](https://img.shields.io/github/commit-activity/m/apache/kyuubi)](https://github.com/apache/kyuubi/graphs/commit-activity) [![Commit activity](https://img.shields.io/github/commit-activity/m/apache/kyuubi)](https://github.com/apache/kyuubi/graphs/commit-activity)

View File

@ -37,7 +37,7 @@ ARG MVN_ARG
# Pass the environment variable `CI` into container, for internal use only. # 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 # 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. # specific actions, e.g. run `mvn` in batch mode to suppress noisy logs.
ARG CI ARG CI