Skip to content

Commit

Permalink
fix: adding splunk 9 support in tests (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
uoboda-splunk authored Jun 23, 2022
1 parent a398f80 commit c4c7b5d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
container_revision: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.revision'] }}
container_base: ${{ fromJSON(steps.docker_action_meta.outputs.json).tags[0] }}
matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}
matrix_latestSplunk: ${{ steps.matrix.outputs.latestSplunk }}
matrix_supportedSC4S: ${{ steps.matrix.outputs.supportedSC4S }}
matrix_supportedModinputFunctionalVendors: ${{ steps.matrix.outputs.supportedModinputFunctionalVendors }}
matrix_supportedUIVendors: ${{ steps.matrix.outputs.supportedUIVendors }}
Expand Down Expand Up @@ -93,7 +94,7 @@ jobs:
type=ref,event=pr
- name: matrix
id: matrix
uses: splunk/addonfactory-test-matrix-action@v1.7.0
uses: splunk/addonfactory-test-matrix-action@v1.8

compliance-sample-scanner:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -784,7 +785,7 @@ jobs:
strategy:
fail-fast: false
matrix:
splunk: ['8.2.1']
splunk: ${{ fromJson(needs.meta.outputs.matrix_latestSplunk) }}
sc4s: ${{ fromJson(needs.meta.outputs.matrix_supportedSC4S) }}
container:
image: ghcr.io/splunk/workflow-engine-base:2.0.3
Expand Down Expand Up @@ -828,7 +829,7 @@ jobs:
ARGO_TOKEN: ${{ steps.get-argo-token.outputs.argo-token }}
uses: splunk/[email protected]
with:
splunk: ${{ matrix.splunk }}
splunk: ${{ matrix.splunk.version }}
test-type: ${{ env.TEST_TYPE }}
test-args: ""
job-name: ${{ steps.create-job-name.outputs.job-name }}
Expand Down Expand Up @@ -912,20 +913,20 @@ jobs:
- uses: actions/upload-artifact@v3
if: always()
with:
name: archive splunk ${{ matrix.splunk }} ${{ env.TEST_TYPE }} tests artifacts
name: archive splunk ${{ matrix.splunk.version }} ${{ env.TEST_TYPE }} tests artifacts
path: |
${{ needs.setup.outputs.directory-path }}/test-results
- uses: actions/upload-artifact@v3
if: always()
with:
name: archive splunk ${{ matrix.splunk }} ${{ env.TEST_TYPE }} tests logs
name: archive splunk ${{ matrix.splunk.version }} ${{ env.TEST_TYPE }} tests logs
path: |
${{ needs.setup.outputs.directory-path }}/argo-logs
- name: Test Report
uses: dorny/test-reporter@v1
if: always()
with:
name: splunk ${{ matrix.splunk }} ${{ env.TEST_TYPE }} test report
name: splunk ${{ matrix.splunk.version }} ${{ env.TEST_TYPE }} test report
path: "${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
reporter: java-junit

Expand Down

0 comments on commit c4c7b5d

Please sign in to comment.