pytorch/.github/scripts
Sam Estep 46484e8dfe Simplify .github/scripts/generate_ci_workflows.py (#58491)
Summary:
This PR simplifies `.github/scripts/generate_ci_workflows.py` by using the same strategy as https://github.com/pytorch/pytorch/issues/54344, representing workflows as plain data to avoid duplicating the definition of the `generate_workflow_file` function. This will make the script easier to maintain if/when that function is modified and/or more workflow types are added.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/58491

Test Plan:
The Lint job in CI; specifically:
```
make generate-gha-workflows
mypy --config mypy-strict.ini
```

Reviewed By: malfet, seemethere

Differential Revision: D28511918

Pulled By: samestep

fbshipit-source-id: aaf415a954d938a29aee7c9367c9bc2b9f44bb01
2021-05-18 11:49:51 -07:00
..
build_publish_nightly_docker.sh Use the conda channel defined in docker.Makefile to install cudatoolkit (#53316) 2021-03-12 11:18:05 -08:00
generate_binary_build_matrix.py ci: Remove CUDA 10.1 builds (#56056) 2021-04-14 14:24:56 -07:00
generate_ci_workflows.py Simplify .github/scripts/generate_ci_workflows.py (#58491) 2021-05-18 11:49:51 -07:00
generate_pytorch_version.py ci: Remove special versioning privileges for cu102 (#53133) 2021-03-09 13:16:56 -08:00
install_nvidia_utils_linux.sh .github: Add initial Linux CI for CUDA (#56494) 2021-04-23 18:09:08 -07:00
install_windows_sdk.ps1 .github: Add intial Windows CPU GHA workflow (#58199) 2021-05-17 15:04:16 -07:00
lint_native_functions.py Disallow versionless Python shebangs (#58275) 2021-05-14 08:26:02 -07:00
parse_ref.py Use tools/print_test_stats.py in GHA (#57647) 2021-05-10 12:29:40 -07:00
regenerate_cancel_redundant_workflow.py Disallow versionless Python shebangs (#58275) 2021-05-14 08:26:02 -07:00
report_git_status.sh [reland] .github: Add initial linux CI workflow (#56280) 2021-04-19 17:36:09 -07:00
run_torchbench.py Add a shortcut to test all torchbench models. (#57311) 2021-05-03 13:50:27 -07:00
windows_install_utils.ps1 .github: Add intial Windows CPU GHA workflow (#58199) 2021-05-17 15:04:16 -07:00