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
6 changes: 5 additions & 1 deletion .github/actions/check-browsers/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ runs:
using: composite
steps:
# Both Node's readiness probe and Chromium use the deployment fixture.
# Cloudflare supplies a read-only hosts mount, so bind this job's copy
# Some runners supply a read-only hosts mount, so bind this job's copy
# only inside an unprivileged namespace; retain all browser assertions.
- name: Check browsers with local deployment names
if: runner.os == 'Linux'
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y bubblewrap
# GitHub-hosted Ubuntu 24.04 lets AppArmor refuse unprivileged user namespaces, which bwrap needs.
if [[ "$(sysctl -n kernel.apparmor_restrict_unprivileged_userns 2>/dev/null)" == 1 ]]; then
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
fi
cp /etc/hosts "$RUNNER_TEMP/ra-hosts"
printf '\n127.0.0.1 app.localhost www.app.localhost\n' >> "$RUNNER_TEMP/ra-hosts"
namespace=(bwrap --bind / / --proc /proc --dev /dev --ro-bind "$RUNNER_TEMP/ra-hosts" /etc/hosts)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
tag:
name: Tag version bump
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push'
runs-on: hraness-cf
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
jobs:
check:
name: Check
runs-on: hraness-cf
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

browser:
name: Browser (${{ matrix.os }}, playwright-core ${{ matrix.playwright }})
runs-on: ${{ contains(fromJSON('["ubuntu-latest","ubuntu-24.04","ubuntu-slim"]'), matrix.os) && 'hraness-cf' || matrix.os }}
runs-on: ${{ contains(fromJSON('["ubuntu-latest","ubuntu-24.04","ubuntu-slim"]'), matrix.os) && 'ubuntu-24.04' || matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
name: Required
if: always()
needs: [check, browser]
runs-on: hraness-cf
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Require every blocking job
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ concurrency:
jobs:
build:
name: Build Pages artifact
runs-on: hraness-cf
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
Expand All @@ -43,7 +43,7 @@ jobs:
deploy:
name: Deploy
needs: build
runs-on: hraness-cf
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
pages: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
jobs:
verify:
name: Verify
runs-on: hraness-cf
runs-on: ubuntu-24.04
timeout-minutes: 30
outputs:
verified_tag: ${{ steps.identity.outputs.tag }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
needs: verify
permissions:
contents: write
runs-on: hraness-cf
runs-on: ubuntu-24.04
timeout-minutes: 10
env:
GH_REPO: ${{ github.repository }}
Expand Down
Loading