Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
awownysz-splunk committed Dec 20, 2023
1 parent 06cb39a commit d242989
Showing 1 changed file with 30 additions and 20 deletions.
50 changes: 30 additions & 20 deletions .github/workflows/reusable-build-test-release.yml
Expand Up @@ -448,22 +448,27 @@ jobs:
- get-called-ref
if: ${{ !cancelled() && (needs.run-unit-tests-3_7.result == 'success' || needs.run-unit-tests-3_7.result == 'skipped') }}
outputs:
buildname: ${{ fromJSON(steps.build.outputs.outputs).buildname }}
buildname: ${{ steps.build.outputs.buildname }}
permissions:
contents: write
packages: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# Very Important: semantic-release won't trigger a tagged
# build if this is not set to false
persist-credentials: false
- name: Checkout repository
uses: jenseng/dynamic-uses@v1
env:
repository: splunk/addonfactory-workflow-addon-release
ref: ${{ needs.get-called-ref.outputs.ref }}
repositories: splunk/addonfactory-workflow-addon-release@${{ needs.get-called-ref.outputs.ref }}
with:
uses: actions/checkout@v3
uses: vweevers/multi-checkout-action@v1
with: ${{ toJSON(env) }}
- name: Run build 3.7
uses: ./../splunk/addonfactory-workflow-addon-release/.github/actions/build
id: build
uses: ./.github/actions/build
with:
python_version: "3.7"
SA_GH_USER_NAME: ${{ secrets.SA_GH_USER_NAME }}
Expand Down Expand Up @@ -494,27 +499,32 @@ jobs:
contents: write
packages: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# Very Important: semantic-release won't trigger a tagged
# build if this is not set to false
persist-credentials: false
- name: Checkout repository
uses: jenseng/dynamic-uses@v1
env:
repository: splunk/addonfactory-workflow-addon-release
ref: ${{ needs.get-called-ref.outputs.ref }}
repositories: splunk/addonfactory-workflow-addon-release@${{ needs.get-called-ref.outputs.ref }}
with:
uses: actions/checkout@v3
uses: vweevers/multi-checkout-action@v1
with: ${{ toJSON(env) }}
- name: Run build 3.9
uses: ./.github/actions/build
with:
python_version: "3.9"
SA_GH_USER_NAME: ${{ secrets.SA_GH_USER_NAME }}
SA_GH_USER_EMAIL: ${{ secrets.SA_GH_USER_EMAIL }}
SA_GPG_PRIVATE_KEY: ${{ secrets.SA_GPG_PRIVATE_KEY }}
SA_GPG_PASSPHRASE: ${{ secrets.SA_GPG_PASSPHRASE }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
ucc_modinput_functional: ${{ needs.test-inventory.outputs.ucc_modinput_functional}}
modinput_functional: ${{ needs.test-inventory.outputs.modinput_functional}}
uses: ./../splunk/addonfactory-workflow-addon-release/.github/actions/build
with:
python_version: "3.9"
SA_GH_USER_NAME: ${{ secrets.SA_GH_USER_NAME }}
SA_GH_USER_EMAIL: ${{ secrets.SA_GH_USER_EMAIL }}
SA_GPG_PRIVATE_KEY: ${{ secrets.SA_GPG_PRIVATE_KEY }}
SA_GPG_PASSPHRASE: ${{ secrets.SA_GPG_PASSPHRASE }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
ucc_modinput_functional: ${{ needs.test-inventory.outputs.ucc_modinput_functional}}
modinput_functional: ${{ needs.test-inventory.outputs.modinput_functional}}

virustotal:
continue-on-error: true
Expand Down

0 comments on commit d242989

Please sign in to comment.