Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ryan/build test driver revision #981

Draft
wants to merge 5 commits into
base: webreplay-release
Choose a base branch
from
Draft
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/build-test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ const clobberInput = process.env.INPUT_CLOBBER;
console.log("Clobber", clobberInput);
const clobber = clobberInput == "true";

const replayRevision = getLatestReplayRevision();
const replayRevision = '13484038b925'; // getLatestReplayRevision();
const unmergedPlaywrightRevision = getLatestPlaywrightRevision();

const driverRevision = process.env.INPUT_DRIVER_REVISION;

const mergePlaywrightTask = newTask(
`Merge into playwright branch`,
{
Expand Down Expand Up @@ -43,6 +45,7 @@ function platformTasks(platform) {
kind: "BuildRuntime",
runtime: "gecko",
revision: replayRevision,
driverRevision,
clobber,
},
platform
Expand All @@ -54,6 +57,7 @@ function platformTasks(platform) {
kind: "StaticLiveTests",
runtime: "gecko",
revision: replayRevision,
driverRevision,
},
platform,
[buildReplayTask]
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
description: "Build the browser from scratch"
type: boolean
required: false
driver_revision:
description: "Driver revision to use, if not the latest"
required: false
push:
branches:
- webreplay-release
Expand All @@ -26,12 +29,13 @@ jobs:
with:
ref: replay-playwright
- uses: actions/checkout@v2
with:
ref: webreplay-release
# with:
# ref: webreplay-release
- uses: ./.github/actions/build-test
env:
BUILD_TEST_AUTHORIZATION: ${{ secrets.BUILD_TEST_AUTHORIZATION }}
BUILD_TEST_HOSTNAME: a49855c191a944333918aea7ad31bc76-6a8a830d89921d8a.elb.us-east-2.amazonaws.com
BUILD_TEST_PORT: ${{ secrets.BUILD_TEST_PORT }}
BUILD_TEST_INSECURE: ${{ secrets.BUILD_TEST_INSECURE }}
INPUT_CLOBBER: ${{ github.event.inputs.clobber }}
INPUT_DRIVER_REVISION: ${{ github.event.inputs.driver_revision }}
Loading