Skip to content

Commit

Permalink
adding new step in meta
Browse files Browse the repository at this point in the history
  • Loading branch information
harshilgajera-crest authored Mar 21, 2024
1 parent 77d90c5 commit c5f1ed4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ jobs:
matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}
matrix_latestSplunk: ${{ steps.matrix.outputs.latestSplunk }}
matrix_supportedSC4S: ${{ steps.matrix.outputs.supportedSC4S }}
matrix_combinedSplunkversion: ${{ steps.matrix.outputs.combinedSplunkversions }}
matrix_supportedModinputFunctionalVendors: ${{ steps.matrix.outputs.supportedModinputFunctionalVendors }}
matrix_supportedUIVendors: ${{ steps.matrix.outputs.supportedUIVendors }}
python39_splunk: ${{steps.python39_splunk.outputs.splunk}}
Expand Down Expand Up @@ -307,6 +308,13 @@ jobs:
run: |
echo "splunk={\"version\":\"unreleased-python3_9-7027496d63d8\", \"build\":\"7027496d63d8\", \"islatest\":false, \"isoldest\":false}" >> "$GITHUB_OUTPUT"
echo "sc4s={\"version\":\"2.49.5\", \"docker_registry\":\"ghcr.io/splunk/splunk-connect-for-syslog/container2\"}" >> "$GITHUB_OUTPUT"
- name: combined_Splunkmatrix
id: combined_Splunkmatrix
run: |
echo "combinedSplunkversions=$(jq --arg combined_spluk_version $python39_splunk '. + [$combined_spluk_version]' <<< "$matrix_supportedSplunk")" >> "$GITHUB_OUTPUT"
with:
python39_splunk: ${{steps.python39_splunk.outputs.splunk}}
matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}

fossa-scan:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -1745,7 +1753,7 @@ jobs:
strategy:
fail-fast: false
matrix:
splunk: ${{ toJson(fromJson(needs.meta.outputs.matrix_supportedSplunk) + fromJson(needs.meta.outputs.python39_splunk)) }}
splunk: ${{ needs.meta.outputs.fromJson(matrix_combinedSplunkversion) }}
modinput-type: [ "modinput_functional" ]
vendor-version: ${{ fromJson(needs.meta.outputs.matrix_supportedModinputFunctionalVendors) }}
marker: ${{ fromJson(inputs.marker) }}
Expand Down

0 comments on commit c5f1ed4

Please sign in to comment.