unit tests verify signature

This commit is contained in:
2025-02-12 15:38:32 +01:00
parent e37bec02c2
commit cc1767e0d0
4 changed files with 57 additions and 22 deletions

View File

@ -1,12 +1,11 @@
run: clean build
run: test clean build
podman pod create --name=e2ee -p 3333:3333
podman run -d --pod=e2ee -e POSTGRES_PASSWORD="password" -e POSTGRES_DB="e2ee" -e POSTGRES_USER="e2ee" -e POSTGRES_INITDB_ARGS="--encoding=UTF-8 --lc-collate=C --lc-ctype=C" --name=e2ee-db docker.io/library/postgres:15
podman run -d --pod=e2ee -e POSTGRES_PASSWORD="password" -e POSTGRES_DB="e2ee" -e POSTGRES_USER="e2ee" -e SHARED_SECRET="toto" --name=e2ee-app e2ee-messaging-service:latest
build:
podman build -t e2ee-messaging-service .
test:
curl http://localhost:3333
podman logs e2ee
npm test
clean:
podman pod rm -f e2ee