8714-devToTest #1547

Merged
alexm merged 712 commits from 8714-devToTest into test 2025-03-04 14:08:01 +00:00
2 changed files with 25 additions and 5 deletions
Showing only changes of commit e9a9c4bcef - Show all commits

View File

@ -41,4 +41,4 @@ COPY public public
# RUN npx quasar build
CMD ["npx", "quasar", "dev"]
CMD ["npx", "cypress", "run"]

28
e2e.sh
View File

@ -1,10 +1,30 @@
git clone --branch dev https://gitea.verdnatura.es/verdnatura/salix.git
cd front
export VERSION=e2e-try
# docker buildx build -f salix/back/Dockerfile -t back ./salix
# pnpm i @verdnatura/myt
# cd salix && npx myt run -t --ci -d -n front_default
# docker run --net=host -v ./test/cypress/storage:/salix/storage -d back
export SHELL=/bin/sh
export ENV=~/.profile
touch ~/.profile
apk add --no-cache curl
apk add --no-cache ca-certificates
update-ca-certificates
curl -fsSL https://nodejs.org/dist/v20.18.1/node-v20.18.1.tar.gz -o node.tar.gz
tar -xzf node.tar.gz -C /usr/local --strip-components=1
apk add --no-cache python3 make gcc g++ libgcc libstdc++ linux-headers musl-dev
./configure
make -j$(nproc)
make install
curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.15.1 sh -
# DB
pnpm i @verdnatura/myt
cd salix && npx myt run -t --ci -d -n front_default
# Back
docker buildx build -f salix/back/Dockerfile -t back ./salix
docker run --net=host -v ./test/cypress/storage:/salix/storage -d back
# docker-compose -f docker-compose.e2e.yml -d up front
# docker-compose -f docker-compose.e2e.yml up e2e --build