[CICD]add bigdata toolkit with debug log level (#7564)
This commit is contained in:
parent
479042a93a
commit
ec2b9c13ee
2 changed files with 78 additions and 0 deletions
39
.github/workflows/manually_build.yml
vendored
39
.github/workflows/manually_build.yml
vendored
|
|
@ -871,5 +871,44 @@ jobs:
|
||||||
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
|
||||||
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-16g-debug
|
||||||
|
sudo docker build \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=16G \
|
||||||
|
--build-arg SGX_LOG_LEVEL=debug \
|
||||||
|
-t ${bigdata_custom_image}:${TAG} \
|
||||||
|
-f ./Dockerfile .
|
||||||
|
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker tag ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
|
||||||
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-32g-debug
|
||||||
|
sudo docker build \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=32G \
|
||||||
|
--build-arg SGX_LOG_LEVEL=debug \
|
||||||
|
-t ${bigdata_custom_image}:${TAG} \
|
||||||
|
-f ./Dockerfile .
|
||||||
|
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker tag ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
|
||||||
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-64g-debug
|
||||||
|
sudo docker build \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=64G \
|
||||||
|
--build-arg SGX_LOG_LEVEL=debug \
|
||||||
|
-t ${bigdata_custom_image}:${TAG} \
|
||||||
|
-f ./Dockerfile .
|
||||||
|
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker tag ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
|
||||||
sudo docker rmi -f ${base_image}:${TAG}
|
sudo docker rmi -f ${base_image}:${TAG}
|
||||||
sudo docker rmi -f ${bigdata_base_image}:${TAG} 10.239.45.10/arda/${bigdata_base_image}:${TAG}
|
sudo docker rmi -f ${bigdata_base_image}:${TAG} 10.239.45.10/arda/${bigdata_base_image}:${TAG}
|
||||||
|
|
|
||||||
39
.github/workflows/manually_build_for_testing.yml
vendored
39
.github/workflows/manually_build_for_testing.yml
vendored
|
|
@ -752,5 +752,44 @@ jobs:
|
||||||
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
|
||||||
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-16g-debug
|
||||||
|
sudo docker build \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=16G \
|
||||||
|
--build-arg SGX_LOG_LEVEL=debug \
|
||||||
|
-t ${bigdata_custom_image}:${TAG} \
|
||||||
|
-f ./Dockerfile .
|
||||||
|
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker tag ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
|
||||||
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-32g-debug
|
||||||
|
sudo docker build \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=32G \
|
||||||
|
--build-arg SGX_LOG_LEVEL=debug \
|
||||||
|
-t ${bigdata_custom_image}:${TAG} \
|
||||||
|
-f ./Dockerfile .
|
||||||
|
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker tag ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
|
||||||
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-64g-debug
|
||||||
|
sudo docker build \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=64G \
|
||||||
|
--build-arg SGX_LOG_LEVEL=debug \
|
||||||
|
-t ${bigdata_custom_image}:${TAG} \
|
||||||
|
-f ./Dockerfile .
|
||||||
|
sudo docker push ${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker tag ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
|
||||||
|
|
||||||
sudo docker rmi -f ${base_image}:${TAG}
|
sudo docker rmi -f ${base_image}:${TAG}
|
||||||
sudo docker rmi -f ${bigdata_base_image}:${TAG} 10.239.45.10/arda/${bigdata_base_image}:${TAG}
|
sudo docker rmi -f ${bigdata_base_image}:${TAG} 10.239.45.10/arda/${bigdata_base_image}:${TAG}
|
||||||
Loading…
Reference in a new issue