Skip to content
Snippets Groups Projects
Commit d5070012 authored by Arie Peterson's avatar Arie Peterson
Browse files

Use yaml literal style for some env variables, to allow '" quotes

parent 0c44baca
No related branches found
No related tags found
1 merge request!327Use yaml literal style for some env variables, to allow '" quotes
......@@ -62,11 +62,17 @@ spec:
{{- end }}
{{- if .Values.tests.cypress.commitInfo.message }}
- name: COMMIT_INFO_MESSAGE
value: "{{ .Values.tests.cypress.commitInfo.message }}"
# Use yaml literal style, so we can have quotes in the string.
# Newlines might not be safe to include, but unlike the name suggests
# in Stackspin we set this value to only the commit title.
value: |
{{ .Values.tests.cypress.commitInfo.message }}
{{- end }}
{{- if .Values.tests.cypress.commitInfo.author }}
- name: COMMIT_INFO_AUTHOR
value: "{{ .Values.tests.cypress.commitInfo.author }}"
# Use yaml literal style, so we can have quotes in the string.
value: |
{{ .Values.tests.cypress.commitInfo.author }}
{{- end }}
{{- if .Values.tests.cypress.commitInfo.sha }}
- name: COMMIT_INFO_SHA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment