From c16416671d9ee0f5bd120256f4ece61164b56442 Mon Sep 17 00:00:00 2001 From: Tibor Dancs Date: Thu, 8 Jun 2023 13:26:29 +0000 Subject: [PATCH] Adding prod-che-smoke-test.yaml pod description --- .ci/resources/pod-che-smoke-test.yaml | 78 +++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 .ci/resources/pod-che-smoke-test.yaml diff --git a/.ci/resources/pod-che-smoke-test.yaml b/.ci/resources/pod-che-smoke-test.yaml new file mode 100644 index 0000000000..534cbe4562 --- /dev/null +++ b/.ci/resources/pod-che-smoke-test.yaml @@ -0,0 +1,78 @@ +apiVersion: v1 +kind: Pod +metadata: + name: happy-path-che + namespace: CHE-NAMESPACE +spec: + volumes: + - name: test-run-results + - name: ffmpeg-video + - name: dshm + emptyDir: + medium: Memory + containers: + # container containing the tests + - name: happy-path-test + image: quay.io/eclipse/che-e2e:next + imagePullPolicy: Always + env: + - name: VIDEO_RECORDING + value: true + - name: TEST_SUITE + value: 'test-all-devfiles' + - name: TS_SELENIUM_EDITOR + value: 'che-code' + - name: USERSTORY + value: 'SmokeTest' + - name: NODE_TLS_REJECT_UNAUTHORIZED + value: '0' + - name: TS_SELENIUM_BASE_URL + value: CHE_URL + - name: TS_SELENIUM_MULTIUSER + value: 'true' + - name: TS_SELENIUM_LOG_LEVEL + value: TRACE + - name: TS_SELENIUM_OCP_USERNAME + value: 'happypath-dev' + - name: TS_SELENIUM_OCP_PASSWORD + value: "dev" + - name: TS_SELENIUM_VALUE_OPENSHIFT_OAUTH + value: 'true' + - name: TS_OCP_LOGIN_PAGE_PROVIDER_TITLE + value: "dev-htpasswd" + - name: DELETE_WORKSPACE_ON_FAILED_TEST + value: "true" + - name: TS_SELENIUM_START_WORKSPACE_TIMEOUT + value: '360000' + - name: TS_IDE_LOAD_TIMEOUT + value: '40000' + volumeMounts: + - name: test-run-results + mountPath: /tmp/e2e/report/ + - name: ffmpeg-video + mountPath: /tmp/ffmpeg_report/ + - name: dshm + mountPath: /dev/shm + resources: + requests: + memory: "3Gi" + cpu: "2" + limits: + memory: "4Gi" + cpu: "2" + # Download results + - name: download-reports + image: eeacms/rsync + imagePullPolicy: IfNotPresent + volumeMounts: + - name: test-run-results + mountPath: /tmp/e2e/report/ + - name: ffmpeg-video + mountPath: /tmp/ffmpeg_report/ + command: ["sh"] + args: + [ + "-c", + "while true; if [[ -f /tmp/done ]]; then exit 0; fi; do sleep 1; done", + ] + restartPolicy: Never \ No newline at end of file