Fix SGX SDK version for package related tests
This commit is contained in:
		
							parent
							
								
									8d85249116
								
							
						
					
					
						commit
						2af05238be
					
				| @ -169,7 +169,7 @@ jobs: | |||||||
|       run: echo "OCCLUM_VERSION=${{needs.Package_repository_setup_and_test.outputs.occlum_version}}" >> $GITHUB_ENV |       run: echo "OCCLUM_VERSION=${{needs.Package_repository_setup_and_test.outputs.occlum_version}}" >> $GITHUB_ENV | ||||||
| 
 | 
 | ||||||
|     - name: Install sgx dependencies |     - name: Install sgx dependencies | ||||||
|       run: docker exec centos bash -c "yum install -y wget yum-utils make jq gdb; cd /root && wget https://download.01.org/intel-sgx/sgx-linux/2.13.3/distro/centos8.2-server/sgx_rpm_local_repo.tgz; |       run: docker exec centos bash -c "yum install -y wget yum-utils make jq gdb; cd /root && wget https://download.01.org/intel-sgx/sgx-linux/2.14/distro/centos8.2-server/sgx_rpm_local_repo.tgz; | ||||||
|         tar -xvzf sgx_rpm_local_repo.tgz; yum-config-manager --add-repo file:///root/sgx_rpm_local_repo; yum --nogpgcheck install -y libsgx-dcap-ql libsgx-epid libsgx-urts; |         tar -xvzf sgx_rpm_local_repo.tgz; yum-config-manager --add-repo file:///root/sgx_rpm_local_repo; yum --nogpgcheck install -y libsgx-dcap-ql libsgx-epid libsgx-urts; | ||||||
|         yum --nogpgcheck install -y libsgx-quote-ex; rpm -i /root/sgx_rpm_local_repo/libsgx-uae-service-*.rpm || true" |         yum --nogpgcheck install -y libsgx-quote-ex; rpm -i /root/sgx_rpm_local_repo/libsgx-uae-service-*.rpm || true" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -4,7 +4,7 @@ | |||||||
| FROM centos:8.2.2004 as base | FROM centos:8.2.2004 as base | ||||||
| LABEL maintainer="Chunyang Hui <sanqian.hcy@antgroup.com>" | LABEL maintainer="Chunyang Hui <sanqian.hcy@antgroup.com>" | ||||||
| 
 | 
 | ||||||
| ADD https://download.01.org/intel-sgx/sgx-linux/2.13.3/distro/centos8.2-server/sgx_rpm_local_repo.tgz /tmp/ | ADD https://download.01.org/intel-sgx/sgx-linux/2.14/distro/centos8.2-server/sgx_rpm_local_repo.tgz /tmp/ | ||||||
| RUN cd /tmp && tar -xvzf sgx_rpm_local_repo.tgz && \ | RUN cd /tmp && tar -xvzf sgx_rpm_local_repo.tgz && \ | ||||||
|     yum install -y jq yum-utils && \ |     yum install -y jq yum-utils && \ | ||||||
|     yum-config-manager --add-repo file:///tmp/sgx_rpm_local_repo && \ |     yum-config-manager --add-repo file:///tmp/sgx_rpm_local_repo && \ | ||||||
|  | |||||||
| @ -114,5 +114,6 @@ The matrix below shows the version compatability since Occlum `0.16.0`. Please c | |||||||
| |     0.20.0      |       2.11        |        18.04        |         8.1         | | |     0.20.0      |       2.11        |        18.04        |         8.1         | | ||||||
| |     0.21.0      |       2.13        |        18.04        |         8.2         | | |     0.21.0      |       2.13        |        18.04        |         8.2         | | ||||||
| |     0.23.1      |       2.13.3      |        18.04        |         8.2         | | |     0.23.1      |       2.13.3      |        18.04        |         8.2         | | ||||||
|  | |     0.24.1      |       2.14        |        18.04        |         8.2         | | ||||||
| 
 | 
 | ||||||
| For more information about the packages, please checkout [here](../tools/installer/README.md). | For more information about the packages, please checkout [here](../tools/installer/README.md). | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user