-
Notifications
You must be signed in to change notification settings - Fork 7
32 lines (30 loc) · 1.14 KB
/
produce_data.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "[internal] Collect workflow data"
run-name: "Collect data for run_id ${{ github.event.workflow_run.id }} attempt ${{ github.event.workflow_run.run_attempt }}"
on:
workflow_run:
workflows: # List workflow that we want to collect data for
- "Build and Test"
- "On PR"
- "On push"
- "On nightly"
- "On nightly_sweeps"
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 }}
sftp_perf_host: ${{ secrets.SFTP_PERF_WRITER_HOSTNAME }}
sftp_perf_user: ${{ secrets.SFTP_PERF_WRITER_USERNAME }}
ssh-private-key: ${{ secrets.SFTP_CICD_WRITER_KEY }}