Skip to content
Snippets Groups Projects
Unverified Commit 72480e03 authored by Varac's avatar Varac
Browse files

Set CYPRESS_PROJECT_ID from env var

parent a6842df7
No related branches found
No related tags found
No related merge requests found
Pipeline #25540 failed with stages
in 2 minutes and 9 seconds
......@@ -60,7 +60,7 @@ install-helmrelease:
- sed -i "s/files-cert/files-cert-nc$CI_MERGE_REQUEST_IID/" values-ci.yaml
- sed -i "s/office-cert/office-cert-nc$CI_MERGE_REQUEST_IID/" values-ci.yaml
- |
echo -e "tests:\n cypress:\n recordKey: $CYPRESS_RECORD_KEY" >> values-ci.yaml
echo -e "tests:\n cypress:\n projectId: $CYPRESS_PROJECT_ID\n recordKey: $CYPRESS_RECORD_KEY" >> values-ci.yaml
- time kubectl delete namespace "nc$CI_MERGE_REQUEST_IID" || true
- time helm install --create-namespace -n nc$CI_MERGE_REQUEST_IID --wait "nc$CI_MERGE_REQUEST_IID" . -f values-ci.yaml
environment:
......
......@@ -3,8 +3,8 @@ apiVersion: v2
description: |
A helm chart for installing NextCloud and setting up ONLYOFFICE integration
name: nextcloud-onlyoffice
version: 0.10.17
appVersion: NC-23.0.3-OO-7.0.1.37
version: 0.10.18
appVersion: NC-24.0.2-OO-7.1.1.23
icon: https://cdn.rawgit.com/docker-library/docs/defa5ffc7123177acd60ddef6e16bddf694cc35f/nextcloud/logo.svg
dependencies:
# https://artifacthub.io/packages/helm/nextcloud/nextcloud
......
const { defineConfig } = require("cypress");
module.exports = defineConfig({
projectId: 'ctgfgm',
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
......
......@@ -49,6 +49,8 @@ spec:
{{- end }}
- name: CYPRESS_ONLYOFFICE_URL
value: {{ .Values.onlyoffice.server_name }}
- name: CYPRESS_PROJECT_ID
value: {{ .Values.tests.cypress.projectId }}
- name: CYPRESS_RECORD_KEY
value: {{ .Values.tests.cypress.recordKey }}
- name: INSTALLED_APPS
......
......@@ -226,6 +226,7 @@ tests:
key: userbackend_admin_password
namespace: flux-system
cypress:
# Set record key if cypress screenshots and videos should be uploaded
# Set project ID and record key if cypress screenshots and videos should be uploaded
# to the cypress dashboard
projectId: ""
recordKey: ""
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