Skip to content

Commit

Permalink
feat: add vendor matrix for ui (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharth-khatsuriya authored Feb 15, 2022
1 parent 4f28f5d commit 04cdda5
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
container_base: ${{ fromJSON(steps.docker_action_meta.outputs.json).tags[0] }}
matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}
matrix_supportedSC4S: ${{ steps.matrix.outputs.supportedSC4S }}
matrix_supportedVendor: ${{ steps.matrix.outputs.supportedVendors }}
matrix_supportedModinputFunctionalVendors: ${{ steps.matrix.outputs.supportedModinputFunctionalVendors }}
matrix_supportedUIVendors: ${{ steps.matrix.outputs.supportedUIVendors }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:
type=ref,event=pr
- name: matrix
id: matrix
uses: splunk/addonfactory-test-matrix-action@v1.4.0
uses: splunk/addonfactory-test-matrix-action@v1.5.1

compliance-sample-scanner:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -940,6 +941,7 @@ jobs:
matrix:
splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}
browser: ["chrome"]
vendor-version: ${{ fromJson(needs.meta.outputs.matrix_supportedUIVendors) }}
container:
image: ghcr.io/splunk/workflow-engine-base:2.0.3
env:
Expand Down Expand Up @@ -992,6 +994,7 @@ jobs:
delay-destroy: "No"
addon-url: ${{ needs.setup.outputs.addon-upload-path }}
addon-name: ${{ needs.setup.outputs.addon-name }}
vendor-version: ${{ matrix.vendor-version.image }}
sc4s-version: "No"
- name: Check if pod was deleted
id: is-pod-deleted
Expand Down Expand Up @@ -1065,20 +1068,20 @@ jobs:
- uses: actions/[email protected]
if: always()
with:
name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} tests artifacts
name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} ${{ matrix.vendor-version.image }} tests artifacts
path: |
${{ needs.setup.outputs.directory-path }}/test-results
- uses: actions/[email protected]
if: always()
with:
name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} tests logs
name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} ${{ matrix.vendor-version.image }} 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.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} test report
name: splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} ${{ matrix.vendor-version.image }} test report
path: "${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
reporter: java-junit

Expand All @@ -1095,7 +1098,7 @@ jobs:
matrix:
splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}
modinput-type: ["modinput_functional"]
vendor-version: ${{ fromJson(needs.meta.outputs.matrix_supportedVendor) }}
vendor-version: ${{ fromJson(needs.meta.outputs.matrix_supportedModinputFunctionalVendors) }}
container:
image: ghcr.io/splunk/workflow-engine-base:2.0.3
env:
Expand Down Expand Up @@ -1373,4 +1376,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: haya14busa/action-update-semver@v1
- uses: haya14busa/action-update-semver@v1

0 comments on commit 04cdda5

Please sign in to comment.