mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-09 03:17:52 +00:00
fix(deploy): tolerate delayed HK web readiness
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
This commit is contained in:
parent
aa1e2cf455
commit
7ce5b73b71
1 changed files with 2 additions and 4 deletions
|
|
@ -137,15 +137,13 @@ run_url="${5:-}"
|
|||
public_url="${6:-}"
|
||||
web_base_path="${7:-}"
|
||||
|
||||
set +e
|
||||
deploy_status=0
|
||||
sudo /usr/local/bin/skillhub-test-deploy \
|
||||
--deploy-tag "${deploy_tag}" \
|
||||
--immutable-tag "${immutable_tag}" \
|
||||
--merged-sha "${merged_sha}" \
|
||||
--pr-csv "${pr_csv}" \
|
||||
--run-url "${run_url}"
|
||||
deploy_status=$?
|
||||
set -e
|
||||
--run-url "${run_url}" || deploy_status=$?
|
||||
|
||||
if [[ ! -r /opt/skillhub-runtime/manual-test-deployment.txt ]] || \
|
||||
! grep -Fq "deploy_tag=${deploy_tag}" /opt/skillhub-runtime/manual-test-deployment.txt || \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue