diff options
| author | Viktor Kronvall <viktor.kronvall@gmail.com> | 2021-04-22 21:23:52 +0900 |
|---|---|---|
| committer | Viktor Kronvall <viktor.kronvall@gmail.com> | 2021-04-22 21:23:52 +0900 |
| commit | c01046b022329000c28e0b48b773e0d1b18d68fc (patch) | |
| tree | d9d9b4d4b1d43d266089694fdd74a61ad8f0ca5b /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | f29292db76356bfbd02dceb2ca795f67b68d2be6 (diff) | |
services.buildkite-agents: support multi-tags
The buildkite agent supports multiple tags with the same key. This
functionality is used to have a [single agent listen on multiple
queues](https://buildkite.com/docs/agent/v3/queues#setting-an-agents-queue).
However, having the tags be of type `attrsOf str` means that
we cannot suport this use case. This commit modifies the type
of tags to be `attrsOf (either str (listOf str))` where the list
is expanded into multiple tags with the same key.
Example:
```
{tags = {queue = ["default", "testing"];};}
```
generates
```
tags="queue=default,queue=testing"
```
in the buildkite agent configuration.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
