diff --git a/build/Jenkinsfile b/build/Jenkinsfile index ca933e7..4992120 100644 --- a/build/Jenkinsfile +++ b/build/Jenkinsfile @@ -167,6 +167,7 @@ parallelSteps["worker"] = { "--set deployment.resources.requests.memory=${ buildVars.app.mem }Mi", "--set deployment.resources.limits.cpu=${ buildVars.app.cpu }m", "--set deployment.resources.limits.memory=${ buildVars.app.mem }Mi", + "--set version=${ version }", "--set deployment.image.tag=${ version }", "--set stand=${ buildVars.gitBranch }" diff --git a/build/helm/templates/deployment.yaml b/build/helm/templates/deployment.yaml index 74f7a0d..9272a81 100644 --- a/build/helm/templates/deployment.yaml +++ b/build/helm/templates/deployment.yaml @@ -17,6 +17,7 @@ spec: labels: app: '{{ .Chart.Name }}' stand: '{{ .Values.stand }}' + version: '{{ .Values.version }}' contragentCode: 'WZ01112' billingObject: 'None' spec: diff --git a/build/helm/values.yaml b/build/helm/values.yaml index 7deab5f..76056dd 100644 --- a/build/helm/values.yaml +++ b/build/helm/values.yaml @@ -1,5 +1,6 @@ # Пример для DEV сборки stand: dev +version: "NONE" deployment: image: