mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
perf(release): shorten full validation evidence collection (#134694)
This commit is contained in:
parent
e57e09fe36
commit
59976298ff
9 changed files with 714 additions and 227 deletions
|
|
@ -237,6 +237,13 @@ if [[ "$run_count" == "0" ]]; then
|
|||
no_reuse "no prior successful validation runs"
|
||||
fi
|
||||
|
||||
reuse_request="$(jq -nc \
|
||||
--arg targetSha "$TARGET_SHA" \
|
||||
--arg releaseProfile "$RELEASE_PROFILE" \
|
||||
--arg runReleaseSoak "$RUN_RELEASE_SOAK" \
|
||||
--argjson validationInputs "$expected_inputs" \
|
||||
'{targetSha: $targetSha, releaseProfile: $releaseProfile, runReleaseSoak: $runReleaseSoak, validationInputs: $validationInputs}')"
|
||||
|
||||
for ((index = 0; index < run_count; index += 1)); do
|
||||
run_id="$(jq -r ".[${index}].id" <<< "$runs_json")"
|
||||
validation_record=""
|
||||
|
|
@ -244,6 +251,7 @@ for ((index = 0; index < run_count; index += 1)); do
|
|||
node "$VALIDATOR" \
|
||||
--validate-run "$run_id" \
|
||||
--repo "$REPO" \
|
||||
--reuse-request-json "$reuse_request" \
|
||||
--trusted-workflow-ref "$TRUSTED_WORKFLOW_REF" \
|
||||
--trusted-workflow-full-ref "$TRUSTED_WORKFLOW_FULL_REF" \
|
||||
--trusted-workflow-sha "$TRUSTED_WORKFLOW_SHA" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue