This commit is contained in:
Elio Bischof
2024-10-16 19:15:19 +02:00
parent 77fb366044
commit 76430e1628
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
name: Acceptance Tests
on: pull_request
env:
ZITADEL_DEV_UID: root
jobs:
acceptance-tests:
timeout-minutes: 60
@@ -11,6 +13,8 @@ jobs:
node-version: lts/*
- name: Run Docker Compose and Install Dependencies in Parallel
run: |
cat /etc/passwd
echo "Start docker-compose in the background"
docker compose -f ./acceptance/docker-compose.yaml run setup &
DOCKER_COMPOSE_PID=$!

View File

@@ -1,6 +1,6 @@
services:
zitadel:
user: "${USER}"
user: "${ZITADEL_DEV_UID}"
image: "${ZITADEL_IMAGE:-ghcr.io/zitadel/zitadel:latest}"
command: 'start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled --config /zitadel.yaml --steps /zitadel.yaml'
ports:
@@ -42,7 +42,7 @@ services:
- zitadel
setup:
user: "${USER}"
user: "${ZITADEL_DEV_UID}"
container_name: setup
build: .
environment: