You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(webhook): Support multiple arrays of tags is matchers. (#2736)
* feat(multi-runner): Support multiple arrays of tags in matchers
* Run ci for webhook
* fix terraform type
* fix formatting
* fix terraform type
* fix terraform type
* fix: some fixes.
* fix: readme.
* fix example workflow labes
* add test for multiple label match
* add test for multiple label match
Co-authored-by: navdeepg2021 <[email protected]>
Copy file name to clipboardExpand all lines: examples/multi-runner/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
This module shows how to create GitHub action runners with multiple runner configuration together in one deployment. This example has the configurations for the following runner types with the relevant labels supported by them as matchers:
4
4
5
5
- Linux ARM64 `["self-hosted", "linux", "arm64", "amazon"]`
6
-
- Linux Ubuntu `["self-hosted", "linux", "x64", "ubuntu"]`
6
+
- Linux Ubuntu `["self-hosted", "linux", "x64", "ubuntu-latest"]` or `["self-hosted", "linux", "x64", "ubuntu-2204"]``
7
7
- Linux X64 `["self-hosted", "linux", "x64", "amazon"]`
8
8
- Windows X64 `["self-hosted", "windows", "x64", "servercore-2022"]`
pool_config: "The configuration for updating the pool. The `pool_size` to adjust to by the events triggered by the `schedule_expression`. For example you can configure a cron expression for week days to adjust the pool to 10 and another expression for the weekend to adjust the pool to 1."
166
166
}
167
167
matcherConfig: {
168
-
labelMatchers: "The list of labels supported by the runner configuration."
168
+
labelMatchers: "The list of list of labels supported by the runner configuration. `[[self-hosted, linux, x64, example]]`"
169
169
exactMatch: "If set to true all labels in the workflow job must match the GitHub labels (os, architecture and `self-hosted`). When false if __any__ workflow label matches it will trigger the webhook."
170
170
}
171
171
fifo: "Enable a FIFO queue to remain the order of events received by the webhook. Suggest to set to true for repo level runners."
0 commit comments