From 740dd16066dbdd370035c4543cf251922844339f Mon Sep 17 00:00:00 2001 From: Shaowei Song <1498430017@qq.com> Date: Fri, 22 Jul 2022 16:07:56 +0800 Subject: [PATCH] [hw_ci] Disable download source change --- .github/workflows/hw_mode_test.yml | 90 +++++++++++++++--------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/workflows/hw_mode_test.yml b/.github/workflows/hw_mode_test.yml index 361f157f..e1bbd6d8 100644 --- a/.github/workflows/hw_mode_test.yml +++ b/.github/workflows/hw_mode_test.yml @@ -423,15 +423,15 @@ jobs: with: container-name: $python_musl_support_test - - name: Configure dependency source - run: | - docker exec $python_musl_support_test bash -c "cat <<- EOF >/root/.cargo/config - [source.crates-io] - registry = \"https://github.com/rust-lang/crates.io-index\" - replace-with = 'tuna' - [source.tuna] - registry = \"https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git\" - EOF" + # - name: Configure dependency source + # run: | + # docker exec $python_musl_support_test bash -c "cat <<- EOF >/root/.cargo/config + # [source.crates-io] + # registry = \"https://github.com/rust-lang/crates.io-index\" + # replace-with = 'tuna' + # [source.tuna] + # registry = \"https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git\" + # EOF" - name: Build dependencies run: docker exec $python_musl_support_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule" @@ -492,15 +492,15 @@ jobs: with: container-name: $openvino_test - - name: Configure dependency source - run: | - docker exec $openvino_test 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" + # - name: Configure dependency source + # run: | + # docker exec $openvino_test 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" - name: Build dependencies run: docker exec $openvino_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule" @@ -558,15 +558,15 @@ jobs: with: container-name: $grpc_test - - name: Change download source of crates.io - run: | - docker exec $grpc_test 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" + # - name: Change download source of crates.io + # run: | + # docker exec $grpc_test 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" - name: Build dependencies run: docker exec $grpc_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule" @@ -646,15 +646,15 @@ jobs: with: container-name: $gvisor_test - - name: Change download source of crates.io - run: | - docker exec $gvisor_test 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" + # - name: Change download source of crates.io + # run: | + # docker exec $gvisor_test 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" - name: Build dependencies run: docker exec $gvisor_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule" @@ -792,15 +792,15 @@ jobs: with: container-name: $tf_serving_test - - name: Change download source of crates.io - run: | - docker exec $tf_serving_test 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" + # - name: Change download source of crates.io + # run: | + # docker exec $tf_serving_test 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" - name: Build dependencies run: docker exec $tf_serving_test bash -c "cd /root/occlum; make submodule"