devops: use repository dispatch to trigger builds for all applications (#5104)
This commit is contained in:
Родитель
86775f06d9
Коммит
a370443a8a
|
@ -7,7 +7,7 @@ on:
|
|||
- release-*
|
||||
paths:
|
||||
- browser_patches/chromium/BUILD_NUMBER
|
||||
- .github/workflows/trigger_chromium_build.yml
|
||||
- .github/workflows/trigger_build_chromium.yml
|
||||
|
||||
jobs:
|
||||
trigger:
|
|
@ -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 }}
|
|
@ -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 }}
|
|
@ -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 }}
|
|
@ -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 }}
|
Загрузка…
Ссылка в новой задаче