Commit c883d5b7 authored by Administrator's avatar Administrator

更新build.yml

parent 356cc825
......@@ -18,7 +18,7 @@ stages:
- docker build -t ${image} --no-cache .
- docker push ${image}
- docker image prune -f
- python3 /home/ubuntu/k8s-template/deployment.py --appArgs=${springprofile} --appname=${k8sappname} --port=${port} --hostNetwork=${hostNetwork} --nodeName=${nodeName} --image=${image} --replicas=${replicas} > deployment.yaml
- python3 /home/ubuntu/k8s-template/deployment.py --recreate=${recreate} --appArgs=${springprofile} --appname=${k8sappname} --port=${port} --hostNetwork=${hostNetwork} --nodeName=${nodeName} --image=${image} --replicas=${replicas} > deployment.yaml
- kubectl apply -f deployment.yaml
test_build:
......
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