[ci] Update pccs configuration
This commit is contained in:
		
							parent
							
								
									23737236ed
								
							
						
					
					
						commit
						b283b07219
					
				| @ -40,7 +40,8 @@ runs: | ||||
|       shell: bash | ||||
| 
 | ||||
|     - name: Update PCCS server | ||||
|       run: docker exec ${{ env.CONTAINER_NAME }} bash -c "sed -r -i 's/PCCS_URL=https:\/\/localhost:8081\/sgx\/certification\/v3\//PCCS_URL=https:\/\/sgx-dcap-server.cn-shanghai.aliyuncs.com\/sgx\/certification\/v3\//g' /etc/sgx_default_qcnl.conf" | ||||
|       run: | | ||||
|         docker exec ${{ env.CONTAINER_NAME }} bash -c "sed -r -i 's/\"pccs_url\": \"https:\/\/localhost:8081\/sgx\/certification\/v3\/\"/\"pccs_url\": \"https:\/\/sgx-dcap-server.cn-shanghai.aliyuncs.com\/sgx\/certification\/v3\/\"/g' /etc/sgx_default_qcnl.conf" | ||||
|       shell: bash | ||||
| 
 | ||||
|     # - name: Change download source of crates.io | ||||
|  | ||||
| @ -9,6 +9,6 @@ else | ||||
| fi | ||||
| 
 | ||||
| pip3 install --upgrade pip | ||||
| pip3 install --upgrade tensorflow==2.4 | ||||
| pip3 install --upgrade tensorflow==2.4 protobuf==3.19.2 | ||||
| ./download_model.sh | ||||
| python3 ./model_graph_to_saved_model.py --import_path ./models/resnet50-v15-fp32/resnet50-v15-fp32.pb --export_dir ./resnet50-v15-fp32 --model_version 1 --inputs input --outputs predict | ||||
|  | ||||
| @ -10,7 +10,7 @@ COPY --from=binary_build /root/tensorflow_model_server /root/tensorflow_model_se | ||||
| 
 | ||||
| ARG OCCLUM_BRANCH | ||||
| RUN apt-get update && apt-get install git && \ | ||||
|     git clone -b $OCCLUM_BRANCH git://github.com/occlum/occlum.git && \ | ||||
|     git clone -b $OCCLUM_BRANCH https://github.com/occlum/occlum.git && \ | ||||
|     cd occlum && \ | ||||
|     cd demos/tensorflow/tensorflow_serving && \ | ||||
|     ./prepare_model_and_env.sh && \ | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user