Skip to content

workflows-simple-canary-prod-test #882

workflows-simple-canary-prod-test

workflows-simple-canary-prod-test #882

name: workflows-simple-canary-prod-test
'on':
schedule:
- cron: "0 * * * *" # run hourly
workflow_dispatch:
jobs:
run-simple-canary-prod-test:
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
steps:
- name: Dispatch to terra-github-workflows
uses: broadinstitute/workflow-dispatch@v4.0.0
with:
workflow: workflows-canary-prod-test
run-name: "workflows-simple-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
inputs: '{
"run-name": "workflows-simple-canary-prod-test-${{ github.run_id }}-${{ github.run_attempt }}",
"workspace-namespace": "broad-firecloud-dsde",
"workspace-name": "CanaryTest",
"method-namespace": "wdl-testing",
"method-name": "hello-world",
"entity-type": "participant",
"entity-id": "subject_HCC1143"
}'
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