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
Copy file name to clipboardExpand all lines: docs/bot.md
+47-15Lines changed: 47 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,13 +66,18 @@ should be issued by posting a comment in the pull request (see also [here](addin
66
66
The most basic build instruction that can be sent to the bot is:
67
67
68
68
```
69
-
bot: build
69
+
bot: build for:arch=<for_arch>
70
70
```
71
71
72
-
!!! warning
73
-
Only use `bot: build` if you are confident that it is OK to do so.
72
+
Where the `for_arch` could be e.g. `x64_64/amd/zen4`. This will trigger the bot to allocate a node of that type _and_
73
+
build in the `/cvmfs/software.eessi.io/versions/<eessi-version>/software/linux/x86_64/amd/zen4` prefix.
74
74
75
-
Most likely, you want to supply one or more filters to avoid that the bot builds for all its configurations.
75
+
!!! note
76
+
The `for:` (and `on:`, see below) argument to the bot were introduced in bot version 0.9.0. They replace the `architecture=... accelerator=...` syntax used in bot versions <= v0.8.0.
77
+
78
+
!!! warning
79
+
Most likely, you want to supply one or more filters to avoid that all bots are triggered to build for all
80
+
configurations that match the above command.
76
81
77
82
### Filters
78
83
@@ -81,13 +86,14 @@ should be executed, based on:
81
86
82
87
-`instance`: the `name` of the bot instance, for example `instance:aws` for the bot instance running in AWS;
83
88
-`repository`: the target repository, for example `eessi-2023.06-software` which corresponds to the 2023.06 version of the EESSI software layer;
84
-
-`architecture`: the name of the [CPU microarchitecture](software_layer/cpu_targets.md), for example `x86_64/amd/zen2`;
89
+
-`on:architecture=<on_arch>,accelerator=<on_accelerator>`: the name of the [CPU microarchitecture](software_layer/cpu_targets.md) and GPU accelerator you want to build _on_, for example `on:architecture=x86_64/amd/zen4,accelerator=nvidia/cc90`;
90
+
-`for:architecture=<for_arch>,accelerator=<for_accelerator>`: the name of the [CPU microarchitecture](software_layer/cpu_targets.md) and GPU accelerator you want to build _for_, for example `for:architecture=x86_64/amd/zen4,accelerator=nvidia/cc90`;
85
91
86
92
!!! note
87
-
Use `:` as separator to specify a value for a particular filter, do not add spaces after the `:`.
93
+
Use `:` as separator to specify a value for a particular argument, do not add spaces after the `:`.
88
94
89
95
The bot recognizes shorthands for the supported filters, so you can use `inst:...` instead of `instance:...`,
90
-
`repo:...` instead of `repository:...`, and `arch:...` instead of `architecture:...`.
96
+
`repo:...` instead of `repository:...`, and `arch=...` instead of `architecture=...`, and `accel=` instead of `accelerator`.
91
97
92
98
#### Combining filters
93
99
@@ -97,7 +103,7 @@ Separate filters with a space, order of filters does not matter.
0 commit comments