mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
ARC uses dind-rootless which causes bind mounts to always be mounted as the "root" user inside the container rather than the "jenkins" user as expected. We run chown to ensure that the workspace gets mapped to the jenkins user as well as a trap to ensure this change gets reverted when the script ends for any reason. This is the same workaround as in #122922 but adapted for onnx tests. Issue: pytorch/ci-infra#112 Pull Request resolved: https://github.com/pytorch/pytorch/pull/123641 Approved by: https://github.com/jeanschmidt, https://github.com/seemethere |
||
|---|---|---|
| .. | ||
| common.sh | ||
| README.md | ||
| test.sh | ||
Jenkins
The scripts in this directory are the entrypoint for testing ONNX exporter.
The environment variable BUILD_ENVIRONMENT is expected to be set to
the build environment you intend to test. It is a hint for the build
and test scripts to configure Caffe2 a certain way and include/exclude
tests. Docker images, they equal the name of the image itself. For
example: py2-cuda9.0-cudnn7-ubuntu16.04. The Docker images that are
built on Jenkins and are used in triggered builds already have this
environment variable set in their manifest. Also see
./docker/jenkins/*/Dockerfile and search for BUILD_ENVIRONMENT.
Our Jenkins installation is located at https://ci.pytorch.org/jenkins/.