Fix DCAP related CI failure

This commit is contained in:
Hui, Chunyang 2023-09-18 09:29:40 +00:00 committed by volcano
parent b7d23c4203
commit 75dea2d43c
2 changed files with 3 additions and 2 deletions

@ -48,9 +48,10 @@ runs:
fi;
shell: bash
# The pccs_url must be v3
- 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-hongkong.aliyuncs.com\/sgx\/certification\/v3\/\"/g' /etc/sgx_default_qcnl.conf"
docker exec ${{ env.CONTAINER_NAME }} bash -c "sed -r -i 's/\"pccs_url\": \"https:\/\/localhost:8081\/sgx\/certification\/v4\/\"/\"pccs_url\": \"https:\/\/sgx-dcap-server.cn-hongkong.aliyuncs.com\/sgx\/certification\/v3\/\"/g' /etc/sgx_default_qcnl.conf"
shell: bash
# - name: Change download source of crates.io

@ -42,4 +42,4 @@ runs:
- name: Remove occlum installation package
run: docker exec ${{ inputs.container-name }} bash -c "cd /root/occlum; rm -rf ./build; rm -rf ./src; rm -rf ./deps"
shell: bash
shell: bash