Update queue times dataset #82264
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: Update queue times dataset | |
on: | |
schedule: | |
# Run every 15 minutes | |
- cron: "*/15 * * * *" | |
workflow_dispatch: | |
defaults: | |
run: | |
working-directory: torchci | |
jobs: | |
update-queue-rockset: | |
runs-on: ubuntu-20.04 | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- run: yarn install --frozen-lockfile | |
- name: configure aws credentials | |
id: aws_creds | |
uses: aws-actions/configure-aws-credentials@v3 | |
with: | |
role-to-assume: arn:aws:iam::308535385114:role/gha_workflow_update_queue_times | |
aws-region: us-east-1 | |
- run: yarn node scripts/updateQueueTimes.mjs | |
env: | |
ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }} |