mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:30:43 +00:00
test: add update migration package gate
This commit is contained in:
@@ -34,17 +34,17 @@ on:
|
||||
default: 1
|
||||
type: number
|
||||
published_upgrade_survivor_baseline:
|
||||
description: Published OpenClaw package baseline for the published-upgrade-survivor Docker lane
|
||||
description: Published OpenClaw package baseline for the published-upgrade-survivor/update-migration Docker lane
|
||||
required: false
|
||||
default: openclaw@latest
|
||||
type: string
|
||||
published_upgrade_survivor_baselines:
|
||||
description: Optional exact baseline list for published-upgrade-survivor lane expansion
|
||||
description: Optional exact baseline list for published-upgrade-survivor/update-migration lane expansion
|
||||
required: false
|
||||
default: ""
|
||||
type: string
|
||||
published_upgrade_survivor_scenarios:
|
||||
description: Optional scenario list for published-upgrade-survivor lane expansion
|
||||
description: Optional scenario list for published-upgrade-survivor/update-migration lane expansion
|
||||
required: false
|
||||
default: ""
|
||||
type: string
|
||||
@@ -129,17 +129,17 @@ on:
|
||||
default: 1
|
||||
type: number
|
||||
published_upgrade_survivor_baseline:
|
||||
description: Published OpenClaw package baseline for the published-upgrade-survivor Docker lane
|
||||
description: Published OpenClaw package baseline for the published-upgrade-survivor/update-migration Docker lane
|
||||
required: false
|
||||
default: openclaw@latest
|
||||
type: string
|
||||
published_upgrade_survivor_baselines:
|
||||
description: Optional exact baseline list for published-upgrade-survivor lane expansion
|
||||
description: Optional exact baseline list for published-upgrade-survivor/update-migration lane expansion
|
||||
required: false
|
||||
default: ""
|
||||
type: string
|
||||
published_upgrade_survivor_scenarios:
|
||||
description: Optional scenario list for published-upgrade-survivor lane expansion
|
||||
description: Optional scenario list for published-upgrade-survivor/update-migration lane expansion
|
||||
required: false
|
||||
default: ""
|
||||
type: string
|
||||
|
||||
10
.github/workflows/package-acceptance.yml
vendored
10
.github/workflows/package-acceptance.yml
vendored
@@ -70,12 +70,12 @@ on:
|
||||
default: openclaw@latest
|
||||
type: string
|
||||
published_upgrade_survivor_baselines:
|
||||
description: Optional baseline list for published-upgrade-survivor; use release-history for last 6 plus key legacy releases
|
||||
description: Optional baseline list for published-upgrade-survivor/update-migration; use release-history or all-since-2026.4.23
|
||||
required: false
|
||||
default: ""
|
||||
type: string
|
||||
published_upgrade_survivor_scenarios:
|
||||
description: Optional scenario list for published-upgrade-survivor; use reported-issues for known upgrade failure shapes
|
||||
description: Optional scenario list for published-upgrade-survivor/update-migration; use reported-issues for known upgrade failure shapes
|
||||
required: false
|
||||
default: ""
|
||||
type: string
|
||||
@@ -150,12 +150,12 @@ on:
|
||||
default: openclaw@latest
|
||||
type: string
|
||||
published_upgrade_survivor_baselines:
|
||||
description: Optional baseline list for published-upgrade-survivor; use release-history for last 6 plus key legacy releases
|
||||
description: Optional baseline list for published-upgrade-survivor/update-migration; use release-history or all-since-2026.4.23
|
||||
required: false
|
||||
default: ""
|
||||
type: string
|
||||
published_upgrade_survivor_scenarios:
|
||||
description: Optional scenario list for published-upgrade-survivor; use reported-issues for known upgrade failure shapes
|
||||
description: Optional scenario list for published-upgrade-survivor/update-migration; use reported-issues for known upgrade failure shapes
|
||||
required: false
|
||||
default: ""
|
||||
type: string
|
||||
@@ -442,7 +442,7 @@ jobs:
|
||||
fi
|
||||
releases_json=""
|
||||
npm_versions_json=""
|
||||
if [[ "$REQUESTED_BASELINES" == *"release-history"* ]]; then
|
||||
if [[ "$REQUESTED_BASELINES" == *"release-history"* || "$REQUESTED_BASELINES" == *"all-since-"* ]]; then
|
||||
releases_json=".artifacts/package-candidate-input/openclaw-releases.json"
|
||||
npm_versions_json=".artifacts/package-candidate-input/openclaw-npm-versions.json"
|
||||
mkdir -p "$(dirname "$releases_json")"
|
||||
|
||||
46
.github/workflows/update-migration.yml
vendored
Normal file
46
.github/workflows/update-migration.yml
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
name: Update Migration
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
workflow_ref:
|
||||
description: Trusted workflow/harness ref
|
||||
default: main
|
||||
required: true
|
||||
type: string
|
||||
package_ref:
|
||||
description: Branch, tag, or SHA to package as the update target
|
||||
default: main
|
||||
required: true
|
||||
type: string
|
||||
baselines:
|
||||
description: Published baselines to migrate; use all-since-2026.4.23 for full coverage
|
||||
default: all-since-2026.4.23
|
||||
required: true
|
||||
type: string
|
||||
scenarios:
|
||||
description: Update survivor scenarios
|
||||
default: plugin-deps-cleanup
|
||||
required: true
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
packages: write
|
||||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
update_migration:
|
||||
name: Update migration matrix
|
||||
uses: ./.github/workflows/package-acceptance.yml
|
||||
with:
|
||||
workflow_ref: ${{ inputs.workflow_ref }}
|
||||
source: ref
|
||||
package_ref: ${{ inputs.package_ref }}
|
||||
suite_profile: custom
|
||||
docker_lanes: update-migration
|
||||
published_upgrade_survivor_baselines: ${{ inputs.baselines }}
|
||||
published_upgrade_survivor_scenarios: ${{ inputs.scenarios }}
|
||||
telegram_mode: none
|
||||
secrets: inherit
|
||||
Reference in New Issue
Block a user