@@ -255,45 +255,12 @@ jobs:
255255 files: ${{ steps.build.outputs.package-file }}
256256` ` `
257257
258- # ## Multi-Version Support
259-
260- ` ` ` yaml
261- name: Build for Multiple CheckMK Versions
262-
263- on:
264- push:
265- tags: ['v*']
266-
267- jobs:
268- build:
269- strategy:
270- matrix:
271- cmk-version: ['2.1.0p40', '2.2.0p30', '2.3.0p20']
272- runs-on: ubuntu-latest
273- steps:
274- - uses: actions/checkout@v4
275-
276- - name: Build MKP for CMK ${{ matrix.cmk-version }}
277- uses: oposs/mkp-builder@v1
278- with:
279- version: ${{ github.ref_name }}
280- cmk-min-version: ${{ matrix.cmk-version }}
281- cmk-packaged-version: ${{ matrix.cmk-version }}
282- output-dir: dist/
283-
284- - name: Upload artifacts
285- uses: actions/upload-artifact@v4
286- with:
287- name: mkp-cmk-${{ matrix.cmk-version }}
288- path: dist/*.mkp
289- ` ` `
290-
291258# # MKP Package Structure
292259
293260The action creates MKP packages with the following structure :
294261
295262` ` `
296- package.mkp (gzip compressed)
263+ package.mkp (tar file, gzip compressed)
297264├── info # Python dict with package metadata
298265├── info.json # JSON version of metadata
299266├── agents.tar # Agent plugins and scripts
@@ -304,8 +271,6 @@ package.mkp (gzip compressed)
304271# # Supported CheckMK Versions
305272
306273- **CheckMK 2.3.x** (default)
307- - **CheckMK 2.2.x** (with appropriate configuration)
308- - **CheckMK 2.1.x** (with appropriate configuration)
309274
310275# # File Mapping
311276
0 commit comments