mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
devops: use repository dispatch to trigger builds for all applications (#5104)
This commit is contained in:
parent
86775f06d9
commit
a370443a8a
@ -7,7 +7,7 @@ on:
|
|||||||
- release-*
|
- release-*
|
||||||
paths:
|
paths:
|
||||||
- browser_patches/chromium/BUILD_NUMBER
|
- browser_patches/chromium/BUILD_NUMBER
|
||||||
- .github/workflows/trigger_chromium_build.yml
|
- .github/workflows/trigger_build_chromium.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
trigger:
|
trigger:
|
24
.github/workflows/trigger_build_ffmpeg.yml
vendored
Normal file
24
.github/workflows/trigger_build_ffmpeg.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: "FFMPEG Builder"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- release-*
|
||||||
|
paths:
|
||||||
|
- browser_patches/ffmpeg/BUILD_NUMBER
|
||||||
|
- .github/workflows/trigger_build_ffmpeg.yml
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger:
|
||||||
|
name: "trigger"
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
|
-H "Authorization: token ${GH_TOKEN}" \
|
||||||
|
--data '{"event_type": "build_ffmpeg"}' \
|
||||||
|
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|
24
.github/workflows/trigger_build_firefox.yml
vendored
Normal file
24
.github/workflows/trigger_build_firefox.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: "Firefox Builder"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- release-*
|
||||||
|
paths:
|
||||||
|
- browser_patches/firefox/BUILD_NUMBER
|
||||||
|
- .github/workflows/trigger_build_firefox.yml
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger:
|
||||||
|
name: "trigger"
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
|
-H "Authorization: token ${GH_TOKEN}" \
|
||||||
|
--data '{"event_type": "build_firefox"}' \
|
||||||
|
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|
24
.github/workflows/trigger_build_webkit.yml
vendored
Normal file
24
.github/workflows/trigger_build_webkit.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: "WebKit Builder"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- release-*
|
||||||
|
paths:
|
||||||
|
- browser_patches/webkit/BUILD_NUMBER
|
||||||
|
- .github/workflows/trigger_build_webkit.yml
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger:
|
||||||
|
name: "trigger"
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
|
-H "Authorization: token ${GH_TOKEN}" \
|
||||||
|
--data '{"event_type": "build_webkit"}' \
|
||||||
|
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|
24
.github/workflows/trigger_build_winldd.yml
vendored
Normal file
24
.github/workflows/trigger_build_winldd.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: "WinLDD Builder"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- release-*
|
||||||
|
paths:
|
||||||
|
- browser_patches/winldd/BUILD_NUMBER
|
||||||
|
- .github/workflows/trigger_build_winldd.yml
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger:
|
||||||
|
name: "trigger"
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
|
-H "Authorization: token ${GH_TOKEN}" \
|
||||||
|
--data '{"event_type": "build_winldd"}' \
|
||||||
|
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|
Loading…
Reference in New Issue
Block a user