Skip to content

Commit

Permalink
Collect test reports (#1368)
Browse files Browse the repository at this point in the history
Initial commit for collecting workflow data, SFTP upload is commented out until we can confirm that generated files are in the correct format.
  • Loading branch information
vmilosevic authored Nov 26, 2024
1 parent 3c35a60 commit ebde568
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/produce_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "[internal] Collect workflow data"

on:
workflow_run:
workflows: # List workflow that we want to collect data for
- "On PR"
- "On push"
- "Build on macos-latest"
- "Build and Test"
types:
- completed

jobs:
produce-cicd-data:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Collect CI/CD data
uses: tenstorrent/tt-github-actions/.github/actions/collect_data@main
if: ${{ github.event_name == 'workflow_run' }}
with:
repository: ${{ github.repository }}
run_id: ${{ github.event.workflow_run.id }}
run_attempt: ${{ github.event.workflow_run.run_attempt }}
sftp_host: ${{ secrets.SFTP_CICD_WRITER_HOSTNAME }}
sftp_user: ${{ secrets.SFTP_CICD_WRITER_USERNAME }}
ssh-private-key: ${{ secrets.SFTP_CICD_WRITER_KEY }}

0 comments on commit ebde568

Please sign in to comment.