diff --git a/.github/workflows/ci-lite.yaml b/.github/workflows/ci-lite.yaml index 74935b4db9..4970404eb8 100644 --- a/.github/workflows/ci-lite.yaml +++ b/.github/workflows/ci-lite.yaml @@ -232,13 +232,16 @@ jobs: needs: - meta - build_action + strategy: + matrix: + splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }} # runs all of the steps inside the specified container rather than on the VM host. # Because of this the network configuration changes from host based network to a container network. container: image: python:3.9-buster services: splunk: - image: splunk/splunk:9.2.0 + image: splunk/splunk:${{ matrix.splunk.version }} ports: - 8088:8088 - 8089:8089 @@ -284,13 +287,16 @@ jobs: needs: - meta - build_action + strategy: + matrix: + splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }} # runs all of the steps inside the specified container rather than on the VM host. # Because of this the network configuration changes from host based network to a container network. container: image: python:3.9-buster services: splunk: - image: splunk/splunk:9.2.0 + image: splunk/splunk:${{ matrix.splunk.version }} ports: - 8088:8088 - 8089:8089 diff --git a/.github/workflows/ci-main.yaml b/.github/workflows/ci-main.yaml index a981c1deb8..8552ac0c5f 100644 --- a/.github/workflows/ci-main.yaml +++ b/.github/workflows/ci-main.yaml @@ -234,13 +234,16 @@ jobs: needs: - meta - build_action + strategy: + matrix: + splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }} # runs all of the steps inside the specified container rather than on the VM host. # Because of this the network configuration changes from host based network to a container network. container: image: python:3.9-buster services: splunk: - image: splunk/splunk:9.2.0 + image: splunk/splunk:${{ matrix.splunk.version }} ports: - 8088:8088 - 8089:8089 @@ -286,13 +289,16 @@ jobs: needs: - meta - build_action + strategy: + matrix: + splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }} # runs all of the steps inside the specified container rather than on the VM host. # Because of this the network configuration changes from host based network to a container network. container: image: python:3.9-buster services: splunk: - image: splunk/splunk:9.2.0 + image: splunk/splunk:${{ matrix.splunk.version }} ports: - 8088:8088 - 8089:8089