Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUILD] Enhance build/mvn in CI mode #742

Closed
wants to merge 4 commits into from
Closed

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Jul 3, 2021

Why are the changes needed?

Enable mvn cli options --batch-mode --no-transfer-progress in CI mode to suppress noising logs.

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 locally before make a pull request

@codecov-commenter
Copy link

codecov-commenter commented Jul 3, 2021

Codecov Report

Merging #742 (79d8901) into master (902b4b1) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #742   +/-   ##
=======================================
  Coverage   80.49%   80.49%           
=======================================
  Files         122      122           
  Lines        4748     4748           
  Branches      576      576           
=======================================
  Hits         3822     3822           
  Misses        605      605           
  Partials      321      321           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 902b4b1...79d8901. Read the comment docs.

@pan3793 pan3793 requested a review from yaooqinn July 3, 2021 02:56
@yaooqinn yaooqinn added this to the v1.3.0 milestone Jul 3, 2021
@yaooqinn yaooqinn closed this in 65996a4 Jul 3, 2021
@yaooqinn
Copy link
Member

yaooqinn commented Jul 3, 2021

thanks, merged to master

@pan3793 pan3793 deleted the mvn branch July 4, 2021 11:57
ulysses-you pushed a commit that referenced this pull request Sep 26, 2021
…ainer

<!--
Thanks for sending a pull request!

Here are some tips for you:
  1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
  2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
  3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
-->

### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
  1. If you add a feature, you can talk about the use case of it.
  2. If you fix a bug, you can clarify why it is a bug.
-->

Continuous integration(aka. CI) services like GitHub Actions, Travis always provide an environment variable `CI` in runners, and we detect this variable to run some specific actions.

In [KYUUBI #742], we add a `CI` env var detection in `build/mvn` to suppress noisy maven logs in CI scenes.

This PR introduces a new build arg `CI` in `docker/Dockerfile`, which is intent to passthrough env var CI into the build container to suppress noisy maven logs in GitHub Action and Travis.

### _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/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #1155 from pan3793/ci.

Closes #1155

0f66b37 [Cheng Pan] typo
e1b9d35 [Cheng Pan] nit
d78bb56 [Cheng Pan] update workflow
4209ae6 [Cheng Pan] Update comments
ffc3a1e [Cheng Pan] nit
761c9e6 [Cheng Pan] Update usage
2f74b97 [Cheng Pan] Add build arg CI
509da2a [Cheng Pan] [BUILD] Suppress maven log in Minikube Integration Test

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: ulysses-you <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants