File tree 2 files changed +30
-1
lines changed
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ import subprocess , sys , os
2
+
3
+ path = os .getcwd ()
4
+ with subprocess .Popen (
5
+ [
6
+ "docker" ,
7
+ "run" ,
8
+ "-i" ,
9
+ "-e" ,
10
+ "TF_PYTHON_VERSION=3.9" ,
11
+ "-v" ,
12
+ f"{ path } :/v" ,
13
+ "-w" ,
14
+ "/v" ,
15
+ "--net=host" ,
16
+ "--entrypoint=/bin/bash" ,
17
+ "gcr.io/tensorflow-testing/nosla-cuda12.0.1-cudnn8.8-ubuntu20.04-manylinux2014-multipython" ,
18
+ "-x" ,
19
+ "-e" ,
20
+ ".github/workflows/build.bazel.sh" ,
21
+ "python3.9" ,
22
+ ],
23
+ stdout = subprocess .PIPE ,
24
+ stderr = subprocess .STDOUT ,
25
+ ) as process :
26
+ for line in process .stdout :
27
+ print (line .decode ().translate (dict .fromkeys (range (32 ))).strip ())
Original file line number Diff line number Diff line change @@ -307,7 +307,9 @@ jobs:
307
307
if [[ "${{ env.EVENT_NAME }}" == "push" && "${{ env.REPO_NAME }}" == "tensorflow/io" ]]; then
308
308
export BAZEL_OPTIMIZATION="$BAZEL_OPTIMIZATION --remote_upload_local_results=true --google_credentials=service_account_creds.json"
309
309
fi
310
- docker run -e TF_PYTHON_VERSION=3.9 -v $PWD:/v -w /v --net=host quay.io/pypa/manylinux2014_x86_64 bash -x .github/workflows/build.bazel.sh python3.9
310
+ #docker run -e TF_PYTHON_VERSION=3.9 -v $PWD:/v -w /v --net=host quay.io/pypa/manylinux2014_x86_64 bash -x .github/workflows/build.bazel.sh python3.9
311
+ #docker run -e TF_PYTHON_VERSION=3.9 -v $PWD:/v -w /v --net=host --entrypoint=/bin/bash gcr.io/tensorflow-testing/nosla-cuda12.0.1-cudnn8.8-ubuntu20.04-manylinux2014-multipython -x -e .github/workflows/build.bazel.sh python3.9
312
+ python3 .github/workflows/build.py
311
313
sudo cp .bazelrc build/tensorflow_io/
312
314
sudo chown -R $(id -nu):$(id -ng) .
313
315
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
You can’t perform that action at this time.
0 commit comments