[hw_ci] Disable download source change
This commit is contained in:
parent
fc0f913940
commit
740dd16066
90
.github/workflows/hw_mode_test.yml
vendored
90
.github/workflows/hw_mode_test.yml
vendored
@ -423,15 +423,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
container-name: $python_musl_support_test
|
container-name: $python_musl_support_test
|
||||||
|
|
||||||
- name: Configure dependency source
|
# - name: Configure dependency source
|
||||||
run: |
|
# run: |
|
||||||
docker exec $python_musl_support_test bash -c "cat <<- EOF >/root/.cargo/config
|
# docker exec $python_musl_support_test bash -c "cat <<- EOF >/root/.cargo/config
|
||||||
[source.crates-io]
|
# [source.crates-io]
|
||||||
registry = \"https://github.com/rust-lang/crates.io-index\"
|
# registry = \"https://github.com/rust-lang/crates.io-index\"
|
||||||
replace-with = 'tuna'
|
# replace-with = 'tuna'
|
||||||
[source.tuna]
|
# [source.tuna]
|
||||||
registry = \"https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git\"
|
# registry = \"https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git\"
|
||||||
EOF"
|
# EOF"
|
||||||
|
|
||||||
- name: Build dependencies
|
- name: Build dependencies
|
||||||
run: docker exec $python_musl_support_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule"
|
run: docker exec $python_musl_support_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule"
|
||||||
@ -492,15 +492,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
container-name: $openvino_test
|
container-name: $openvino_test
|
||||||
|
|
||||||
- name: Configure dependency source
|
# - name: Configure dependency source
|
||||||
run: |
|
# run: |
|
||||||
docker exec $openvino_test bash -c "cat <<- EOF >/root/.cargo/config
|
# docker exec $openvino_test bash -c "cat <<- EOF >/root/.cargo/config
|
||||||
[source.crates-io]
|
# [source.crates-io]
|
||||||
registry = \"https://github.com/rust-lang/crates.io-index\"
|
# registry = \"https://github.com/rust-lang/crates.io-index\"
|
||||||
replace-with = 'ustc'
|
# replace-with = 'ustc'
|
||||||
[source.ustc]
|
# [source.ustc]
|
||||||
registry = \"git://mirrors.ustc.edu.cn/crates.io-index\"
|
# registry = \"git://mirrors.ustc.edu.cn/crates.io-index\"
|
||||||
EOF"
|
# EOF"
|
||||||
|
|
||||||
- name: Build dependencies
|
- name: Build dependencies
|
||||||
run: docker exec $openvino_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule"
|
run: docker exec $openvino_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule"
|
||||||
@ -558,15 +558,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
container-name: $grpc_test
|
container-name: $grpc_test
|
||||||
|
|
||||||
- name: Change download source of crates.io
|
# - name: Change download source of crates.io
|
||||||
run: |
|
# run: |
|
||||||
docker exec $grpc_test bash -c "cat <<- EOF >/root/.cargo/config
|
# docker exec $grpc_test bash -c "cat <<- EOF >/root/.cargo/config
|
||||||
[source.crates-io]
|
# [source.crates-io]
|
||||||
registry = \"https://github.com/rust-lang/crates.io-index\"
|
# registry = \"https://github.com/rust-lang/crates.io-index\"
|
||||||
replace-with = 'ustc'
|
# replace-with = 'ustc'
|
||||||
[source.ustc]
|
# [source.ustc]
|
||||||
registry = \"git://mirrors.ustc.edu.cn/crates.io-index\"
|
# registry = \"git://mirrors.ustc.edu.cn/crates.io-index\"
|
||||||
EOF"
|
# EOF"
|
||||||
|
|
||||||
- name: Build dependencies
|
- name: Build dependencies
|
||||||
run: docker exec $grpc_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule"
|
run: docker exec $grpc_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule"
|
||||||
@ -646,15 +646,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
container-name: $gvisor_test
|
container-name: $gvisor_test
|
||||||
|
|
||||||
- name: Change download source of crates.io
|
# - name: Change download source of crates.io
|
||||||
run: |
|
# run: |
|
||||||
docker exec $gvisor_test bash -c "cat <<- EOF >/root/.cargo/config
|
# docker exec $gvisor_test bash -c "cat <<- EOF >/root/.cargo/config
|
||||||
[source.crates-io]
|
# [source.crates-io]
|
||||||
registry = \"https://github.com/rust-lang/crates.io-index\"
|
# registry = \"https://github.com/rust-lang/crates.io-index\"
|
||||||
replace-with = 'ustc'
|
# replace-with = 'ustc'
|
||||||
[source.ustc]
|
# [source.ustc]
|
||||||
registry = \"git://mirrors.ustc.edu.cn/crates.io-index\"
|
# registry = \"git://mirrors.ustc.edu.cn/crates.io-index\"
|
||||||
EOF"
|
# EOF"
|
||||||
|
|
||||||
- name: Build dependencies
|
- name: Build dependencies
|
||||||
run: docker exec $gvisor_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule"
|
run: docker exec $gvisor_test bash -c "cargo uninstall sccache || true; cd /root/occlum; make submodule"
|
||||||
@ -792,15 +792,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
container-name: $tf_serving_test
|
container-name: $tf_serving_test
|
||||||
|
|
||||||
- name: Change download source of crates.io
|
# - name: Change download source of crates.io
|
||||||
run: |
|
# run: |
|
||||||
docker exec $tf_serving_test bash -c "cat <<- EOF >/root/.cargo/config
|
# docker exec $tf_serving_test bash -c "cat <<- EOF >/root/.cargo/config
|
||||||
[source.crates-io]
|
# [source.crates-io]
|
||||||
registry = \"https://github.com/rust-lang/crates.io-index\"
|
# registry = \"https://github.com/rust-lang/crates.io-index\"
|
||||||
replace-with = 'ustc'
|
# replace-with = 'ustc'
|
||||||
[source.ustc]
|
# [source.ustc]
|
||||||
registry = \"git://mirrors.ustc.edu.cn/crates.io-index\"
|
# registry = \"git://mirrors.ustc.edu.cn/crates.io-index\"
|
||||||
EOF"
|
# EOF"
|
||||||
|
|
||||||
- name: Build dependencies
|
- name: Build dependencies
|
||||||
run: docker exec $tf_serving_test bash -c "cd /root/occlum; make submodule"
|
run: docker exec $tf_serving_test bash -c "cd /root/occlum; make submodule"
|
||||||
|
Loading…
Reference in New Issue
Block a user