pytorch/.github/actions
Huy Do 40d54cf8bf Apply filter logic to disabled jobs dynamically (#95442)
Apply filter logic to disabled jobs dynamically.  The list of disabled jobs is published at https://ossci-metrics.s3.amazonaws.com/disabled-jobs.json.  When the workflow (i.e. `pull`) and the platform (i.e. `linux-bionic-py3.8-clang9`) names match, job will be disabled (skipped) if they are in the list.

Note that getting the current job name within the GitHub action is fairly hacky.  This is a TODO item.

### Testing

* Unit testing
* This PR. https://github.com/pytorch/pytorch/issues/94861 disables `pull / linux-bionic-py3.8-clang9 / test (dynamo)` in the CI.  We have:
   * No dynamo tests running in `pull / linux-bionic-py3.8-clang9` https://github.com/pytorch/pytorch/actions/runs/4272505289/jobs/7437706181
   * Other dynamo tests, i.e. `pull / linux-bionic-py3.11-clang9`, are run normally https://github.com/pytorch/pytorch/actions/runs/4272505289/jobs/7437706054
 * This PR. https://github.com/pytorch/pytorch/issues/95642 disables `pull / linux-bionic-cuda11.7-py3.10-gcc7-sm86 / test`.  All test jobs for `pull / linux-bionic-cuda11.7-py3.10-gcc7-sm86` are skipped https://github.com/pytorch/pytorch/actions/runs/4287330986/jobs/7468179694
 * This PR. https://github.com/pytorch/pytorch/issues/95656 disables `pull / linux-bionic-py3_8-clang8-xla / build`.  All build and test jobs for `pull / linux-bionic-py3_8-clang8-xla` are skipped https://github.com/pytorch/pytorch/actions/runs/4287330986/jobs/7470478905
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95442
Approved by: https://github.com/clee2000
2023-03-01 00:10:35 +00:00
..
build-android [BE][CI] change references from .jenkins to .ci (#92624) 2023-01-30 22:50:07 +00:00
calculate-docker-image Update xla image tag (#94377) 2023-02-09 00:17:37 +00:00
checkout-pytorch
chown-workspace
diskspace-cleanup [ROCm] Add diskspace check for rocm CI nodes (#93032) 2023-02-03 22:38:57 +00:00
download-build-artifacts
filter-test-configs Apply filter logic to disabled jobs dynamically (#95442) 2023-03-01 00:10:35 +00:00
get-workflow-job-id Add get-job-id in get-workflow-job-id action (#93001) 2023-01-25 19:44:52 +00:00
setup-linux Improve retries when ECR login is flaky (#95398) 2023-02-23 23:47:10 +00:00
setup-rocm [ROCm] Add diskspace check for rocm CI nodes (#93032) 2023-02-03 22:38:57 +00:00
setup-win Fix Windows python3 path (#93387) 2023-01-31 19:52:30 +00:00
teardown-rocm [ROCm] Add diskspace check for rocm CI nodes (#93032) 2023-02-03 22:38:57 +00:00
teardown-win
test-pytorch-binary
upload-test-artifacts Ignore 7z locked usage log error on Windows non-ephemeral runners (#94483) 2023-02-10 00:58:36 +00:00