fix origin label
This commit is contained in:
parent
0827f9f9fb
commit
2c21aeb720
|
|
@ -75,9 +75,9 @@ Create the name of the service account to use
|
||||||
Touchin labels
|
Touchin labels
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "<CHARTNAME>.touchinLabels" -}}
|
{{- define "<CHARTNAME>.touchinLabels" -}}
|
||||||
{{- if .Values.docs.meta.pullRequestNumber }}
|
{{- if .Values.origin.pullRequestNumber }}
|
||||||
touchin.ru/origin: pr:{{ .Values.docs.meta.pullRequestNumber }}
|
touchin.ru/origin: pr:{{ .Values.origin.pullRequestNumber }}
|
||||||
{{- else if .Values.docs.meta.releaseBranch }}
|
{{- else if .Values.origin.releaseBranch }}
|
||||||
touchin.ru/origin: release:{{ .Values.docs.meta.releaseBranch }}
|
touchin.ru/origin: release:{{ .Values.origin.releaseBranch }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -103,9 +103,9 @@ Get db name
|
||||||
Touchin labels
|
Touchin labels
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "<CHARTNAME>.touchinLabels" -}}
|
{{- define "<CHARTNAME>.touchinLabels" -}}
|
||||||
{{- if .Values.docs.meta.pullRequestNumber }}
|
{{- if .Values.origin.pullRequestNumber }}
|
||||||
touchin.ru/origin: pr:{{ .Values.docs.meta.pullRequestNumber }}
|
touchin.ru/origin: pr:{{ .Values.origin.pullRequestNumber }}
|
||||||
{{- else if .Values.docs.meta.releaseBranch }}
|
{{- else if .Values.origin.releaseBranch }}
|
||||||
touchin.ru/origin: release:{{ .Values.docs.meta.releaseBranch }}
|
touchin.ru/origin: release:{{ .Values.origin.releaseBranch }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue