Use internal Playwright mirror for E2E tester builds
Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 27s
CICD / Build and Push CICD Image (push) Successful in 27m29s
CICD / Build CICD Image Failure Postmortem (push) Has been skipped
CICD / Backend Tests (push) Successful in 8m54s
CICD / Backend Doctests (push) Successful in 17s
CICD / Pre-commit Checks (push) Successful in 18m40s
CICD / Frontend Tests (push) Failing after 13m59s
CICD / CICD Tests Complete (push) Has been cancelled
CICD / Build Backend Base Image (push) Has been cancelled
CICD / Build Frontend Base Image (push) Has been cancelled
CICD / Build Integration Tester Image (push) Has been cancelled
CICD / Build E2E Tester Image (push) Has been cancelled
CICD / Build and Publish Runtime Images (Legacy Disabled) (push) Has been cancelled
CICD / Build Backend Main Image (push) Has been cancelled
CICD / Build Frontend Main Image (push) Has been cancelled
CICD / Production Images Complete (push) Has been cancelled
CICD / Runtime Images Failure Postmortem (push) Has been cancelled
CICD / Source Lanes Failure Postmortem (push) Has been cancelled
CICD / Runtime Black-Box Integration Tests (push) Has been cancelled
CICD / Integration Tests Failure Postmortem (push) Has been cancelled
CICD / End-to-End Tests (push) Has been cancelled
CICD / E2E Tests Failure Postmortem (push) Has been cancelled
Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 27s
CICD / Build and Push CICD Image (push) Successful in 27m29s
CICD / Build CICD Image Failure Postmortem (push) Has been skipped
CICD / Backend Tests (push) Successful in 8m54s
CICD / Backend Doctests (push) Successful in 17s
CICD / Pre-commit Checks (push) Successful in 18m40s
CICD / Frontend Tests (push) Failing after 13m59s
CICD / CICD Tests Complete (push) Has been cancelled
CICD / Build Backend Base Image (push) Has been cancelled
CICD / Build Frontend Base Image (push) Has been cancelled
CICD / Build Integration Tester Image (push) Has been cancelled
CICD / Build E2E Tester Image (push) Has been cancelled
CICD / Build and Publish Runtime Images (Legacy Disabled) (push) Has been cancelled
CICD / Build Backend Main Image (push) Has been cancelled
CICD / Build Frontend Main Image (push) Has been cancelled
CICD / Production Images Complete (push) Has been cancelled
CICD / Runtime Images Failure Postmortem (push) Has been cancelled
CICD / Source Lanes Failure Postmortem (push) Has been cancelled
CICD / Runtime Black-Box Integration Tests (push) Has been cancelled
CICD / Integration Tests Failure Postmortem (push) Has been cancelled
CICD / End-to-End Tests (push) Has been cancelled
CICD / E2E Tests Failure Postmortem (push) Has been cancelled
This commit is contained in:
@@ -864,9 +864,9 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
PLAYWRIGHT_BASE_IMAGE="mcr.microsoft/playwright:v1.56.1-jammy"
|
||||
PLAYWRIGHT_BASE_IMAGE="${GITEA_REGISTRY}/darkhelm.org/playwright-browsers:v1.56.1-jammy"
|
||||
|
||||
retry_pull_with_dns_probe() {
|
||||
retry_base_pull() {
|
||||
image_ref="$1"
|
||||
attempts="${2:-6}"
|
||||
backoff="${3:-5}"
|
||||
@@ -875,13 +875,13 @@ jobs:
|
||||
while [ "${attempt}" -le "${attempts}" ]; do
|
||||
echo "base pull attempt ${attempt}/${attempts} for ${image_ref}"
|
||||
|
||||
if getent hosts mcr.microsoft >/dev/null 2>&1; then
|
||||
echo "mcr.microsoft DNS resolution: ok"
|
||||
if getent hosts "${GITEA_REGISTRY_HOST}" >/dev/null 2>&1; then
|
||||
echo "${GITEA_REGISTRY_HOST} DNS resolution: ok"
|
||||
else
|
||||
echo "mcr.microsoft DNS resolution: failed"
|
||||
echo "${GITEA_REGISTRY_HOST} DNS resolution: failed"
|
||||
fi
|
||||
|
||||
timeout 10 curl -fsSIL "https://mcr.microsoft/v2/" >/dev/null || true
|
||||
timeout 10 curl -fsSIL "https://${GITEA_REGISTRY}/v2/" >/dev/null || true
|
||||
|
||||
if docker pull "${image_ref}"; then
|
||||
return 0
|
||||
@@ -932,8 +932,10 @@ jobs:
|
||||
E2E_TESTER_REPO="${GITEA_REGISTRY}/darkhelm.org/plex-playlist-e2e"
|
||||
E2E_TESTER_TAG_REF="${E2E_TESTER_REPO}:${HEAD_SHA}"
|
||||
|
||||
retry_pull_with_dns_probe "${PLAYWRIGHT_BASE_IMAGE}" 6 5
|
||||
DOCKER_BUILDKIT=0 docker build --pull=false -f Dockerfile.e2e-tester -t plex-playlist-e2e:"${HEAD_SHA}" .
|
||||
retry_base_pull "${PLAYWRIGHT_BASE_IMAGE}" 6 5
|
||||
DOCKER_BUILDKIT=0 docker build --pull=false -f Dockerfile.e2e-tester \
|
||||
--build-arg PLAYWRIGHT_BASE_IMAGE="${PLAYWRIGHT_BASE_IMAGE}" \
|
||||
-t plex-playlist-e2e:"${HEAD_SHA}" .
|
||||
docker tag plex-playlist-e2e:"${HEAD_SHA}" "${E2E_TESTER_TAG_REF}"
|
||||
|
||||
retry_registry_op push "${E2E_TESTER_TAG_REF}" 5 4
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
FROM mcr.microsoft/playwright:v1.56.1-jammy
|
||||
ARG PLAYWRIGHT_BASE_IMAGE=mcr.microsoft/playwright:v1.56.1-jammy
|
||||
FROM ${PLAYWRIGHT_BASE_IMAGE}
|
||||
|
||||
WORKDIR /workspace/frontend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user