Update explicit_ci_jobs to work with GHA (#64598)
authorDavid Riazati <driazati@users.noreply.github.com>
Tue, 7 Sep 2021 22:14:05 +0000 (15:14 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 7 Sep 2021 22:21:12 +0000 (15:21 -0700)
commit7e88d0b370b63b510af5962c103babd9967669d8
tree9b188054b5bead7551a5b416d92146413e6b7d14
parenta48d83a57532d7097f3fd08af7daaa973fef5f8a
Update explicit_ci_jobs to work with GHA (#64598)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64598

This adds a filter option rather than an all-or-nothing so it's easier to iterate on a specific job.

```bash
python tools/testing/explicit_ci_jobs.py --filter-gha '*generated-linux-*gcc5.4*'
```

See #64600 for an example usage

NB: If you regenerate the worfklows you will need to re-run that command to re-delete everything.

Test Plan: Imported from OSS

Reviewed By: janeyx99

Differential Revision: D30788850

Pulled By: driazati

fbshipit-source-id: a32c266bbd876c396665bceef9a0a961b4586564
CONTRIBUTING.md
tools/testing/explicit_ci_jobs.py