DEVX-200: [BE] Унифицировать понятие версии сервиса

This commit is contained in:
2026-04-07 18:04:17 +03:00
parent 4739e6756d
commit 32fc3c4022
8 changed files with 37 additions and 5 deletions
+12 -1
View File
@@ -9,6 +9,15 @@ on:
options:
- devspc/devspace-selfkit-ui
default: devspc/devspace-selfkit-ui
namespace:
description: 'Name Space'
required: true
type: choice
options:
- devx
- test
- prod
default: devx
branch:
description: 'Ветка'
required: true
@@ -113,7 +122,7 @@ jobs:
releaseName=$(basename "$pathToHelm")
echo "Release Name: $releaseName"
helm upgrade --install "$releaseName" "$pathToHelm" \
--namespace devx \
--namespace ${{ github.event.inputs.namespace }} \
--kubeconfig ./ku.yaml \
--create-namespace \
--set-string 'image.version=${{ github.event.inputs.version }}' \
@@ -121,6 +130,8 @@ jobs:
--set-string 'repository.name=${{ github.event.inputs.repo_path }}' \
--set-string 'repository.branch=${{ github.event.inputs.branch }}' \
--set "imagePullSecrets[0].name=regcred" \
-f devspc/${{ github.event.inputs.namespace }}/values.yaml \
-f devspc/values.yaml \
--wait
- name: 'Cleanup'
if: always()