-
Notifications
You must be signed in to change notification settings - Fork 1.1k
81 lines (73 loc) · 4.66 KB
/
create-repository-dispatch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: Create Repository Dispatch
on:
release:
types:
released
jobs:
createRepositoryDispatch:
runs-on: ubuntu-latest
steps:
- name: "Trigger Repository Dispatch - yugabyte/terraform-gcp-yugabyte"
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/yugabyte/terraform-gcp-yugabyte/dispatches \
--data '{"event_type": "build-on-release", "client_payload":
{"prerelease": "${{ github.event.release.prerelease }}",
"release": "${{github.event.release.tag_name}}" } }'
- name: "Trigger Repository Dispatch - yugabyte/terraform-aws-yugabyte"
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/yugabyte/terraform-aws-yugabyte/dispatches \
--data '{"event_type": "build-on-release", "client_payload":
{"prerelease": "${{ github.event.release.prerelease }}",
"release": "${{github.event.release.tag_name}}" } }'
- name: "Trigger Repository Dispatch - yugabyte/terraform-azure-yugabyte"
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/yugabyte/terraform-azure-yugabyte/dispatches \
--data '{"event_type": "build-on-release", "client_payload":
{"prerelease": "${{ github.event.release.prerelease }}",
"release": "${{github.event.release.tag_name}}" } }'
- name: "Trigger Repository Dispatch - yugabyte/azure-resource-manager"
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/yugabyte/azure-resource-manager/dispatches \
--data '{"event_type": "build-on-release", "client_payload":
{"prerelease": "${{ github.event.release.prerelease }}",
"release": "${{github.event.release.tag_name}}" } }'
- name: "Trigger Repository Dispatch - yugabyte/gcp-deployment-manager"
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/yugabyte/gcp-deployment-manager/dispatches \
--data '{"event_type": "build-on-release", "client_payload":
{"prerelease": "${{ github.event.release.prerelease }}",
"release": "${{github.event.release.tag_name}}" } }'
- name: "Trigger Repository Dispatch - yugabyte/aws-cloudformation"
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/yugabyte/aws-cloudformation/dispatches \
--data '{"event_type": "build-on-release", "client_payload":
{"prerelease": "${{ github.event.release.prerelease }}",
"release": "${{github.event.release.tag_name}}" } }'
- name: "Trigger Repository Dispatch - yugabyte/homebrew-tap"
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/yugabyte/homebrew-tap/dispatches \
--data '{"event_type": "update-on-release", "client_payload":
{"prerelease": "${{ github.event.release.prerelease }}",
"release": "${{github.event.release.tag_name}}" } }'
- name: "Trigger Repository Dispatch - yugabyte/yugabyte-operator"
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/yugabyte/yugabyte-operator/dispatches \
--data '{"event_type": "update-on-release", "client_payload":
{"prerelease": "${{ github.event.release.prerelease }}",
"release": "${{github.event.release.tag_name}}" }}'