From f704604e36ee2a0f0051d8623da69ed35664059a Mon Sep 17 00:00:00 2001 From: Shaowei Song <1498430017@qq.com> Date: Thu, 23 Jun 2022 15:13:52 +0800 Subject: [PATCH] [hw_ci] Disable proxy and ustc crates-io source on new machine --- .../workflows/composite_action/hw/action.yml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/composite_action/hw/action.yml b/.github/workflows/composite_action/hw/action.yml index c3b9712a..0fde0944 100644 --- a/.github/workflows/composite_action/hw/action.yml +++ b/.github/workflows/composite_action/hw/action.yml @@ -43,22 +43,22 @@ runs: 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-shanghai.aliyuncs.com\/sgx\/certification\/v3\//g' /etc/sgx_default_qcnl.conf" shell: bash - - name: Change download source of crates.io - run: | - docker exec ${{ env.CONTAINER_NAME }} bash -c "cat <<- EOF >/root/.cargo/config - [source.crates-io] - registry = \"https://github.com/rust-lang/crates.io-index\" - replace-with = 'ustc' - [source.ustc] - registry = \"git://mirrors.ustc.edu.cn/crates.io-index\" - EOF" - shell: bash + # - name: Change download source of crates.io + # run: | + # docker exec ${{ env.CONTAINER_NAME }} bash -c "cat <<- EOF >/root/.cargo/config + # [source.crates-io] + # registry = \"https://github.com/rust-lang/crates.io-index\" + # replace-with = 'ustc' + # [source.ustc] + # registry = \"git://mirrors.ustc.edu.cn/crates.io-index\" + # EOF" + # shell: bash - - name: Config git proxy - run: | - docker exec ${{ env.CONTAINER_NAME }} bash -c "git config --global http.proxy socks5://localhost:5432" - docker exec ${{ env.CONTAINER_NAME }} bash -c "git config --global https.proxy socks5://localhost:5432" - shell: bash + # - name: Config git proxy + # run: | + # docker exec ${{ env.CONTAINER_NAME }} bash -c "git config --global http.proxy socks5://localhost:5432" + # docker exec ${{ env.CONTAINER_NAME }} bash -c "git config --global https.proxy socks5://localhost:5432" + # shell: bash - uses: ./.github/workflows/composite_action/prebuild with: