DEVX-191: Разработать Kubernetus сервис
This commit is contained in:
@@ -95,6 +95,8 @@ jobs:
|
|||||||
--set-string 'image.name=images.binom.pw/otp/devspc/${{ github.event.inputs.repo_path }}' \
|
--set-string 'image.name=images.binom.pw/otp/devspc/${{ github.event.inputs.repo_path }}' \
|
||||||
--set-string 'repository.name=devspc/${{ github.event.inputs.repo_path }}' \
|
--set-string 'repository.name=devspc/${{ github.event.inputs.repo_path }}' \
|
||||||
--set-string 'repository.branch=${{ github.event.inputs.branch }}' \
|
--set-string 'repository.branch=${{ github.event.inputs.branch }}' \
|
||||||
|
--set-string 'deploy.author.login=${{ github.actor }}' \
|
||||||
|
--set-string "deploy.date=$(date +%s)" \
|
||||||
--set "imagePullSecrets[0].name=regcred" \
|
--set "imagePullSecrets[0].name=regcred" \
|
||||||
-f ./helms/devspc/stands/values.yaml \
|
-f ./helms/devspc/stands/values.yaml \
|
||||||
-f ./helms/devspc/stands/${{ github.event.inputs.namespace }}/values.yaml \
|
-f ./helms/devspc/stands/${{ github.event.inputs.namespace }}/values.yaml \
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion QA: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{$.Release.Name}}-{{$.Chart.Name}}"
|
name: "{{$.Release.Name}}-{{$.Chart.Name}}"
|
||||||
annotations:
|
annotations:
|
||||||
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
||||||
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
||||||
|
devspace.isb/deploy-author: {{ $.Values.deploy.author.login | quote }}
|
||||||
|
devspace.isb/deploy-date: {{ $.Values.deploy.date | quote }}
|
||||||
rollme: {{ .Release.Revision | quote }}
|
rollme: {{ .Release.Revision | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- if $.Values.labels}}
|
{{- if $.Values.labels}}
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
||||||
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
||||||
|
devspace.isb/deploy-author: {{ $.Values.deploy.author.login | quote }}
|
||||||
|
devspace.isb/deploy-date: {{ $.Values.deploy.date | quote }}
|
||||||
rollme: {{ .Release.Revision | quote }}
|
rollme: {{ .Release.Revision | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- if $.Values.labels}}
|
{{- if $.Values.labels}}
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
||||||
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
||||||
|
devspace.isb/deploy-author: {{ $.Values.deploy.author.login | quote }}
|
||||||
|
devspace.isb/deploy-date: {{ $.Values.deploy.date | quote }}
|
||||||
rollme: {{ .Release.Revision | quote }}
|
rollme: {{ .Release.Revision | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- if $.Values.labels}}
|
{{- if $.Values.labels}}
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
||||||
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
||||||
|
devspace.isb/deploy-author: {{ $.Values.deploy.author.login | quote }}
|
||||||
|
devspace.isb/deploy-date: {{ $.Values.deploy.date | quote }}
|
||||||
rollme: {{ .Release.Revision | quote }}
|
rollme: {{ .Release.Revision | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- if $.Values.labels}}
|
{{- if $.Values.labels}}
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
devspace.isb/name: {{ $.Values.repository.name | quote }}
|
||||||
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
devspace.isb/branch: {{ $.Values.repository.branch | quote }}
|
||||||
|
devspace.isb/deploy-author: {{ $.Values.deploy.author.login | quote }}
|
||||||
|
devspace.isb/deploy-date: {{ $.Values.deploy.date | quote }}
|
||||||
rollme: {{ .Release.Revision | quote }}
|
rollme: {{ .Release.Revision | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- if $.Values.labels}}
|
{{- if $.Values.labels}}
|
||||||
|
|||||||
@@ -4,4 +4,8 @@ integrations:
|
|||||||
core:
|
core:
|
||||||
url: 'http://devspace-apiregistry-core-service-core:8080'
|
url: 'http://devspace-apiregistry-core-service-core:8080'
|
||||||
generator:
|
generator:
|
||||||
url: 'http://devspace-apiregistry-generator-service-generator:8080'
|
url: 'http://devspace-apiregistry-generator-service-generator:8080'
|
||||||
|
deploy:
|
||||||
|
author:
|
||||||
|
login: ''
|
||||||
|
date: ''
|
||||||
Reference in New Issue
Block a user