From 75dea2d43c7b61b2558aec2dbb9ac7fe93297255 Mon Sep 17 00:00:00 2001 From: "Hui, Chunyang" Date: Mon, 18 Sep 2023 09:29:40 +0000 Subject: [PATCH] Fix DCAP related CI failure --- .github/workflows/composite_action/hw/action.yml | 3 ++- .github/workflows/composite_action/sim/action.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/composite_action/hw/action.yml b/.github/workflows/composite_action/hw/action.yml index 52e73403..86005482 100644 --- a/.github/workflows/composite_action/hw/action.yml +++ b/.github/workflows/composite_action/hw/action.yml @@ -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 diff --git a/.github/workflows/composite_action/sim/action.yml b/.github/workflows/composite_action/sim/action.yml index f268500c..d64b66ad 100644 --- a/.github/workflows/composite_action/sim/action.yml +++ b/.github/workflows/composite_action/sim/action.yml @@ -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 \ No newline at end of file + shell: bash