This repository has been archived on 2025-10-08. You can view files and clone it, but cannot push or open issues or pull requests.
miniauthold/.woodpecker/playwright.yaml
kekskurse b513f517d8
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/playwright Pipeline failed
ci/woodpecker/push/deplyoment unknown status
chore: ci
2025-03-17 18:31:37 +01:00

48 lines
1.2 KiB
YAML

when:
- event: push
branch: main
depends_on:
- test
services:
- name: miniauth
image: git.keks.cloud/kekskurse/miniauth:${CI_COMMIT_SHA}
ports:
- 8080
environment:
WEB_PUBLIC_REGISTRATION: 1
USERSTORE_SQLITE_PATH: file:/tmp/miniauth.db
steps:
- name: playwright
image: mcr.microsoft.com/playwright:v1.50.0
commands:
- cd playwright
- cp playwright.config.js.ci playwright.config.js
- npm install
- npx playwright install
- npx playwright test
- name: debug
image: alpine:latest
commands:
- ls -lah playwright/
- ls -lah playwright/playwright-report
- ls -lah playwright/test-results
when:
- status: [ success, failure ]
- name: upload logs on failuer
image: woodpeckerci/plugin-s3
settings:
acl: public-read
bucket: kekskurse-woodpecker-debug
source: playwright/test-results/**/*
target: ${CI_COMMIT_SHA}/test-results/
endpoint: https://s3.eu-central-003.backblazeb2.com
access_key:
from_secret: b2_access_key_id
secret_key:
from_secret: b2_secret_access_key
when:
- status: [ failure ]