ci(release): keep focused validation reruns independent · openclaw/openclaw@624d920
steipete
·
2026-05-21
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -962,29 +962,46 @@ jobs:
|
962 | 962 | } |
963 | 963 | |
964 | 964 | failed=0 |
965 | | - required_after_preflight=1 |
| 965 | + normal_ci_required=0 |
| 966 | + plugin_prerelease_required=0 |
| 967 | + release_checks_required=0 |
966 | 968 | if [[ "$RERUN_GROUP" == "all" && "$DOCKER_RUNTIME_ASSETS_PREFLIGHT_RESULT" != "success" ]]; then |
967 | 969 | echo "::error::Docker runtime-assets preflight ended with ${DOCKER_RUNTIME_ASSETS_PREFLIGHT_RESULT}." |
968 | 970 | failed=1 |
969 | | - required_after_preflight=0 |
| 971 | + elif [[ "$RERUN_GROUP" == "all" ]]; then |
| 972 | + normal_ci_required=1 |
| 973 | + plugin_prerelease_required=1 |
| 974 | + release_checks_required=1 |
| 975 | + else |
| 976 | + case "$RERUN_GROUP" in |
| 977 | + ci) |
| 978 | + normal_ci_required=1 |
| 979 | + ;; |
| 980 | + plugin-prerelease) |
| 981 | + plugin_prerelease_required=1 |
| 982 | + ;; |
| 983 | + release-checks|install-smoke|cross-os|live-e2e|package|qa|qa-parity|qa-live) |
| 984 | + release_checks_required=1 |
| 985 | + ;; |
| 986 | + esac |
970 | 987 | fi |
971 | 988 | |
972 | 989 | append_child_overview |
973 | 990 | |
974 | 991 | if [[ "$NORMAL_CI_RESULT" == "skipped" && -z "${NORMAL_CI_RUN_ID// }" ]]; then |
975 | | - check_child "normal_ci" "" "$required_after_preflight" || failed=1 |
| 992 | + check_child "normal_ci" "" "$normal_ci_required" || failed=1 |
976 | 993 | else |
977 | 994 | check_child "normal_ci" "$NORMAL_CI_RUN_ID" 1 || failed=1 |
978 | 995 | fi |
979 | 996 | |
980 | 997 | if [[ "$PLUGIN_PRERELEASE_RESULT" == "skipped" && -z "${PLUGIN_PRERELEASE_RUN_ID// }" ]]; then |
981 | | - check_child "plugin_prerelease" "" "$required_after_preflight" || failed=1 |
| 998 | + check_child "plugin_prerelease" "" "$plugin_prerelease_required" || failed=1 |
982 | 999 | else |
983 | 1000 | check_child "plugin_prerelease" "$PLUGIN_PRERELEASE_RUN_ID" 1 || failed=1 |
984 | 1001 | fi |
985 | 1002 | |
986 | 1003 | if [[ "$RELEASE_CHECKS_RESULT" == "skipped" && -z "${RELEASE_CHECKS_RUN_ID// }" ]]; then |
987 | | - check_child "release_checks" "" "$required_after_preflight" || failed=1 |
| 1004 | + check_child "release_checks" "" "$release_checks_required" || failed=1 |
988 | 1005 | else |
989 | 1006 | check_child "release_checks" "$RELEASE_CHECKS_RUN_ID" 1 || failed=1 |
990 | 1007 | fi |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -766,6 +766,8 @@ describe("package artifact reuse", () => {
|
766 | 766 | '-f rerun_group="$child_rerun_group"', |
767 | 767 | 'args+=(-f live_suite_filter="$LIVE_SUITE_FILTER")', |
768 | 768 | 'args+=(-f cross_os_suite_filter="$CROSS_OS_SUITE_FILTER")', |
| 769 | +'case "$RERUN_GROUP" in', |
| 770 | +"release-checks|install-smoke|cross-os|live-e2e|package|qa|qa-parity|qa-live)", |
769 | 771 | "cancel-in-progress: ${{ (inputs.ref == 'main' && inputs.rerun_group == 'all') || startsWith(inputs.ref, 'tideclaw/alpha/') }}", |
770 | 772 | "gh run cancel", |
771 | 773 | "NORMAL_CI_RESULT: ${{ needs.normal_ci.result }}", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。