普通项目:
微服务:
declare -A service_name_map=( ["hoho-cloud-gateway"]="https://cs.console.aliyun.com/hook/trigger?token=w" ["hoho-common-message"]="https://cs.console.aliyun.com/hook/trigger?token=4" ["hoho-service-auth"]="https://cs.console.aliyun.com/hook/trigger?token=I" ["hoho-service-sysdata"]="https://cs.console.aliyun.com/hook/trigger?token=1" ["hoho-service-user"]="https://cs.console.aliyun.com/hook/trigger?token=8" ["hoho-service-game"]="https://cs.console.aliyun.com/hook/trigger?token=k" ["hoho-service-relationship"]="https://cs.console.aliyun.com/hook/trigger?token=o" ["hoho-service-content"]="https://cs.console.aliyun.com/hook/trigger?token=I" ["hoho-service-sns"]="https://cs.console.aliyun.com/hook/trigger?token=4" ["hoho-service-search"]="https://cs.console.aliyun.com/hook/trigger?token=uo" ["hoho-service-portal"]="https://cs.console.aliyun.com/hook/trigger?token=Y" ["hoho-api-app"]="https://cs.console.aliyun.com/hook/trigger?token=k" ["hoho-api-mng"]="https://cs.console.aliyun.com/hook/trigger?token=M" ["hoho-cloud-scheduler"]="https://cs.console.aliyun.com/hook/trigger?token=c" ["hoho-service-trade"]="https://cs.console.aliyun.com/hook/trigger?token=k" ) for service_name in $DEPLOY_LIST ; do echo "重新部署:${service_name}" curl ${service_name_map[$service_name]} done