Skip to content

Commit e560afe

Browse files
committed
init workflow
1 parent 2be8685 commit e560afe

7 files changed

Lines changed: 5 additions & 55 deletions

File tree

.github/workflows/pr-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: PR Check
33
on:
44
pull_request:
55
branches: [ 'develop', 'release_**' ]
6-
types: [ opened, edited, synchronize, reopened ]
6+
types: [ opened, synchronize, reopened ]
77

88
concurrency:
99
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}

.github/workflows/system-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: System Test
33
on:
44
pull_request:
55
branches: [ 'develop', 'release_**' ]
6-
types: [ opened, edited, synchronize, reopened ]
6+
types: [ opened, synchronize, reopened ]
77

88
concurrency:
99
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}

build.gradle

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import org.gradle.nativeplatform.platform.internal.Architectures
22
import org.gradle.internal.os.OperatingSystem
3-
43
allprojects {
54
version = "1.0.0"
65
apply plugin: "java-library"
@@ -41,7 +40,7 @@ ext.archInfo = [
4140
VMOptions: isArm64 ? "${rootDir}/gradle/jdk17/java-tron.vmoptions" : "${rootDir}/gradle/java-tron.vmoptions"
4241
]
4342

44-
if (!archInfo.java.is(archInfo.requires.JavaVersion) && !project.hasProperty('skipJdkCheck')) {
43+
if (!archInfo.java.is(archInfo.requires.JavaVersion)) {
4544
throw new GradleException("Java ${archInfo.requires.JavaVersion} is required for ${archInfo.name}. Detected version ${archInfo.java}")
4645
}
4746

@@ -166,26 +165,3 @@ gradle.buildFinished {
166165
}
167166
}
168167
}
169-
170-
// SonarQube configuration — only activates when the plugin is applied (via CI init script)
171-
pluginManager.withPlugin('org.sonarqube') {
172-
sonar {
173-
properties {
174-
property "sonar.sourceEncoding", "UTF-8"
175-
}
176-
}
177-
178-
// Skip these projects
179-
["protocol", "platform", "example:actuator-example"].each { name ->
180-
project(":${name}").sonar.skipProject = true
181-
}
182-
183-
// Only analyze main sources, exclude test sources
184-
subprojects {
185-
sonar {
186-
properties {
187-
property "sonar.tests", ""
188-
}
189-
}
190-
}
191-
}

codecov.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

framework/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "org.gradle.test-retry" version "1.5.9"
3-
3+
id "org.sonarqube" version "2.6"
44
id "com.gorylenko.gradle-git-properties" version "2.4.1"
55
}
66

gradle/verification-metadata.xml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,19 +2262,6 @@
22622262
<sha256 value="896728b6f49906d7516f182a170197963fe90dce88f14f50b585ac153427ffc2" origin="Generated by Gradle"/>
22632263
</artifact>
22642264
</component>
2265-
<component group="org.sonarsource.parent" name="parent" version="59.0.29">
2266-
<artifact name="parent-59.0.29.pom">
2267-
<sha256 value="7d2dc7aec9f250ede1c8cdc4cdb563b2ed6c49e209b70024f9f62822d876952a" origin="Generated by Gradle"/>
2268-
</artifact>
2269-
</component>
2270-
<component group="org.sonarsource.scanner.api" name="sonar-scanner-api" version="2.16.2.588">
2271-
<artifact name="sonar-scanner-api-2.16.2.588.jar">
2272-
<sha256 value="4df4526499760242c2d5d76ee8bc38326b4549c344e034e12bc392d2b8a618ac" origin="Generated by Gradle"/>
2273-
</artifact>
2274-
<artifact name="sonar-scanner-api-2.16.2.588.pom">
2275-
<sha256 value="d8c866f087da23f3fa729522cb32864d54d366dd6ce6b400abd657af5bba9010" origin="Generated by Gradle"/>
2276-
</artifact>
2277-
</component>
22782265
<component group="org.sonarsource.scanner.api" name="sonar-scanner-api" version="2.9.0.887">
22792266
<artifact name="sonar-scanner-api-2.9.0.887.jar">
22802267
<sha256 value="12ba0b2d9fc5b5b896b3b16c96c3c46728094d83da5ea0a6289e21ac9c39f88a" origin="Generated by Gradle"/>
@@ -2283,11 +2270,6 @@
22832270
<sha256 value="d80d568bb60b53d5c748c0f07649608bbb3c0880939f911af6477bd0dc132915" origin="Generated by Gradle"/>
22842271
</artifact>
22852272
</component>
2286-
<component group="org.sonarsource.scanner.api" name="sonar-scanner-api-parent" version="2.16.2.588">
2287-
<artifact name="sonar-scanner-api-parent-2.16.2.588.pom">
2288-
<sha256 value="c532bb8678ecd5c5e45da5d00211eb67541e9a5ea465b67ba91307b0390b137a" origin="Generated by Gradle"/>
2289-
</artifact>
2290-
</component>
22912273
<component group="org.sonarsource.scanner.api" name="sonar-scanner-api-parent" version="2.9.0.887">
22922274
<artifact name="sonar-scanner-api-parent-2.9.0.887.pom">
22932275
<sha256 value="803f182f822f359678cd1a108fc44cda785859d5555582cf3fe40574a3141943" origin="Generated by Gradle"/>
@@ -2301,14 +2283,6 @@
23012283
<sha256 value="7e733b80012fed1f7a830a80b56ff76cfd3ac9b1cd4cfa9e0833727663bf2f4f" origin="Generated by Gradle"/>
23022284
</artifact>
23032285
</component>
2304-
<component group="org.sonarsource.scanner.gradle" name="sonarqube-gradle-plugin" version="5.1.0.4882">
2305-
<artifact name="sonarqube-gradle-plugin-5.1.0.4882.jar">
2306-
<sha256 value="0a0a1aa505a1b05c94768bd248a51e1bc61af251ec9819f352b41c2afd8cbcfa" origin="Generated by Gradle"/>
2307-
</artifact>
2308-
<artifact name="sonarqube-gradle-plugin-5.1.0.4882.module">
2309-
<sha256 value="749ab4ce13526279faacc79c6c5416005993d3fee2bf09e8bfc304542cd21d9f" origin="Generated by Gradle"/>
2310-
</artifact>
2311-
</component>
23122286
<component group="org.sonatype.oss" name="oss-parent" version="7">
23132287
<artifact name="oss-parent-7.pom">
23142288
<sha256 value="b51f8867c92b6a722499557fc3a1fdea77bdf9ef574722fe90ce436a29559454" origin="Generated by Gradle"/>

plugins/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
2+
id "org.sonarqube" version "2.6"
23
}
34

45
apply plugin: 'application'

0 commit comments

Comments
 (0)