[CICD]add noattest bigdata toolkit image (#7968)
This commit is contained in:
parent
a6f96521af
commit
13717ee5c8
2 changed files with 96 additions and 0 deletions
48
.github/workflows/manually_build.yml
vendored
48
.github/workflows/manually_build.yml
vendored
|
|
@ -850,6 +850,54 @@ jobs:
|
||||||
cd custom-image
|
cd custom-image
|
||||||
openssl genrsa -3 -out enclave-key.pem 3072
|
openssl genrsa -3 -out enclave-key.pem 3072
|
||||||
|
|
||||||
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-noattest-16g
|
||||||
|
sudo docker build \
|
||||||
|
--no-cache=true \
|
||||||
|
--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=error \
|
||||||
|
--build-arg no_proxy=${NO_PROXY} \
|
||||||
|
--build-arg ENABLE_DCAP_ATTESTATION=false \
|
||||||
|
-t ${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-noattest-8g
|
||||||
|
sudo docker build \
|
||||||
|
--no-cache=true \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=8g \
|
||||||
|
--build-arg SGX_LOG_LEVEL=error \
|
||||||
|
--build-arg no_proxy=${NO_PROXY} \
|
||||||
|
--build-arg ENABLE_DCAP_ATTESTATION=false \
|
||||||
|
-t ${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-noattest-4g
|
||||||
|
sudo docker build \
|
||||||
|
--no-cache=true \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=4g \
|
||||||
|
--build-arg SGX_LOG_LEVEL=error \
|
||||||
|
--build-arg no_proxy=${NO_PROXY} \
|
||||||
|
--build-arg ENABLE_DCAP_ATTESTATION=false \
|
||||||
|
-t ${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-16g
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-16g
|
||||||
sudo docker build \
|
sudo docker build \
|
||||||
--no-cache=true \
|
--no-cache=true \
|
||||||
|
|
|
||||||
48
.github/workflows/manually_build_for_testing.yml
vendored
48
.github/workflows/manually_build_for_testing.yml
vendored
|
|
@ -738,6 +738,54 @@ jobs:
|
||||||
cd custom-image
|
cd custom-image
|
||||||
openssl genrsa -3 -out enclave-key.pem 3072
|
openssl genrsa -3 -out enclave-key.pem 3072
|
||||||
|
|
||||||
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-noattest-16g
|
||||||
|
sudo docker build \
|
||||||
|
--no-cache=true \
|
||||||
|
--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=error \
|
||||||
|
--build-arg no_proxy=${NO_PROXY} \
|
||||||
|
--build-arg ENABLE_DCAP_ATTESTATION=false \
|
||||||
|
-t ${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-noattest-8g
|
||||||
|
sudo docker build \
|
||||||
|
--no-cache=true \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=8g \
|
||||||
|
--build-arg SGX_LOG_LEVEL=error \
|
||||||
|
--build-arg no_proxy=${NO_PROXY} \
|
||||||
|
--build-arg ENABLE_DCAP_ATTESTATION=false \
|
||||||
|
-t ${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-noattest-4g
|
||||||
|
sudo docker build \
|
||||||
|
--no-cache=true \
|
||||||
|
--build-arg BASE_IMAGE_NAME=${bigdata_base_image} \
|
||||||
|
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||||
|
--build-arg SGX_MEM_SIZE=4g \
|
||||||
|
--build-arg SGX_LOG_LEVEL=error \
|
||||||
|
--build-arg no_proxy=${NO_PROXY} \
|
||||||
|
--build-arg ENABLE_DCAP_ATTESTATION=false \
|
||||||
|
-t ${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-16g
|
export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-16g
|
||||||
sudo docker build \
|
sudo docker build \
|
||||||
--no-cache=true \
|
--no-cache=true \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue