|
23 | 23 | - 'log.extension/**' |
24 | 24 | - 'examples/**' |
25 | 25 | - 'configadmin/**' |
| 26 | + - 'healthcheck/**' |
| 27 | + - 'fileinstall/**' |
| 28 | + - 'inventory/**' |
| 29 | + - 'configadmin-plugins/**' |
| 30 | + - 'webconsole-plugins/**' |
| 31 | + - 'metatype/**' |
| 32 | + - 'coordinator/**' |
| 33 | + - 'features/**' |
| 34 | + - 'scr-ext-anno/**' |
| 35 | + - 'bundlerepository.osgi-ct/**' |
26 | 36 | pull_request: |
27 | 37 | branches: [ "master", "feature/**", "maintenance/**" ] |
28 | 38 | paths: |
|
45 | 55 | - 'log.extension/**' |
46 | 56 | - 'examples/**' |
47 | 57 | - 'configadmin/**' |
| 58 | + - 'healthcheck/**' |
| 59 | + - 'fileinstall/**' |
| 60 | + - 'inventory/**' |
| 61 | + - 'configadmin-plugins/**' |
| 62 | + - 'webconsole-plugins/**' |
| 63 | + - 'metatype/**' |
| 64 | + - 'coordinator/**' |
| 65 | + - 'features/**' |
| 66 | + - 'scr-ext-anno/**' |
| 67 | + - 'bundlerepository.osgi-ct/**' |
48 | 68 |
|
49 | 69 | # Cancel superseded runs for the same branch. github.head_ref is only set for |
50 | 70 | # pull_request events, so pushes fall back to github.ref, which groups per branch: |
@@ -118,6 +138,26 @@ jobs: |
118 | 138 | - 'log.extension/**' |
119 | 139 | examples: |
120 | 140 | - 'examples/**' |
| 141 | + healthcheck: |
| 142 | + - 'healthcheck/**' |
| 143 | + fileinstall: |
| 144 | + - 'fileinstall/**' |
| 145 | + inventory: |
| 146 | + - 'inventory/**' |
| 147 | + configadmin-plugins: |
| 148 | + - 'configadmin-plugins/**' |
| 149 | + webconsole-plugins: |
| 150 | + - 'webconsole-plugins/**' |
| 151 | + metatype: |
| 152 | + - 'metatype/**' |
| 153 | + coordinator: |
| 154 | + - 'coordinator/**' |
| 155 | + features: |
| 156 | + - 'features/**' |
| 157 | + scr-ext-anno: |
| 158 | + - 'scr-ext-anno/**' |
| 159 | + bundlerepository-osgi-ct: |
| 160 | + - 'bundlerepository.osgi-ct/**' |
121 | 161 | - name: Felix Configuration JSON |
122 | 162 | if: steps.changes.outputs.cm-json == 'true' || steps.changes.outputs.configurator == 'true' |
123 | 163 | run: mvn -B -V -Dstyle.color=always --file cm.json/pom.xml clean install |
@@ -196,6 +236,44 @@ jobs: |
196 | 236 | - name: Felix examples |
197 | 237 | if: steps.changes.outputs.examples == 'true' |
198 | 238 | run: mvn -B -V -Dstyle.color=always --file examples/pom.xml clean verify |
| 239 | + # The modules below are not part of a reactor and each pins the released Felix |
| 240 | + # bundles it depends on, so they are built one by one. See FELIX-6875. |
| 241 | + - name: Felix Health Check |
| 242 | + if: steps.changes.outputs.healthcheck == 'true' |
| 243 | + run: | |
| 244 | + for module in annotation api core generalchecks webconsoleplugin; do |
| 245 | + mvn -B -V -Dstyle.color=always --file healthcheck/$module/pom.xml clean verify || exit 1 |
| 246 | + done |
| 247 | + - name: Felix File Install |
| 248 | + if: steps.changes.outputs.fileinstall == 'true' |
| 249 | + run: mvn -B -V -Dstyle.color=always --file fileinstall/pom.xml clean verify |
| 250 | + - name: Felix Inventory |
| 251 | + if: steps.changes.outputs.inventory == 'true' |
| 252 | + run: mvn -B -V -Dstyle.color=always --file inventory/pom.xml clean verify |
| 253 | + - name: Felix Config Admin plugins |
| 254 | + if: steps.changes.outputs.configadmin-plugins == 'true' |
| 255 | + run: mvn -B -V -Dstyle.color=always --file configadmin-plugins/interpolation/pom.xml clean verify |
| 256 | + - name: Felix Web Console plugins |
| 257 | + if: steps.changes.outputs.webconsole-plugins == 'true' |
| 258 | + run: | |
| 259 | + for module in ds event memoryusage obr packageadmin; do |
| 260 | + mvn -B -V -Dstyle.color=always --file webconsole-plugins/$module/pom.xml clean verify || exit 1 |
| 261 | + done |
| 262 | + - name: Felix Metatype |
| 263 | + if: steps.changes.outputs.metatype == 'true' |
| 264 | + run: mvn -B -V -Dstyle.color=always --file metatype/pom.xml clean verify |
| 265 | + - name: Felix Coordinator |
| 266 | + if: steps.changes.outputs.coordinator == 'true' |
| 267 | + run: mvn -B -V -Dstyle.color=always --file coordinator/pom.xml clean verify |
| 268 | + - name: Felix Features |
| 269 | + if: steps.changes.outputs.features == 'true' |
| 270 | + run: mvn -B -V -Dstyle.color=always --file features/pom.xml clean verify |
| 271 | + - name: Felix SCR extension annotations |
| 272 | + if: steps.changes.outputs.scr-ext-anno == 'true' |
| 273 | + run: mvn -B -V -Dstyle.color=always --file scr-ext-anno/pom.xml clean verify |
| 274 | + - name: Felix bundlerepository OSGi CT |
| 275 | + if: steps.changes.outputs.bundlerepository-osgi-ct == 'true' |
| 276 | + run: mvn -B -V -Dstyle.color=always --file bundlerepository.osgi-ct/pom.xml clean verify |
199 | 277 | - name: Upload Test Results |
200 | 278 | if: always() |
201 | 279 | uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
|
0 commit comments