From 8259448f4929648cad31aa80404e82489081dfdc Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Tue, 6 Sep 2022 16:05:22 +0200 Subject: [PATCH] Quote all cypress values for proper yaml Closes: #1068 --- CHANGELOG.md | 6 ++++++ Chart.yaml | 2 +- templates/tests/cypress-test-nc-oo.yaml | 8 ++++---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4459a96..6572dc6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# Changelog + +## [0.10.28] - 2022-09-06 + +* Quote other COMMIT_INFO values to not screw up yaml + ## [0.10.23] - 2022-08-24 * Update Helm release rabbitmq to v10.3.1 diff --git a/Chart.yaml b/Chart.yaml index 8c564e48..49ecba44 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 description: | A helm chart for installing NextCloud and setting up ONLYOFFICE integration name: nextcloud-onlyoffice -version: 0.10.27 +version: 0.10.28 appVersion: NC-24.0.2-OO-7.1.1.23 icon: https://cdn.rawgit.com/docker-library/docs/defa5ffc7123177acd60ddef6e16bddf694cc35f/nextcloud/logo.svg dependencies: diff --git a/templates/tests/cypress-test-nc-oo.yaml b/templates/tests/cypress-test-nc-oo.yaml index 3844d6b6..37975f96 100644 --- a/templates/tests/cypress-test-nc-oo.yaml +++ b/templates/tests/cypress-test-nc-oo.yaml @@ -48,7 +48,7 @@ spec: key: {{ .Values.nextcloud.nextcloud.existingSecret.passwordKey | default "nextcloud-password" }} {{- end }} - name: CYPRESS_ONLYOFFICE_URL - value: {{ .Values.onlyoffice.server_name }} + value: "{{ .Values.onlyoffice.server_name }}" {{- if .Values.tests.cypress.projectId }} - name: CYPRESS_PROJECT_ID value: {{ .Values.tests.cypress.projectId }} @@ -60,15 +60,15 @@ spec: {{- if .Values.tests.cypress.commitInfo }} {{- if .Values.tests.cypress.commitInfo.branch }} - name: COMMIT_INFO_BRANCH - value: {{ .Values.tests.cypress.commitInfo.branch }} + value: "{{ .Values.tests.cypress.commitInfo.branch }}" {{- end }} {{- if .Values.tests.cypress.commitInfo.message }} - name: COMMIT_INFO_MESSAGE - value: {{ .Values.tests.cypress.commitInfo.message }} + value: "{{ .Values.tests.cypress.commitInfo.message }}" {{- end }} {{- if .Values.tests.cypress.commitInfo.author }} - name: COMMIT_INFO_AUTHOR - value: {{ .Values.tests.cypress.commitInfo.author }} + value: "{{ .Values.tests.cypress.commitInfo.author }}" {{- end }} {{- if .Values.tests.cypress.commitInfo.sha }} - name: COMMIT_INFO_SHA -- GitLab