workflows-complex-canary-prod-test #141
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
name: workflows-complex-canary-prod-test | |
'on': | |
schedule: | |
- cron: "0 */3 * * *" # run every 3 hours | |
workflow_dispatch: | |
jobs: | |
run-complex-canary-prod-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
steps: | |
- name: Dispatch to terra-github-workflows | |
uses: broadinstitute/[email protected] | |
with: | |
workflow: workflows-canary-prod-test | |
run-name: "workflows-complex-canary-prod-test-${{ github.run_id }}-${{ github.run_attempt }}" | |
repo: broadinstitute/terra-github-workflows | |
ref: refs/heads/main | |
token: ${{ secrets.BROADBOT_TOKEN }} # GitHub token for access to kick off a job in the private repo | |
wait-for-completion-timeout: 4h | |
inputs: '{ | |
"run-name": "workflows-complex-canary-prod-test-${{ github.run_id }}-${{ github.run_attempt }}", | |
"workspace-namespace": "broad-firecloud-dsde", | |
"workspace-name": "complex-featured-workflow", | |
"method-namespace": "gatk", | |
"method-name": "five-dollar-genome-analysis-pipeline", | |
"entity-type": "sample", | |
"entity-id": "na12878_real_small" | |
}' | |
report-workflow: | |
uses: broadinstitute/sherlock/.github/workflows/client-report-workflow.yaml@main | |
with: | |
notify-slack-channels-upon-workflow-failure: "#dsp-analysis-prod-alerts" | |
notify-slack-custom-icon: ":sad-terra:" | |
permissions: | |
id-token: write |