alicloud-acs-cluster-test

v2026.09.25

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

GitHub
Install command
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/.
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.25

Published

Sep 25, 2026

Category

Uncategorized

License

MIT

Source path

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

Default branch

main

Latest commit

1818263

Tree SHA

1da6a31