Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/cann_download_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ success "TILEXR_CANN_VER = ${TILEXR_CANN_VER}"

success "start download cann from ${cann_url}"
cd "${TILEXR_TEMP_HOME}" || exit 1
curl --fail --location --continue-at - --remote-name "${cann_url}" \
curl -k --fail --location --continue-at - --remote-name "${cann_url}" \
Comment thread
Kur0x marked this conversation as resolved.
> "${TILEXR_TEMP_HOME}/toolkit.log" 2>&1 &
pid_cann=$!

success "start download ops from ${ops_url}"
curl --fail --location --continue-at - --remote-name "${ops_url}" \
curl -k --fail --location --continue-at - --remote-name "${ops_url}" \
> "${TILEXR_TEMP_HOME}/ops.log" 2>&1 &
pid_ops=$!
cd "${TILEXR_HOME}" || exit 1
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/provision/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fi
release_json="${stage}/release.json"

run install -d -o root -g "${CI_GROUP}" -m 0750 "${stage}"
run env "${proxy_env[@]}" curl --fail --location --silent --show-error \
run env "${proxy_env[@]}" curl -k --fail --location --silent --show-error \
https://api.github.com/repos/actions/runner/releases/latest -o "${release_json}"
Comment thread
Kur0x marked this conversation as resolved.

if [[ "${DRY_RUN}" == 1 ]]; then
Expand Down Expand Up @@ -173,7 +173,7 @@ PY
fi

asset_path="${stage}/${asset_name}"
run env "${proxy_env[@]}" curl --fail --location --silent --show-error \
run env "${proxy_env[@]}" curl -k --fail --location --silent --show-error \
"${asset_url}" -o "${asset_path}"
if [[ "${DRY_RUN}" == 1 ]]; then
run sha256sum --check "${asset_path}.sha256"
Expand Down
2 changes: 1 addition & 1 deletion scripts/download_open_source_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fi

downloader=()
if command -v curl >/dev/null 2>&1; then
downloader=(curl -fL --retry 3 --connect-timeout 20 -o)
downloader=(curl -kfL --retry 3 --connect-timeout 20 -o)
elif command -v wget >/dev/null 2>&1; then
downloader=(wget --tries=3 --timeout=20 -O)
elif [[ ${check_only} -eq 0 ]]; then
Expand Down
Loading