Compare commits

...

39 Commits

Author SHA1 Message Date
Eugene Taranov
a659a8d253 disabled PR 2020-06-18 22:26:33 +03:00
Eugene Taranov
54591306cd cleanup 2020-06-18 22:26:16 +03:00
Eugene Taranov
f108f3c475 disabled cache 2020-06-18 22:25:49 +03:00
Eugene Taranov
efc7d3289a enable caching 2020-06-18 22:18:32 +03:00
Eugene Taranov
ad3b88f64d test 2020-06-18 22:12:26 +03:00
Eugene Taranov
d33fb9c53a test 2020-06-18 20:56:38 +03:00
Eugene Taranov
9c52ad0612 test 2020-06-18 20:53:38 +03:00
Eugene Taranov
34c0876e7e test 2020-06-18 18:23:28 +03:00
Eugene Taranov
193f6cc391 added project key 2020-06-18 18:16:35 +03:00
Eugene Taranov
f735953ce8 test 2020-06-18 17:56:04 +03:00
Eugene Taranov
1dcb047aec test 2020-06-18 17:50:30 +03:00
Eugene Taranov
222da2583e test 2020-06-18 17:47:08 +03:00
Eugene Taranov
62a38be246 test 2020-06-18 17:45:33 +03:00
Eugene Taranov
2459d00226 test 2020-06-18 17:34:31 +03:00
Eugene Taranov
ffdd2dbdbe separated mvn build and sonar steps 2020-06-18 17:28:55 +03:00
Eugene Taranov
b0c946efc7 fix2 2020-06-18 17:24:46 +03:00
Eugene Taranov
febc5e508a fix 2020-06-18 17:21:49 +03:00
Eugene Taranov
00174b239b added sonar.projectKey 2020-06-18 17:19:12 +03:00
Eugene Taranov
b7daf2f712 test 2020-06-18 16:40:34 +03:00
Eugene Taranov
034433ad16 enabled opensync-gateway 2020-06-18 16:37:05 +03:00
Eugene Taranov
1ca0017f76 test 2020-06-18 16:27:05 +03:00
Eugene Taranov
5bc5327d25 added opensync-ext-static 2020-06-18 16:20:31 +03:00
Eugene Taranov
8cbcf72069 enabled opensync-ext-cloud 2020-06-18 16:11:49 +03:00
Eugene Taranov
9c03c32ae8 test 2020-06-18 16:09:49 +03:00
Eugene Taranov
859d51bc17 disabled opensync-ext-cloud 2020-06-18 15:10:49 +03:00
Eugene Taranov
7b73b808af added opensync-ext-interface 2020-06-18 15:05:06 +03:00
Eugene Taranov
e27c7daf74 job matrix 2020-06-18 15:02:22 +03:00
Eugene Taranov
d712c9e7dc trigger 2020-06-18 14:53:51 +03:00
Eugene Taranov
cb8f80d466 disabled test 2020-06-18 14:45:23 +03:00
Eugene Taranov
770bb48a69 added maven env 2020-06-18 14:43:04 +03:00
Eugene Taranov
e34794d482 added MAVEN_REPO_USERNAME ? 2020-06-18 14:40:45 +03:00
Eugene Taranov
988f094ed4 test 2020-06-18 14:39:35 +03:00
Eugene Taranov
1df4e5ab08 split mvn build and sonar analysis 2020-06-18 14:38:57 +03:00
Eugene Taranov
e6ca8f1d53 added maven creds 2020-06-18 14:36:03 +03:00
Eugene Taranov
2a9f306b93 added maven cerdentials 2020-06-18 14:23:45 +03:00
Eugene Taranov
2dde38b719 added dep 2020-06-18 14:14:29 +03:00
Eugene Taranov
29d6f163bb fix pr 2020-06-18 14:04:33 +03:00
Eugene Taranov
ff9894eded enable pr 2020-06-18 14:03:39 +03:00
Eugene Taranov
c1fbf4f32f TOOLS-23: sonar code analysis 2020-06-18 14:02:13 +03:00

56
.github/workflows/sonar.yml vendored Normal file
View File

@@ -0,0 +1,56 @@
name: Run sonar analysis
on:
push:
branches: [ master ]
env:
SONAR_URL: https://sonarcloud.io
SONAR_ORGANIZATION: telecominfraproject
jobs:
sonar:
strategy:
matrix:
project:
- opensync-ext-cloud
- opensync-ext-interface
- opensync-ext-static
- opensync-gateway
- opensync-gateway-build
- opensync-gateway-cloud-process
- opensync-gateway-static-process
- opensync-gateway-cloud-docker
- opensync-gateway-static-docker
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
path: wlan-cloud-opensync-controller
fetch-depth: 0
- name: Checkout dependency Telecominfraproject/wlan-cloud-root
uses: actions/checkout@v2
with:
repository: Telecominfraproject/wlan-cloud-root
path: wlan-cloud-root
fetch-depth: 0
- name: Set up JDK 14
uses: actions/setup-java@v1
with:
java-version: 14
server-id: tip-wlan-cloud-maven-repo
server-username: MAVEN_REPO_USERNAME
server-password: MAVEN_REPO_PASSWORD
- name: Maven build
working-directory: wlan-cloud-opensync-controller/${{ matrix.project }}
env:
MAVEN_REPO_USERNAME: build-pipeline
MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }}
run: mvn clean install
- name: Run sonar
working-directory: wlan-cloud-opensync-controller/${{ matrix.project }}
env:
MAVEN_REPO_USERNAME: build-pipeline
MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }}
run: mvn sonar:sonar -Dsonar.host.url=${{ env.SONAR_URL }} -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Dsonar.organization=${{ env.SONAR_ORGANIZATION }} -Dsonar.projectKey=com.telecominfraproject.wlan:${{ matrix.project }}