add-integ-tests-sourcedb-to-spanner
GitHub该技能用于自动化执行 SourceDB 到 Spanner 的数据迁移集成测试。它作为元测试编排器的包装器,接收源数据库名称、数据类型映射矩阵和环境配置等输入,并调用底层编排器运行冒烟和 datatype 测试场景。
Trigger Scenarios
Install
npx skills add GoogleCloudPlatform/DataflowTemplates --skill add-integ-tests-sourcedb-to-spanner -g -y
SKILL.md
Frontmatter
{
"name": "add-integ-tests-sourcedb-to-spanner",
"description": "Specific runner skill that delegates to the Template-Agnostic Meta-Test Orchestrator for the sourcedb-to-spanner (Bulk) template."
}
SourceDB-to-Spanner Testing Orchestrator
This is a specific runner skill that acts as a wrapper around the global meta-test-orchestrator skill.
Required Prompt Inputs
- Target Source Database Name
- Reference Datatype Mapping Matrix File Path
- Testing Environment Setup Path (e.g.
testing_execution.env)
[!IMPORTANT] Initialization Check: If ANY of the required prompt inputs are missing from the user's prompt, or if the environment config file does not exist, you MUST HALT EXECUTION IMMEDIATELY. Ask the user to provide the missing inputs before proceeding.
Execution Instructions
You must immediately load and execute the v2/spanner-common/.agents/skills/meta-test-orchestrator/SKILL.md skill, passing it the following statically mapped parameters:
- Target Source Database Name: Extract from the user prompt.
- Reference Datatype Mapping Matrix File Path: Extract from the user prompt.
- Testing Environment Setup Path: Extract from the user prompt and assert its presence.
- Manifest File Path:
v2/sourcedb-to-spanner/src/test/manifest.yaml. - Target Template Path:
v2/sourcedb-to-spanner - Smoke Test Scenarios:
bulk-simple - Datatype Test Scenarios:
bulk-datatypes,bulk-datatypes-pg
Yield execution completely to the meta-test-orchestrator. Instruct the Orchestrator to begin using these parameters.
Example User Prompt
Please run the add-integ-tests-sourcedb-to-spanner skill for the MySQL database.
Use the reference matrix located at v2/sourcedb-to-spanner/src/test/resources/mysql/mysql_datatype_mapping_matrix.csv load the execution properties from testing_execution.env.
Version History
- a764362 Current 2026-08-20 05:08


