You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2022/12/07 01:52:42 UTC

[incubator-kyuubi] branch master updated: [KYUUBI #3907] [IT][CI] CI build kyuubi docker image should using mvn_args to speed up

This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new b418f89aa [KYUUBI #3907] [IT][CI] CI build kyuubi docker image should using mvn_args to speed up
b418f89aa is described below

commit b418f89aa746c8291b5a269387aa3755d8605f59
Author: zwangsheng <22...@qq.com>
AuthorDate: Wed Dec 7 09:52:32 2022 +0800

    [KYUUBI #3907] [IT][CI] CI build kyuubi docker image should using mvn_args to speed up
    
    ### _Why are the changes needed?_
    
    CI using `build/dockerfile` to build kyuubi docker image, which will build distribution frist.
    
    We should pass servals maven args to help build speed up.
    
    We only test spark engine for kyuubi on kubernetes it test, so we use hive and flink provided.
    
    ### _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.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
    
    - [x] Wait CI
    
    Closes #3907 from zwangsheng/IT/improve_build_docker_image.
    
    Closes #3907
    
    b05e190b [zwangsheng] fix
    22f96805 [zwangsheng] respect
    e9bc3047 [zwangsheng] download spark
    65686b32 [zwangsheng] pass maven to dockerfile
    
    Authored-by: zwangsheng <22...@qq.com>
    Signed-off-by: Cheng Pan <ch...@apache.org>
---
 .github/workflows/master.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml
index 3ed0adc29..5b932bf16 100644
--- a/.github/workflows/master.yml
+++ b/.github/workflows/master.yml
@@ -340,7 +340,9 @@ jobs:
         uses: docker/build-push-action@v2
         with:
           # passthrough CI into build container
-          build-args: CI=${CI}
+          build-args: |
+            CI=${CI} 
+            MVN_ARG=--flink-provided --hive-provided -Dmaven.javadoc.skip=true -Drat.skip=true -Dscalastyle.skip=true -Dspotless.check.skip -DskipTests
           context: .
           file: build/Dockerfile
           load: true