Commit 94df1977 authored by Tomasz Dołbniak's avatar Tomasz Dołbniak Committed by Scott Cyphers

Fix of the CI reproduction script (#3058)

* Correct the dockerfile name and the way to pass multiple env vars to a container

* Docs fix

* Typo fix
parent c95ee1e3
......@@ -2,7 +2,7 @@
From directory containing CI scripts execute runCI.sh bash script:
```
cd <path-to-repo>/.ci/jenkins/
cd <path-to-repo>/.ci/onnx/jenkins/
./runCI.sh
```
......
......@@ -28,7 +28,7 @@ function run() {
set -e
cd ./dockerfiles
docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy -f=./ubuntu-16_04.dockerfile -t ngraph-onnx:ubuntu-16_04 .
docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy -f=./ubuntu_16_04.dockerfile -t ngraph-onnx:ubuntu-16_04 .
cd "${CI_PATH}"
if [[ -z $(docker ps -a | grep -i "${DOCKER_CONTAINER}") ]];
......@@ -65,8 +65,8 @@ function run() {
fi'
docker exec "${DOCKER_CONTAINER}" bash -c "${CLONE_CMD}"
NGRAPH_WHL=$(docker exec ${DOCKER_CONTAINER} find /root/python/dist/ -name "ngraph*.whl")
docker exec -e TOX_INSTALL_NGRAPH_FROM="${NGRAPH_WHL}" NGRAPH_BACKEND=CPU "${DOCKER_CONTAINER}" tox -c /root/ngraph-onnx/
docker exec -e TOX_INSTALL_NGRAPH_FROM="${NGRAPH_WHL}" NGRAPH_BACKEND=INTEPRETER "${DOCKER_CONTAINER}" tox -c /root/ngraph-onnx/
docker exec -e TOX_INSTALL_NGRAPH_FROM="${NGRAPH_WHL}" -e NGRAPH_BACKEND=CPU "${DOCKER_CONTAINER}" tox -c /root/ngraph-onnx/
docker exec -e TOX_INSTALL_NGRAPH_FROM="${NGRAPH_WHL}" -e NGRAPH_BACKEND=INTEPRETER "${DOCKER_CONTAINER}" tox -c /root/ngraph-onnx/
}
# Function cleanup() removes items related to nGraph, created during script execution
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment