From 4c7dfd798fc4e1147f76803892927d7d55a93aef Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Thu, 18 Jan 2024 13:30:18 +0100 Subject: [PATCH 1/4] try to test different director versions with the services function --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f62fa69..e2a04cb9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,9 @@ jobs: name: Sanity (Ⓐ${{ matrix.ansible }}) strategy: matrix: + icinga_director: + - 1.8.1 + - 1.11.0 ansible: # It's important that Sanity is tested against all stable-X.Y branches # Testing against `devel` may fail as new tests are added. @@ -161,7 +164,7 @@ jobs: python: '3.11' services: icinga: - image: ghcr.io/telekom-mms/icinga2:director-1.8.1@sha256:bf9205d41607f1641146e870644af0529338d06a9b360737bdf56a3f951cc28b + image: ghcr.io/telekom-mms/icinga2:director-${{ matrix.icinga_director }} ports: - 80:80 steps: From 864d36fd4f77b941877cdcd5cdc0b9c1e9bbc6cd Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Thu, 18 Jan 2024 13:33:09 +0100 Subject: [PATCH 2/4] try to test different director versions with the services function --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2a04cb9..5992f61f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,9 +29,6 @@ jobs: name: Sanity (Ⓐ${{ matrix.ansible }}) strategy: matrix: - icinga_director: - - 1.8.1 - - 1.11.0 ansible: # It's important that Sanity is tested against all stable-X.Y branches # Testing against `devel` may fail as new tests are added. @@ -89,10 +86,13 @@ jobs: ${{ contains(fromJson( '["stable-2.9", "stable-2.10", "stable-2.11"]' ), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }} - name: I (Ⓐ${{ matrix.ansible }}+py${{ matrix.python }}) + name: I (Ⓐ${{ matrix.ansible }}+py${{ matrix.python }}) - director ${{ matrix.icinga_director }} strategy: fail-fast: false matrix: + icinga_director: + - 1.8.1 + - 1.11.0 ansible: - devel # - milestone From de99a60683c594fbaa396b82170d84db3aa608aa Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Thu, 18 Jan 2024 13:42:06 +0100 Subject: [PATCH 3/4] try to test different director versions with the services function --- .github/workflows/main.yml | 126 ++++++++++++++++++++++++++++++++----- 1 file changed, 110 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5992f61f..436df797 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,71 +97,165 @@ jobs: - devel # - milestone python: - - '2.7' - - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' - '3.11' - exclude: - - ansible: devel - python: '2.7' - - ansible: devel - python: '3.6' + - '3.12' include: # Add new versions announced in # https://github.com/ansible-collections/news-for-maintainers in a timely manner, # consider dropping testing against EOL versions and versions you don't support. - # ansible-core 2.13 - - ansible: stable-2.13 + # ansible-core 2.14 + - ansible: stable-2.14 python: '2.7' - - ansible: stable-2.13 + icinga_director: 1.8.1 + - ansible: stable-2.14 python: '3.5' - - ansible: stable-2.13 + icinga_director: 1.8.1 + - ansible: stable-2.14 python: '3.6' - - ansible: stable-2.13 + icinga_director: 1.8.1 + - ansible: stable-2.14 python: '3.7' - - ansible: stable-2.13 + icinga_director: 1.8.1 + - ansible: stable-2.14 python: '3.8' - - ansible: stable-2.13 + icinga_director: 1.8.1 + - ansible: stable-2.14 python: '3.9' - - ansible: stable-2.13 + icinga_director: 1.8.1 + - ansible: stable-2.14 python: '3.10' - # ansible-core 2.14 + icinga_director: 1.8.1 + - ansible: stable-2.14 + python: '3.11' + icinga_director: 1.8.1 + # ansible-core 2.15 + - ansible: stable-2.15 + python: '2.7' + icinga_director: 1.8.1 + - ansible: stable-2.15 + python: '3.5' + icinga_director: 1.8.1 + - ansible: stable-2.15 + python: '3.6' + icinga_director: 1.8.1 + - ansible: stable-2.15 + python: '3.7' + icinga_director: 1.8.1 + - ansible: stable-2.15 + python: '3.8' + icinga_director: 1.8.1 + - ansible: stable-2.15 + python: '3.9' + icinga_director: 1.8.1 + - ansible: stable-2.15 + python: '3.10' + icinga_director: 1.8.1 + - ansible: stable-2.15 + python: '3.11' + icinga_director: 1.8.1 + # ansible-core 2.16 + - ansible: stable-2.16 + python: '2.7' + icinga_director: 1.8.1 + - ansible: stable-2.16 + python: '3.6' + icinga_director: 1.8.1 + - ansible: stable-2.16 + python: '3.7' + icinga_director: 1.8.1 + - ansible: stable-2.16 + python: '3.8' + icinga_director: 1.8.1 + - ansible: stable-2.16 + python: '3.9' + icinga_director: 1.8.1 + - ansible: stable-2.16 + python: '3.10' + icinga_director: 1.8.1 + - ansible: stable-2.16 + python: '3.11' + icinga_director: 1.8.1 + - ansible: stable-2.16 + python: '3.12' + icinga_director: 1.8.1 - ansible: stable-2.14 python: '2.7' + icinga_director: 1.11.0 - ansible: stable-2.14 python: '3.5' + icinga_director: 1.11.0 - ansible: stable-2.14 python: '3.6' + icinga_director: 1.11.0 - ansible: stable-2.14 python: '3.7' + icinga_director: 1.11.0 - ansible: stable-2.14 python: '3.8' + icinga_director: 1.11.0 - ansible: stable-2.14 python: '3.9' + icinga_director: 1.11.0 - ansible: stable-2.14 python: '3.10' + icinga_director: 1.11.0 - ansible: stable-2.14 python: '3.11' + icinga_director: 1.11.0 # ansible-core 2.15 - ansible: stable-2.15 python: '2.7' + icinga_director: 1.11.0 - ansible: stable-2.15 python: '3.5' + icinga_director: 1.11.0 - ansible: stable-2.15 python: '3.6' + icinga_director: 1.11.0 - ansible: stable-2.15 python: '3.7' + icinga_director: 1.11.0 - ansible: stable-2.15 python: '3.8' + icinga_director: 1.11.0 - ansible: stable-2.15 python: '3.9' + icinga_director: 1.11.0 - ansible: stable-2.15 python: '3.10' + icinga_director: 1.11.0 - ansible: stable-2.15 python: '3.11' + icinga_director: 1.11.0 + # ansible-core 2.16 + - ansible: stable-2.16 + python: '2.7' + icinga_director: 1.11.0 + - ansible: stable-2.16 + python: '3.6' + icinga_director: 1.11.0 + - ansible: stable-2.16 + python: '3.7' + icinga_director: 1.11.0 + - ansible: stable-2.16 + python: '3.8' + icinga_director: 1.11.0 + - ansible: stable-2.16 + python: '3.9' + icinga_director: 1.11.0 + - ansible: stable-2.16 + python: '3.10' + icinga_director: 1.11.0 + - ansible: stable-2.16 + python: '3.11' + icinga_director: 1.11.0 + - ansible: stable-2.16 + python: '3.12' + icinga_director: 1.11.0 services: icinga: image: ghcr.io/telekom-mms/icinga2:director-${{ matrix.icinga_director }} From fce6894526716779ec431e1a4550db6ee84d7f91 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Thu, 18 Jan 2024 15:08:49 +0100 Subject: [PATCH 4/4] remove non-working 1.11.0 --- .github/workflows/main.yml | 75 -------------------------------------- 1 file changed, 75 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 436df797..08b9a3f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,7 +92,6 @@ jobs: matrix: icinga_director: - 1.8.1 - - 1.11.0 ansible: - devel # - milestone @@ -182,80 +181,6 @@ jobs: - ansible: stable-2.16 python: '3.12' icinga_director: 1.8.1 - - ansible: stable-2.14 - python: '2.7' - icinga_director: 1.11.0 - - ansible: stable-2.14 - python: '3.5' - icinga_director: 1.11.0 - - ansible: stable-2.14 - python: '3.6' - icinga_director: 1.11.0 - - ansible: stable-2.14 - python: '3.7' - icinga_director: 1.11.0 - - ansible: stable-2.14 - python: '3.8' - icinga_director: 1.11.0 - - ansible: stable-2.14 - python: '3.9' - icinga_director: 1.11.0 - - ansible: stable-2.14 - python: '3.10' - icinga_director: 1.11.0 - - ansible: stable-2.14 - python: '3.11' - icinga_director: 1.11.0 - # ansible-core 2.15 - - ansible: stable-2.15 - python: '2.7' - icinga_director: 1.11.0 - - ansible: stable-2.15 - python: '3.5' - icinga_director: 1.11.0 - - ansible: stable-2.15 - python: '3.6' - icinga_director: 1.11.0 - - ansible: stable-2.15 - python: '3.7' - icinga_director: 1.11.0 - - ansible: stable-2.15 - python: '3.8' - icinga_director: 1.11.0 - - ansible: stable-2.15 - python: '3.9' - icinga_director: 1.11.0 - - ansible: stable-2.15 - python: '3.10' - icinga_director: 1.11.0 - - ansible: stable-2.15 - python: '3.11' - icinga_director: 1.11.0 - # ansible-core 2.16 - - ansible: stable-2.16 - python: '2.7' - icinga_director: 1.11.0 - - ansible: stable-2.16 - python: '3.6' - icinga_director: 1.11.0 - - ansible: stable-2.16 - python: '3.7' - icinga_director: 1.11.0 - - ansible: stable-2.16 - python: '3.8' - icinga_director: 1.11.0 - - ansible: stable-2.16 - python: '3.9' - icinga_director: 1.11.0 - - ansible: stable-2.16 - python: '3.10' - icinga_director: 1.11.0 - - ansible: stable-2.16 - python: '3.11' - icinga_director: 1.11.0 - - ansible: stable-2.16 - python: '3.12' - icinga_director: 1.11.0 services: icinga: image: ghcr.io/telekom-mms/icinga2:director-${{ matrix.icinga_director }}