Misc tools for "devops" in Aliyun (Alibaba Cloud).
Checks the status of the Image Acceleration process of a Function Compute container, after you updated the function with a new container (from the Personal Edition of the ECS, for instance). It presents an indicator while the image is preparing.
It takes these parameters:
- -f <function> the FC function name. Required.
- -s <service> the FC service name. Required.
- -t <seconds> the time in seconds between checks. Optional. Default: 2 seconds.
Examples:
python3 check-function-acceleration-status.py -s MyCoolService -f wipe-data
python3 check-function-acceleration-status.py -s MyCoolService -f restore-backup -t 5
See the source code for dependencies.