fixed frontend tests #710

Merged
tech merged 1 commits from cicd-709 into main 2026-03-11 10:57:28 +00:00
2 changed files with 4 additions and 1 deletions

View File

@@ -57,7 +57,8 @@ steps:
image: ghcr.io/cirruslabs/flutter:stable image: ghcr.io/cirruslabs/flutter:stable
depends_on: [ version ] depends_on: [ version ]
commands: commands:
- set -euo pipefail 2>/dev/null || set -eu - set -eu
- set -o pipefail 2>/dev/null || true
- flutter --version - flutter --version
- (cd frontend/pshared && flutter pub get && flutter test) - (cd frontend/pshared && flutter pub get && flutter test)
- (cd frontend/pweb && flutter pub get && flutter test) - (cd frontend/pweb && flutter pub get && flutter test)

View File

@@ -130,6 +130,8 @@ services:
WOODPECKER_AGENT_SECRET_FILE: "/vault/secrets/agent_secret" WOODPECKER_AGENT_SECRET_FILE: "/vault/secrets/agent_secret"
# Docker backend for steps # Docker backend for steps
WOODPECKER_BACKEND: "docker" WOODPECKER_BACKEND: "docker"
# Agent display name
WOODPECKER_HOSTNAME: "infra-builder"
# Attach all step containers to a stable bridge network (created outside the stack) # Attach all step containers to a stable bridge network (created outside the stack)
WOODPECKER_BACKEND_DOCKER_NETWORK: "wp-ci" WOODPECKER_BACKEND_DOCKER_NETWORK: "wp-ci"
# Concurrency limit # Concurrency limit