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"
|
2023-02-08 17:23:49 +08:00
|
|
|
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
|
|
|
|
|