diff --git a/.github/workflows/manually_build.yml b/.github/workflows/manually_build.yml index c3e1dfbd..e9239824 100644 --- a/.github/workflows/manually_build.yml +++ b/.github/workflows/manually_build.yml @@ -862,32 +862,18 @@ jobs: 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 - 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=32G \ - --build-arg SGX_LOG_LEVEL=error \ - -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 tag ${bigdata_custom_image}:${TAG} intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference:latest sudo docker push intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference:latest sudo docker tag ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference:latest sudo docker push 10.239.45.10/arda/intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference:latest 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 + export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-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=64G \ + --build-arg SGX_MEM_SIZE=8G \ --build-arg SGX_LOG_LEVEL=error \ -t ${bigdata_custom_image}:${TAG} \ -f ./Dockerfile . @@ -910,26 +896,12 @@ jobs: 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-all + export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-8g-all 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=32G \ - --build-arg SGX_LOG_LEVEL=all \ - -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-all - 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=64G \ + --build-arg SGX_MEM_SIZE=8G \ --build-arg SGX_LOG_LEVEL=all \ -t ${bigdata_custom_image}:${TAG} \ -f ./Dockerfile . diff --git a/.github/workflows/manually_build_for_testing.yml b/.github/workflows/manually_build_for_testing.yml index ca9110f7..8d6cbae2 100644 --- a/.github/workflows/manually_build_for_testing.yml +++ b/.github/workflows/manually_build_for_testing.yml @@ -752,26 +752,12 @@ jobs: 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 + export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-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=32G \ - --build-arg SGX_LOG_LEVEL=error \ - -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 - 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=64G \ + --build-arg SGX_MEM_SIZE=8G \ --build-arg SGX_LOG_LEVEL=error \ -t ${bigdata_custom_image}:${TAG} \ -f ./Dockerfile . @@ -794,26 +780,12 @@ jobs: 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-all + export bigdata_custom_image=intelanalytics/bigdl-ppml-trusted-bigdata-gramine-reference-8g-all 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=32G \ - --build-arg SGX_LOG_LEVEL=all \ - -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-all - 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=64G \ + --build-arg SGX_MEM_SIZE=8G \ --build-arg SGX_LOG_LEVEL=all \ -t ${bigdata_custom_image}:${TAG} \ -f ./Dockerfile .