-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add vendor matrix for ui (#26)
- Loading branch information
1 parent
4f28f5d
commit 04cdda5
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
||
|
@@ -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: | ||
|
@@ -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 |