[PPML]tag 8g epc bigdata as default image (#7789)
* build 4g and tag 8g as latest * reduce script memory * doc
This commit is contained in:
		
							parent
							
								
									e5e5c06863
								
							
						
					
					
						commit
						57125dfcd4
					
				
					 2 changed files with 60 additions and 4 deletions
				
			
		
							
								
								
									
										36
									
								
								.github/workflows/manually_build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										36
									
								
								.github/workflows/manually_build.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -862,10 +862,6 @@ 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 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-8g
 | 
			
		||||
| 
						 | 
				
			
			@ -880,6 +876,24 @@ 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 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-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 \
 | 
			
		||||
          -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-16g-all
 | 
			
		||||
| 
						 | 
				
			
			@ -910,5 +924,19 @@ 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-4g-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=4G \
 | 
			
		||||
          --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}
 | 
			
		||||
 | 
			
		||||
        sudo docker rmi -f ${base_image}:${TAG}
 | 
			
		||||
        sudo docker rmi -f ${bigdata_base_image}:${TAG} 10.239.45.10/arda/${bigdata_base_image}:${TAG}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										28
									
								
								.github/workflows/manually_build_for_testing.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/manually_build_for_testing.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -766,6 +766,20 @@ 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-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 \
 | 
			
		||||
          -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-16g-all
 | 
			
		||||
        sudo docker build \
 | 
			
		||||
          --no-cache=true \
 | 
			
		||||
| 
						 | 
				
			
			@ -794,5 +808,19 @@ 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-4g-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=4G \
 | 
			
		||||
          --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}
 | 
			
		||||
 | 
			
		||||
        sudo docker rmi -f ${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