From d9744bf971b44476da054f7b23474720c8221cf7 Mon Sep 17 00:00:00 2001 From: "zongmin.gu" Date: Thu, 9 Sep 2021 11:37:03 +0800 Subject: [PATCH] Update PCCS server in HW test --- .github/workflows/hw_mode_test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/hw_mode_test.yml b/.github/workflows/hw_mode_test.yml index ae15aceb..7d024720 100644 --- a/.github/workflows/hw_mode_test.yml +++ b/.github/workflows/hw_mode_test.yml @@ -51,6 +51,9 @@ jobs: fi; 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 run: | docker exec $occlum_test bash -c "cat <<- EOF >/root/.cargo/config @@ -122,6 +125,8 @@ jobs: fi; 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 run: |