Commit 5603b82a by 据说甜蜜呢

添加脚本

parent 0f057ee2
Pipeline #4288 passed with stage
in 15 seconds
......@@ -41,6 +41,7 @@ function CD()
# repository name must be lowercase
ToLower "${registryHost}/${registryUserName}/${serviceName}:${version}" imagefullname
ToLower ${appName} appNameOfK8s
echo "Tips: namespace: ${namespace}, appNameOfK8s: ${appNameOfK8s}, imagefullname: ${imagefullname}"
kubectl -n ${namespace} set image deployments/${appNameOfK8s} "${appNameOfK8s}=${imagefullname}";
# [compatible]Staging environment does not need to change version number.
......
......@@ -18,7 +18,8 @@ then
else
GetVersion version
GetNameSpace namespace
GetImageRegistrySettings registryHost registryUserName
GetRegistryHost registryHost
GetImageUserName registryUserName
for servicePrefix in `ls ./src/Services|xargs -d '/'`
do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment