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
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0338ec8fdc
Коммит
77fa1c5824
@@ -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)]" "$@"; }
|
||||
|
||||
Ссылка в новой задаче
Block a user