alicloud-acs-cluster-test

v2026.09.25

Offline smoke test for the ACS cluster lifecycle skill and its mutation previews.

GitHub
安装命令
npx skhub add cinience/alicloud-acs-cluster-test
Markdown
SKILL.md

ACS cluster skill smoke test

Offline checks

mkdir -p output/alicloud-acs-cluster-test
python3 tests/common/compile_skill_scripts.py \
  --skill-path skills/compute/acs/alicloud-acs-cluster \
  --output output/alicloud-acs-cluster-test/compile-check.json
python3 skills/compute/acs/alicloud-acs-cluster/scripts/acs_cluster.py create \
  --region cn-hangzhou --name codex-acs-sandbox \
  --vpc-id vpc-dryrun --vswitch-id vsw-a --vswitch-id vsw-b \
  --service-cidr 172.21.0.0/20 --snat --public-api \
  --enterprise-security-group --deletion-protection \
  --addon managed-coredns \
  --addon alb-ingress-controller --dry-run \
  --output output/alicloud-acs-cluster-test/create-preview.json
python3 skills/compute/acs/alicloud-acs-cluster/scripts/acs_cluster.py delete \
  --region cn-hangzhou --cluster-id c-dryrun \
  --confirm-cluster-id c-dryrun --delete-associated --dry-run \
  --output output/alicloud-acs-cluster-test/delete-preview.json
python3 skills/compute/acs/alicloud-acs-cluster/scripts/acs_cluster.py install-addon \
  --region cn-hangzhou --cluster-id c-dryrun \
  --addon-name managed-coredns --dry-run \
  --output output/alicloud-acs-cluster-test/addon-install-preview.json
python3 skills/compute/acs/alicloud-acs-cluster/scripts/acs_cluster.py uninstall-addon \
  --region cn-hangzhou --cluster-id c-dryrun \
  --confirm-cluster-id c-dryrun --addon-name managed-coredns \
  --confirm-addon managed-coredns --cleanup-cloud-resources --dry-run \
  --output output/alicloud-acs-cluster-test/addon-uninstall-preview.json
python3 scripts/quick_validate.py skills/compute/acs/alicloud-acs-cluster \
  > output/alicloud-acs-cluster-test/validation.txt

Pass criteria

  • Compilation and skill validation succeed.
  • The create preview contains profile=Acs, two VSwitches, SNAT, public API access, enterprise security group, deletion protection, managed CoreDNS, and ALB ingress addons.
  • The delete preview retains nothing by default when --delete-associated is explicitly selected and lists the documented associated-resource types.
  • Addon install/uninstall previews contain no addon configuration and uninstall requires exact cluster and addon confirmations.
  • No live API call is made and no credential is required.
  • Evidence is saved under output/alicloud-acs-cluster-test/.
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.25

发布时间

2026年9月25日

分类

未分类

许可证

MIT

源路径

tests/compute/acs/alicloud-acs-cluster-test

默认分支

main

最新提交

1818263

Tree SHA

1da6a31