Update PCCS server in HW test
This commit is contained in:
		
							parent
							
								
									d52d9eddb8
								
							
						
					
					
						commit
						d9744bf971
					
				
							
								
								
									
										5
									
								
								.github/workflows/hw_mode_test.yml
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										5
									
								
								.github/workflows/hw_mode_test.yml
									
									
									
									
										vendored
									
									
								
							| @ -51,6 +51,9 @@ jobs: | |||||||
|         fi; |         fi; | ||||||
|         echo "occlum_test=$occlum_test" >> $GITHUB_ENV |         echo "occlum_test=$occlum_test" >> $GITHUB_ENV | ||||||
| 
 | 
 | ||||||
|  |     - name: Update PCCS server | ||||||
|  |       run: docker exec $occlum_test 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" | ||||||
|  | 
 | ||||||
|     - name: Change download source of crates.io |     - name: Change download source of crates.io | ||||||
|       run: | |       run: | | ||||||
|         docker exec $occlum_test bash -c "cat <<- EOF >/root/.cargo/config |         docker exec $occlum_test bash -c "cat <<- EOF >/root/.cargo/config | ||||||
| @ -122,6 +125,8 @@ jobs: | |||||||
|         fi; |         fi; | ||||||
|         echo "occlum_test=$occlum_test" >> $GITHUB_ENV |         echo "occlum_test=$occlum_test" >> $GITHUB_ENV | ||||||
| 
 | 
 | ||||||
|  |     - name: Update PCCS server | ||||||
|  |       run: docker exec $occlum_test 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" | ||||||
| 
 | 
 | ||||||
|     - name: Change download source of crates.io |     - name: Change download source of crates.io | ||||||
|       run: | |       run: | | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user