Skip to content

Commit

Permalink
ci: use last stable splunk version instead of hardcoded
Browse files Browse the repository at this point in the history
  • Loading branch information
ikheifets-splunk committed Feb 19, 2024
1 parent afcabb4 commit e6e13ce
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci-lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e6e13ce

Please sign in to comment.