Loading .gitlab-ci.yml +3 −1 Original line number Diff line number Diff line Loading @@ -973,7 +973,9 @@ e2e: after_script: - bash e2e/scripts/teardown.sh --sha="${CI_COMMIT_SHORT_SHA}" -y artifacts: when: on_failure when: always paths: - e2e/diagnostics/ reports: junit: e2e/diagnostics/junit.xml expire_in: 3 days e2e/charts/e2e-bootstrap/templates/secrets.yaml +17 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,23 @@ stringData: --- apiVersion: v1 kind: Secret metadata: name: gitlab-gitlab-initial-root-password namespace: {{ .Values.namespaces.gitlab }} type: Opaque stringData: password: {{ .Values.secrets.gitlabRootPass | quote }} --- apiVersion: v1 kind: Secret metadata: name: gitlab-root-credentials type: Opaque stringData: password: {{ .Values.secrets.gitlabRootPass | quote }} --- apiVersion: v1 kind: Secret metadata: name: gkg-secrets type: Opaque Loading e2e/charts/e2e-bootstrap/values.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,4 @@ secrets: chDatalakePass: "" chGraphPass: "" chGraphReadPass: "" gitlabRootPass: "" e2e/charts/robot-runner/templates/job.yaml +10 −4 Original line number Diff line number Diff line Loading @@ -17,15 +17,21 @@ spec: pip install --quiet --disable-pip-version-check --root-user-action=ignore \ robotframework=={{ .Values.robotframework.version }} \ robotframework-requests=={{ .Values.robotframework.requestsVersion }} && robot --outputdir /tmp/results --consolecolors off --exitonfailure /tests/ robot --outputdir /tmp/results --xunit /tmp/results/xunit.xml \ --consolecolors off --exitonfailure /tests/ RC=$? echo "---XUNIT_REPORT_START---" cat /tmp/results/xunit.xml 2>/dev/null echo "---XUNIT_REPORT_END---" exit $RC env: - name: GITLAB_URL value: "http://gitlab-webservice-default.{{ .Values.namespaces.gitlab }}.svc.cluster.local:8181" - name: GITLAB_PAT - name: GITLAB_ROOT_PASSWORD valueFrom: secretKeyRef: name: {{ .Values.credentialsSecret }} key: gitlab-pat name: {{ .Values.rootCredentialsSecret }} key: password volumeMounts: - name: tests mountPath: /tests Loading e2e/charts/robot-runner/values.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -17,5 +17,5 @@ namespaces: gkg: "" configMap: e2e-robot-tests credentialsSecret: e2e-test-credentials rootCredentialsSecret: gitlab-root-credentials ttlSecondsAfterFinished: 600 Loading
.gitlab-ci.yml +3 −1 Original line number Diff line number Diff line Loading @@ -973,7 +973,9 @@ e2e: after_script: - bash e2e/scripts/teardown.sh --sha="${CI_COMMIT_SHORT_SHA}" -y artifacts: when: on_failure when: always paths: - e2e/diagnostics/ reports: junit: e2e/diagnostics/junit.xml expire_in: 3 days
e2e/charts/e2e-bootstrap/templates/secrets.yaml +17 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,23 @@ stringData: --- apiVersion: v1 kind: Secret metadata: name: gitlab-gitlab-initial-root-password namespace: {{ .Values.namespaces.gitlab }} type: Opaque stringData: password: {{ .Values.secrets.gitlabRootPass | quote }} --- apiVersion: v1 kind: Secret metadata: name: gitlab-root-credentials type: Opaque stringData: password: {{ .Values.secrets.gitlabRootPass | quote }} --- apiVersion: v1 kind: Secret metadata: name: gkg-secrets type: Opaque Loading
e2e/charts/e2e-bootstrap/values.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -11,3 +11,4 @@ secrets: chDatalakePass: "" chGraphPass: "" chGraphReadPass: "" gitlabRootPass: ""
e2e/charts/robot-runner/templates/job.yaml +10 −4 Original line number Diff line number Diff line Loading @@ -17,15 +17,21 @@ spec: pip install --quiet --disable-pip-version-check --root-user-action=ignore \ robotframework=={{ .Values.robotframework.version }} \ robotframework-requests=={{ .Values.robotframework.requestsVersion }} && robot --outputdir /tmp/results --consolecolors off --exitonfailure /tests/ robot --outputdir /tmp/results --xunit /tmp/results/xunit.xml \ --consolecolors off --exitonfailure /tests/ RC=$? echo "---XUNIT_REPORT_START---" cat /tmp/results/xunit.xml 2>/dev/null echo "---XUNIT_REPORT_END---" exit $RC env: - name: GITLAB_URL value: "http://gitlab-webservice-default.{{ .Values.namespaces.gitlab }}.svc.cluster.local:8181" - name: GITLAB_PAT - name: GITLAB_ROOT_PASSWORD valueFrom: secretKeyRef: name: {{ .Values.credentialsSecret }} key: gitlab-pat name: {{ .Values.rootCredentialsSecret }} key: password volumeMounts: - name: tests mountPath: /tests Loading
e2e/charts/robot-runner/values.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -17,5 +17,5 @@ namespaces: gkg: "" configMap: e2e-robot-tests credentialsSecret: e2e-test-credentials rootCredentialsSecret: gitlab-root-credentials ttlSecondsAfterFinished: 600