Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr-multisig-v1-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
shell: bash
run: |
for i in 1 2 3; do
docker pull node:20-alpine && break
docker pull node:22-slim && break
echo "Pull attempt $i failed, retrying in 30s..."
sleep 30
done
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr-playwright-browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
CI_WALLET_TYPES: "legacy,hierarchical,sdk"
CI_NUM_REQUIRED_SIGNERS: "2"
CI_TRANSFER_LOVELACE: ${{ github.event_name == 'workflow_dispatch' && inputs.transfer_lovelace || '2000000' }}
CI_DREP_ANCHOR_URL: ${{ secrets.CI_DREP_ANCHOR_URL }}
CI_DREP_ANCHOR_JSON: ${{ secrets.CI_DREP_ANCHOR_JSON }}
CI_STAKE_POOL_ID_HEX: ${{ secrets.CI_STAKE_POOL_ID_HEX }}

steps:
- name: Checkout repository
Expand All @@ -50,6 +53,8 @@ jobs:
[[ -n "$CI_MNEMONIC_2" ]] || missing+=("CI_MNEMONIC_2")
[[ -n "$CI_MNEMONIC_3" ]] || missing+=("CI_MNEMONIC_3")
[[ -n "$CI_BLOCKFROST_PREPROD_API_KEY" ]] || missing+=("CI_BLOCKFROST_PREPROD_API_KEY")
[[ -n "$CI_DREP_ANCHOR_JSON" ]] || missing+=("CI_DREP_ANCHOR_JSON")
[[ -n "$CI_STAKE_POOL_ID_HEX" ]] || missing+=("CI_STAKE_POOL_ID_HEX")
if [[ "${#missing[@]}" -gt 0 ]]; then
echo "Missing required secrets: ${missing[*]}"
echo "Set these in repo settings before running the Playwright browser workflow."
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.playwright
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app
# Install app dependencies (needed for @meshsdk/* imports in Phase 2 helpers).
COPY package.json package-lock.json* ./
COPY prisma ./prisma
RUN npm ci
RUN npm ci --fetch-retries=5 --fetch-retry-mintimeout=20000 --fetch-retry-maxtimeout=120000

# Install Chromium and its system dependencies.
RUN npx playwright install chromium --with-deps
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ services:
CI_ROUTE_SCENARIOS: ${CI_ROUTE_SCENARIOS:-}
CI_ROUTE_CHAIN_REPORT_PATH: ${CI_ROUTE_CHAIN_REPORT_PATH:-/artifacts/ci-route-chain-report.md}
CI_CONTEXT_PATH: ${CI_CONTEXT_PATH:-/tmp/ci-wallet-context.json}
CI_RUN_WALLET_STATUS: ${CI_RUN_WALLET_STATUS:-false}
CI_DREP_ANCHOR_URL: ${CI_DREP_ANCHOR_URL:-}
CI_DREP_ANCHOR_JSON: ${CI_DREP_ANCHOR_JSON:-}
CI_STAKE_POOL_ID_HEX: ${CI_STAKE_POOL_ID_HEX:-}
Expand All @@ -94,7 +95,7 @@ services:
sh -c "
status=0;
node .ci-dist/bootstrap.mjs || status=$$?;
if [ \"$$status\" -eq 0 ]; then node .ci-dist/wallet-status.mjs || status=$$?; fi;
if [ \"$$status\" -eq 0 ] && [ \"$${CI_RUN_WALLET_STATUS:-false}\" = \"true\" ]; then node .ci-dist/wallet-status.mjs || status=$$?; fi;
if [ \"$$status\" -eq 0 ]; then node .ci-dist/route-chain.mjs || status=$$?; fi;
rm -f \"${CI_CONTEXT_PATH:-/tmp/ci-wallet-context.json}\";
exit \"$$status\"
Expand Down
5 changes: 5 additions & 0 deletions docker-compose.playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ services:
CI_MNEMONIC_3: ${CI_MNEMONIC_3:-}
CI_BLOCKFROST_PREPROD_API_KEY: ${CI_BLOCKFROST_PREPROD_API_KEY:-}
CI_WALLET_TYPES: ${CI_WALLET_TYPES:-legacy,hierarchical,sdk}
CI_STAKE_POOL_ID_HEX: ${CI_STAKE_POOL_ID_HEX:-}
CI_CONTEXT_PATH: /artifacts/ci-wallet-context.json
depends_on:
app:
Expand Down Expand Up @@ -123,6 +124,10 @@ services:
CI_MNEMONIC_3: ${CI_MNEMONIC_3:-}
CI_BLOCKFROST_PREPROD_API_KEY: ${CI_BLOCKFROST_PREPROD_API_KEY:-}
CI_TRANSFER_LOVELACE: ${CI_TRANSFER_LOVELACE:-2000000}
# Fallback for specs when the bootstrap context predates stakePoolIdHex.
CI_STAKE_POOL_ID_HEX: ${CI_STAKE_POOL_ID_HEX:-}
CI_DREP_ANCHOR_URL: ${CI_DREP_ANCHOR_URL:-}
CI_DREP_ANCHOR_JSON: ${CI_DREP_ANCHOR_JSON:-}
PLAYWRIGHT_HTML_REPORT: /artifacts/playwright-report
PLAYWRIGHT_OUTPUT_DIR: /artifacts/playwright-traces
depends_on:
Expand Down
Loading
Loading