KYLIN-4864 Fix .travis.yml syntax#1700
KYLIN-4864 Fix .travis.yml syntax#1700hit-lacus merged 2 commits intoapache:masterfrom martin-g:master
Conversation
The commented line about `# mvn sonar:sonar -e -Dsonar.host.url=https://sonarcloud.io ...` has broken the YAML and because of this TravisCI didn't execute any jobs. I wasn't able to find a way to preserve the commented line and fix the syntax, so I removed the line. Later it could be get from Git history to re-enable Sonar. While here I've improved few more things: - install OpenJDK and unzip for both AMD64 and ARM64. This way it uses latest JDK 8 (1.8.0_292) for both CPU architectures - fix more YAML warnings
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1700 +/- ##
============================================
- Coverage 25.42% 25.11% -0.31%
- Complexity 6765 6774 +9
============================================
Files 1508 1518 +10
Lines 93918 95184 +1266
Branches 13158 13294 +136
============================================
+ Hits 23877 23909 +32
- Misses 67662 68893 +1231
- Partials 2379 2382 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There is some problem with resolving the local address on the arm64 node (non-graviton2) - https://travis-ci.community/t/sudo-unable-to-resolve-host/8841
|
Thanks @martin-g ! |
|
@hit-lacus Welcome! Where could I find the source code of the website ? I'd like to fix https://kylin.apache.org/development/#ci-and-code-analysis. Currently it points to Jenkins, i.e. error 404. |
|
I think I've found it! |
The source code of apache kylin is located at https://github.com/apache/kylin/document . https://github.com/apache/kylin/tree/document is the official website , not the svn . |
|
Following two files should be what you want : |
|
Docu update - #1704 |
* KYLIN-4864 Fix .travis.yml syntax The commented line about `# mvn sonar:sonar -e -Dsonar.host.url=https://sonarcloud.io ...` has broken the YAML and because of this TravisCI didn't execute any jobs. I wasn't able to find a way to preserve the commented line and fix the syntax, so I removed the line. Later it could be get from Git history to re-enable Sonar. While here I've improved few more things: - install OpenJDK and unzip for both AMD64 and ARM64. This way it uses latest JDK 8 (1.8.0_292) for both CPU architectures - fix more YAML warnings * KYLIN-4864 Use Graviton2 ARM64 node There is some problem with resolving the local address on the arm64 node (non-graviton2) - https://travis-ci.community/t/sudo-unable-to-resolve-host/8841
* KYLIN-4864 Fix .travis.yml syntax The commented line about `# mvn sonar:sonar -e -Dsonar.host.url=https://sonarcloud.io ...` has broken the YAML and because of this TravisCI didn't execute any jobs. I wasn't able to find a way to preserve the commented line and fix the syntax, so I removed the line. Later it could be get from Git history to re-enable Sonar. While here I've improved few more things: - install OpenJDK and unzip for both AMD64 and ARM64. This way it uses latest JDK 8 (1.8.0_292) for both CPU architectures - fix more YAML warnings * KYLIN-4864 Use Graviton2 ARM64 node There is some problem with resolving the local address on the arm64 node (non-graviton2) - https://travis-ci.community/t/sudo-unable-to-resolve-host/8841
* KYLIN-4864 Fix .travis.yml syntax The commented line about `# mvn sonar:sonar -e -Dsonar.host.url=https://sonarcloud.io ...` has broken the YAML and because of this TravisCI didn't execute any jobs. I wasn't able to find a way to preserve the commented line and fix the syntax, so I removed the line. Later it could be get from Git history to re-enable Sonar. While here I've improved few more things: - install OpenJDK and unzip for both AMD64 and ARM64. This way it uses latest JDK 8 (1.8.0_292) for both CPU architectures - fix more YAML warnings * KYLIN-4864 Use Graviton2 ARM64 node There is some problem with resolving the local address on the arm64 node (non-graviton2) - https://travis-ci.community/t/sudo-unable-to-resolve-host/8841
Proposed changes
The commented line about
# mvn sonar:sonar -e -Dsonar.host.url=https://sonarcloud.io ...has broken the YAML and because of this TravisCI didn't execute any jobs.I wasn't able to find a way to preserve the commented line and fix the syntax, so I removed the line. Later it could be get from Git history to re-enable Sonar.
While here I've improved few more things:
Types of changes
What types of changes does your code introduce to Kylin?
Put an
xin the boxes that applyChecklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.documentbranchFurther comments
This PR fixes the setup of TravisCI.
But it seems there are failing tests from before which are not related to this PR.