dump-lxd-remotes does not produce a usable yaml file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Auto Package Testing |
Fix Released
|
Undecided
|
Skia |
Bug Description
I wanted to set the `n-workers` value for the autopkgtest-
autopkgtest-
n-workers:
" lcy02:\n amd64: 65\n bos01:\n arm64: 20\n ppc64el: 20\n s390x: 20\n bos02:\n arm64: 20\n ppc64el: 20\n s390x: 22\n bos03:\n arm64: 25"
Manipulating the output of the juju config to produce something like this seems rather hard, so maybe there is another format that would work? I actually looked at canonical-
dump-lxd-remotes needs fixing to produce something usable be it ugly or beautiful. Additionally, it would be lovely if we use the same script to dump the n-workers ... something like yaml-dump autopkgtest-
Related branches
- Brian Murray: Approve
- Tim Andersson: Needs Fixing
-
Diff: 45 lines (+29/-3)2 files modifiedmojo/dump-lxd-remotes (+1/-3)
mojo/yaml-dump (+28/-0)
Changed in auto-package-testing: | |
status: | New → In Progress |
assignee: | nobody → Skia (hyask) |
If you haven't seen it the launchpad page for the mojo specs is at https:/ /code.launchpad .net/~canonical -is/canonical- mojo-specs/ trunk .