answer/.gitlab-ci.yml

23 lines
581 B
YAML
Raw Normal View History

2022-09-27 17:59:05 +08:00
include:
- project: "segmentfault/devops/templates"
file: ".docker-build-push.yml"
- project: "segmentfault/devops/templates"
file: ".deploy-helm.yml"
stages:
- deploy-dev
"deploy-to-local-develop-environment":
stage: deploy-dev
extends: .deploy-helm
only:
2022-11-02 14:43:45 +08:00
- test
2022-09-27 17:59:05 +08:00
variables:
LoadBalancerIP: 10.0.10.98
KubernetesCluster: dev
KubernetesNamespace: "sf-web"
InstallArgs: --set service.loadBalancerIP=${LoadBalancerIP} --set image.tag=latest --set replicaCount=1 --set serivce.targetPort=80
2022-09-27 17:59:05 +08:00
ChartName: answer
InstallPolicy: replace