pytorch
a4ce85ad - Chown workspace in calculate-docker-image (#58398)

Commit
3 years ago
Chown workspace in calculate-docker-image (#58398) Summary: Since https://github.com/pytorch/pytorch/issues/58299 changed the calculate-docker-image job from `ubuntu-18.04` to `linux.2xlarge`, it has been sometimes failing with this message: ``` Warning: Unable to clean or reset the repository. The repository will be recreated instead. Deleting the contents of '/home/ec2-user/actions-runner/_work/pytorch/pytorch' Error: Command failed: rm -rf "/home/ec2-user/actions-runner/_work/pytorch/pytorch/.azure_pipelines" ``` - https://github.com/pytorch/pytorch/runs/2587348894 - https://github.com/pytorch/pytorch/runs/2592943274 - https://github.com/pytorch/pytorch/runs/2600707737 This PR hopes to fix that issue by adding the "Chown workspace" step that we already use for the other jobs in the Linux CI workflow. Pull Request resolved: https://github.com/pytorch/pytorch/pull/58398 Reviewed By: seemethere Differential Revision: D28476902 Pulled By: samestep fbshipit-source-id: a7dbf0ad9c18ac44cc1a3cef7647f56489958fe6
Author
Parents
Loading