Use .nvmrc for determining the node image used for E2E tests (#24446)

* Use .nvmrc for determining the node image used for E2E tests

* Rename E2E rundir from /app to /cypress for consistency
Этот коммит содержится в:
Mario Vitale
2023-09-05 21:32:23 +02:00
коммит произвёл GitHub
родитель 0338ec8fdc
Коммит 77fa1c5824
3 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@@ -7,6 +7,7 @@ export MME2E_UID=$(id -u)
# Default the optional variables that are used in the docker-compose file
export SERVER_IMAGE_DEFAULT="mattermostdevelopment/mm-ee-test:$(git rev-parse --short=7 HEAD)"
export SERVER_IMAGE=${SERVER_IMAGE:-$SERVER_IMAGE_DEFAULT}
export NODE_VERSION_REQUIRED=$(cat ../../.nvmrc)
# Function definitions
mme2e_log () { echo "[$(date +%Y-%m-%dT%H:%M:%S%Z)]" "$@"; }