Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ on:
required: false
description: "branch for k8s manifests to run the tests on"
type: string
default: "v3.3.2"
default: "user/mgazda/test_ep"
scripted-inputs-os-list:
required: false
description: "list of OS used for scripted input tests"
Expand Down Expand Up @@ -291,7 +291,9 @@ jobs:
matrix_Splunk: ${{ steps.determine_splunk.outputs.matrixSplunk }}
matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}
matrix_latestSplunk: ${{ steps.matrix.outputs.latestSplunk }}
matrix_epSupportingSplunk: ${{ steps.matrix.outputs.epSupportingSplunk }}
matrix_supportedSC4S: ${{ steps.matrix.outputs.supportedSC4S }}
matrix_singleSC4S: ${{ steps.select_single_sc4s.outputs.matrixSingleSC4S }}
matrix_supportedModinputFunctionalVendors: ${{ steps.matrix.outputs.supportedModinputFunctionalVendors }}
matrix_supportedUIVendors: ${{ steps.matrix.outputs.supportedUIVendors }}
permissions:
Expand All @@ -303,7 +305,7 @@ jobs:
submodules: false
persist-credentials: false
- id: matrix
uses: splunk/addonfactory-test-matrix-action@v3.0
uses: splunk/addonfactory-test-matrix-action@user/mgazda/ep_test
- id: determine_splunk
env:
wfe_run_on_splunk_latest: ${{ inputs.wfe-run-on-splunk-latest }}
Expand All @@ -316,11 +318,15 @@ jobs:
else
echo "matrixSplunk=${{toJson(steps.matrix.outputs.supportedSplunk) }}" >> "$GITHUB_OUTPUT"
fi
- id: select_single_sc4s
run:
echo "matrixSingleSC4S=$(echo '${{ steps.matrix.outputs.supportedSC4S }}' | jq -c '.[0]')" >> "$GITHUB_OUTPUT"
- name: job summary
run: |
splunk_version_list=$(echo '${{ steps.determine_splunk.outputs.matrixSplunk }}' | jq -r '.[].version')
sc4s_version_list=$(echo '${{ steps.matrix.outputs.supportedSC4S }}' | jq -r '.[].version')
echo -e "## Summary of Versions Used\n- **Splunk versions used:** (${splunk_version_list})\n- **SC4S versions used:** (${sc4s_version_list})\n- Browser: Chrome" >> "$GITHUB_STEP_SUMMARY"
splunk_with_ep_list=$(echo '${{ steps.matrix.outputs.epSupportingSplunk }}' | jq -r '.version')
echo -e "## Summary of Versions Used\n- **Splunk versions used:** (${splunk_version_list})\n- **SC4S versions used:** (${sc4s_version_list})\n-EP supporting splunk: (${splunk_with_ep_list})\n- Browser: Chrome" >> "$GITHUB_STEP_SUMMARY"
fossa-scan:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -1313,6 +1319,11 @@ jobs:
matrix:
splunk: ${{ fromJson(needs.meta.outputs.matrix_Splunk) }}
sc4s: ${{ fromJson(needs.meta.outputs.matrix_supportedSC4S) }}
test-type: [knowledge]
include:
- splunk: ${{ fromJson(needs.meta.outputs.matrix_epSupportingSplunk) }}
sc4s: ${{ fromJson(needs.meta.outputs.matrix_singleSC4S) }}
test-type: "knowledge_ep"
container:
image: ghcr.io/splunk/workflow-engine-base:4.1.0
env:
Expand Down Expand Up @@ -1376,7 +1387,7 @@ jobs:
uses: splunk/[email protected]
with:
splunk: ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }}
test-type: ${{ env.TEST_TYPE }}
test-type: ${{ matrix.test-type }}
test-args: ${{ needs.setup-workflow.outputs.exit-first }}
job-name: ${{ steps.create-job-name.outputs.job-name }}
labels: ${{ needs.setup.outputs.labels }}
Expand Down
Loading