DEVX-178: [BE] Разработать endpoint выдачи информации для подключении фейн-клиентов через gradle/maven
This commit is contained in:
parent
9c120f8593
commit
b25f3d2564
@ -122,6 +122,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: otp/devex
|
repository: otp/devex
|
||||||
path: 'helms'
|
path: 'helms'
|
||||||
|
- name: Deploy
|
||||||
|
run: |
|
||||||
|
pathToHelm='./helms/${{ github.event.inputs.repo_path }}'
|
||||||
|
releaseName=$(basename "$pathToHelm")
|
||||||
|
echo "Release Name: $releaseName"
|
||||||
|
helm upgrade --install "$releaseName" "$pathToHelm" \
|
||||||
|
--namespace devx \
|
||||||
|
--kubeconfig ./ku.yaml \
|
||||||
|
--create-namespace \
|
||||||
|
--set-string 'image.version=${{ github.event.inputs.version }}' \
|
||||||
|
--set-string 'image.name=images.binom.pw/otp/${{ github.event.inputs.repo_path }}' \
|
||||||
|
--set-string 'repository.name=${{ github.event.inputs.repo_path }}' \
|
||||||
|
--set-string 'repository.branch=${{ github.event.inputs.branch }}' \
|
||||||
|
--set "imagePullSecrets[0].name=regcred" \
|
||||||
|
--wait
|
||||||
- name: 'Cleanup'
|
- name: 'Cleanup'
|
||||||
if: always()
|
if: always()
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user