Public Access
ci(e2e): align Playwright runtime image to 1.61.1
CICD / Production Images Complete (push) Blocked by required conditions
CICD / Production Image Failures Postmortem (push) Blocked by required conditions
CICD / Runtime Black-Box Integration Tests (push) Blocked by required conditions
CICD / Integration Tests Failure Postmortem (push) Blocked by required conditions
CICD / End-to-End Tests (push) Blocked by required conditions
CICD / E2E Tests Failure Postmortem (push) Blocked by required conditions
CICD / Promote Staging Images To Release (push) Blocked by required conditions
CICD / Build and Push CICD Images (push) Successful in 37m39s
CICD / Build CICD Image Failure Postmortem (push) Has been skipped
CICD / Dependency Audits (Informational) (push) Successful in 4m13s
CICD / Source Checks (push) Successful in 7m34s
CICD / Source Lanes Failure Postmortem (push) Has been skipped
CICD / CICD Tests Complete (push) Successful in 5s
CICD / Build Release Images (push) Successful in 4m37s
CICD / Build Tester Images (push) Has been cancelled
CICD / Production Images Complete (push) Blocked by required conditions
CICD / Production Image Failures Postmortem (push) Blocked by required conditions
CICD / Runtime Black-Box Integration Tests (push) Blocked by required conditions
CICD / Integration Tests Failure Postmortem (push) Blocked by required conditions
CICD / End-to-End Tests (push) Blocked by required conditions
CICD / E2E Tests Failure Postmortem (push) Blocked by required conditions
CICD / Promote Staging Images To Release (push) Blocked by required conditions
CICD / Build and Push CICD Images (push) Successful in 37m39s
CICD / Build CICD Image Failure Postmortem (push) Has been skipped
CICD / Dependency Audits (Informational) (push) Successful in 4m13s
CICD / Source Checks (push) Successful in 7m34s
CICD / Source Lanes Failure Postmortem (push) Has been skipped
CICD / CICD Tests Complete (push) Successful in 5s
CICD / Build Release Images (push) Successful in 4m37s
CICD / Build Tester Images (push) Has been cancelled
This commit is contained in:
@@ -324,8 +324,8 @@ jobs:
|
|||||||
|
|
||||||
docker_login_with_retry 5 3
|
docker_login_with_retry 5 3
|
||||||
|
|
||||||
PLAYWRIGHT_BROWSERS_MIRROR_TAG="${GITEA_REGISTRY}/darkhelm.org/playwright-browsers:v1.56.1-jammy"
|
PLAYWRIGHT_BROWSERS_MIRROR_TAG="${GITEA_REGISTRY}/darkhelm.org/playwright-browsers:v1.61.1-jammy"
|
||||||
PLAYWRIGHT_BROWSERS_UPSTREAM_TAG="mcr.microsoft.com/playwright:v1.56.1-jammy"
|
PLAYWRIGHT_BROWSERS_UPSTREAM_TAG="mcr.microsoft.com/playwright:v1.61.1-jammy"
|
||||||
PLAYWRIGHT_BROWSERS_LOCAL_TAG="$(./scripts/resolve-mirrored-image.sh \
|
PLAYWRIGHT_BROWSERS_LOCAL_TAG="$(./scripts/resolve-mirrored-image.sh \
|
||||||
--image "${PLAYWRIGHT_BROWSERS_MIRROR_TAG}" \
|
--image "${PLAYWRIGHT_BROWSERS_MIRROR_TAG}" \
|
||||||
--mirror-image "${PLAYWRIGHT_BROWSERS_MIRROR_TAG}" \
|
--mirror-image "${PLAYWRIGHT_BROWSERS_MIRROR_TAG}" \
|
||||||
@@ -1442,8 +1442,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
PLAYWRIGHT_BASE_IMAGE_MIRROR="${GITEA_REGISTRY}/darkhelm.org/playwright-browsers:v1.56.1-jammy"
|
PLAYWRIGHT_BASE_IMAGE_MIRROR="${GITEA_REGISTRY}/darkhelm.org/playwright-browsers:v1.61.1-jammy"
|
||||||
PLAYWRIGHT_BASE_IMAGE_UPSTREAM="mcr.microsoft.com/playwright:v1.56.1-jammy"
|
PLAYWRIGHT_BASE_IMAGE_UPSTREAM="mcr.microsoft.com/playwright:v1.61.1-jammy"
|
||||||
|
|
||||||
docker_login_with_retry() {
|
docker_login_with_retry() {
|
||||||
attempts="${1:-5}"
|
attempts="${1:-5}"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ remote_code_template = """
|
|||||||
mirror_pairs = [
|
mirror_pairs = [
|
||||||
("ACT_UBUNTU", "ghcr.io/catthehacker/ubuntu:act-latest", "kankali.darkhelm.lan:3001/darkhelm.org/act-ubuntu:act-latest"),
|
("ACT_UBUNTU", "ghcr.io/catthehacker/ubuntu:act-latest", "kankali.darkhelm.lan:3001/darkhelm.org/act-ubuntu:act-latest"),
|
||||||
("RENOVATE", "ghcr.io/renovatebot/renovate:41", "kankali.darkhelm.lan:3001/darkhelm.org/renovate:41"),
|
("RENOVATE", "ghcr.io/renovatebot/renovate:41", "kankali.darkhelm.lan:3001/darkhelm.org/renovate:41"),
|
||||||
("PLAYWRIGHT", "mcr.microsoft.com/playwright:v1.56.1-jammy", "kankali.darkhelm.lan:3001/darkhelm.org/playwright-browsers:v1.56.1-jammy"),
|
("PLAYWRIGHT", "mcr.microsoft.com/playwright:v1.61.1-jammy", "kankali.darkhelm.lan:3001/darkhelm.org/playwright-browsers:v1.61.1-jammy"),
|
||||||
]
|
]
|
||||||
|
|
||||||
is_publisher = __IS_PUBLISHER__
|
is_publisher = __IS_PUBLISHER__
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ export DEPLOYABLE_FRONTEND_IMAGE="${DEPLOYABLE_FRONTEND_IMAGE:-plex-playlist-fro
|
|||||||
export DB_PASSWORD="${DB_PASSWORD:-plex_password}"
|
export DB_PASSWORD="${DB_PASSWORD:-plex_password}"
|
||||||
export DB_URL="${DB_URL:-postgresql://plex_user:${DB_PASSWORD}@database:5432/plex_playlist}"
|
export DB_URL="${DB_URL:-postgresql://plex_user:${DB_PASSWORD}@database:5432/plex_playlist}"
|
||||||
export E2E_ARTIFACT_DIR="${E2E_ARTIFACT_DIR:-${ROOT_DIR}/frontend/.playwright-artifacts}"
|
export E2E_ARTIFACT_DIR="${E2E_ARTIFACT_DIR:-${ROOT_DIR}/frontend/.playwright-artifacts}"
|
||||||
|
export PLAYWRIGHT_E2E_IMAGE="${PLAYWRIGHT_E2E_IMAGE:-mcr.microsoft.com/playwright:v1.61.1-jammy}"
|
||||||
|
|
||||||
cleanup() {
|
cleanup() {
|
||||||
docker compose -p "${PROJECT_NAME}" -f "${COMPOSE_FILE}" down -v --remove-orphans >/dev/null 2>&1 || true
|
docker compose -p "${PROJECT_NAME}" -f "${COMPOSE_FILE}" down -v --remove-orphans >/dev/null 2>&1 || true
|
||||||
@@ -23,6 +24,7 @@ echo "Running E2E tests against runtime backend/frontend images via compose"
|
|||||||
echo "DEPLOYABLE_BACKEND_IMAGE=${DEPLOYABLE_BACKEND_IMAGE}"
|
echo "DEPLOYABLE_BACKEND_IMAGE=${DEPLOYABLE_BACKEND_IMAGE}"
|
||||||
echo "DEPLOYABLE_FRONTEND_IMAGE=${DEPLOYABLE_FRONTEND_IMAGE}"
|
echo "DEPLOYABLE_FRONTEND_IMAGE=${DEPLOYABLE_FRONTEND_IMAGE}"
|
||||||
echo "E2E_ARTIFACT_DIR=${E2E_ARTIFACT_DIR}"
|
echo "E2E_ARTIFACT_DIR=${E2E_ARTIFACT_DIR}"
|
||||||
|
echo "PLAYWRIGHT_E2E_IMAGE=${PLAYWRIGHT_E2E_IMAGE}"
|
||||||
|
|
||||||
docker compose -p "${PROJECT_NAME}" -f "${COMPOSE_FILE}" up -d database backend frontend
|
docker compose -p "${PROJECT_NAME}" -f "${COMPOSE_FILE}" up -d database backend frontend
|
||||||
|
|
||||||
@@ -34,5 +36,5 @@ docker run --rm \
|
|||||||
-e PLAYWRIGHT_JUNIT_OUTPUT_FILE=/tmp/playwright-artifacts/playwright-results.xml \
|
-e PLAYWRIGHT_JUNIT_OUTPUT_FILE=/tmp/playwright-artifacts/playwright-results.xml \
|
||||||
-v "${ROOT_DIR}/frontend:/workspace/frontend" \
|
-v "${ROOT_DIR}/frontend:/workspace/frontend" \
|
||||||
-v "${E2E_ARTIFACT_DIR}:/tmp/playwright-artifacts" \
|
-v "${E2E_ARTIFACT_DIR}:/tmp/playwright-artifacts" \
|
||||||
mcr.microsoft.com/playwright:v1.56.1-jammy \
|
"${PLAYWRIGHT_E2E_IMAGE}" \
|
||||||
bash -lc "cd /workspace/frontend && corepack enable && yarn install --immutable && yarn test:e2e --reporter=list --timeout=90000"
|
bash -lc "cd /workspace/frontend && corepack enable && yarn install --immutable && yarn test:e2e --reporter=list --timeout=90000"
|
||||||
|
|||||||
Reference in New Issue
Block a user