.ci: Add nightly trigger, remove CircleCI linux binary builds (#70957)

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

Adds nightly trigger for github actions using a workflow that will pull
down viable/strict and tag it as `nightly` and then re-push it up to the
repository.

Also removes CircleCI linux binary builds since they will now be
outmoded in favor of our new GHA workflow

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Test Plan: Imported from OSS

Reviewed By: suo

Differential Revision: D33535609

Pulled By: seemethere

fbshipit-source-id: ca6402df37db46e1872ff25befe96afa12e7b1af
This commit is contained in:
Eli Uriegas
2022-01-12 14:23:12 -08:00
committed by Facebook GitHub Bot
parent 6c1be299c1
commit e1f01d2c01
3 changed files with 22 additions and 4285 deletions

View File

@ -30,20 +30,7 @@ def get_processor_arch_name(gpu_version):
"cu" + gpu_version.strip("cuda") if gpu_version.startswith("cuda") else gpu_version
)
LINUX_PACKAGE_VARIANTS = OrderedDict(
manywheel=[
"3.7m",
"3.8m",
"3.9m"
],
conda=dimensions.STANDARD_PYTHON_VERSIONS,
libtorch=[
"3.7m",
],
)
CONFIG_TREE_DATA = OrderedDict(
linux=(dimensions.GPU_VERSIONS, LINUX_PACKAGE_VARIANTS),
macos=([None], OrderedDict(
wheel=dimensions.STANDARD_PYTHON_VERSIONS,
conda=dimensions.STANDARD_PYTHON_VERSIONS,

4272
.circleci/config.yml generated

File diff suppressed because it is too large Load Diff

22
.github/workflows/trigger_nightly.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Trigger nightly builds
on:
schedule:
# every night at midnight
- cron: 0 0 * * *
workflow_dispatch:
jobs:
tag_nightly:
if: ${{ github.repository == 'pytorch/pytorch' }}
name: Tag nightly from viable/strict
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: viable/strict
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
- name: Tag nightly from viable/strict
run: |
git tag -f nightly
git push origin -f nightly