.circleci: Re-do run nightly pipelines on tag (#34148)

Summary:
Commit that this commit relied on was found to be causing issues with
valgrind https://github.com/pytorch/pytorch/issues/33471

Re-does https://github.com/pytorch/pytorch/issues/34078 after revert.

This reverts commit 1aff3e2dd3.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34148

Differential Revision: D20234451

Pulled By: seemethere

fbshipit-source-id: cb5e496a3f761beeeb0cc8df71f9ebc0b271737b
This commit is contained in:
Eli Uriegas 2020-03-03 14:52:45 -08:00 committed by Facebook Github Bot
parent 7cda964e20
commit cb3905e8cf
2 changed files with 487 additions and 1 deletions

View File

@ -67,7 +67,17 @@ class Conf(object):
job_def["requires"].append("update_s3_htmls_for_nightlies_devtoolset7") job_def["requires"].append("update_s3_htmls_for_nightlies_devtoolset7")
job_def["filters"] = {"branches": {"only": "postnightly"}} job_def["filters"] = {"branches": {"only": "postnightly"}}
else: else:
job_def["filters"] = {"branches": {"only": "nightly"}} job_def["filters"] = {
"branches": {
"only": "nightly"
},
# Will run on tags like v1.5.0-rc1, etc.
"tags": {
# Using a raw string here to avoid having to escape
# anything
"only": r"/v[0-9]+(\.[0-9]+)*-rc[0-9]+/"
}
}
if self.libtorch_variant: if self.libtorch_variant:
job_def["libtorch_variant"] = miniutils.quote(self.libtorch_variant) job_def["libtorch_variant"] = miniutils.quote(self.libtorch_variant)
if phase == "test": if phase == "test":

File diff suppressed because it is too large Load Diff